1
0
forked from pool/glusterfs
Jan Engelhardt 2012-10-31 12:27:28 +00:00 committed by Git OBS Bridge
parent be3641934f
commit 56bab027bd
6 changed files with 52 additions and 54 deletions

8
glusterd.service Normal file
View File

@ -0,0 +1,8 @@
[Unit]
Description=Gluster elastic volume management daemon
[Service]
ExecStart=/usr/sbin/glusterd
[Install]
WantedBy=multi-user.target

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:59f1ae0b1c3ef97768b0b740b7f0146aedd0102d19c19e50fb04ae5990126066
size 1541028

3
glusterfs-3.3.1.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fc364b9198947eea1b9b0b7533aaeed6672a2f73e2ee4aada2004a64252d3ec9
size 1565592

View File

@ -1,38 +0,0 @@
---
extras/init.d/glusterd-SuSE.in | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
Index: glusterfs-3.2.4/extras/init.d/glusterd-SuSE.in
===================================================================
--- glusterfs-3.2.4.orig/extras/init.d/glusterd-SuSE.in
+++ glusterfs-3.2.4/extras/init.d/glusterd-SuSE.in
@@ -2,8 +2,8 @@
#
### BEGIN INIT INFO
# Provides: glusterd
-# Required-Start: $local_fs $network
-# Required-Stop:
+# Required-Start: $remote_fs $network
+# Required-Stop: $remote_fs $network
# Default-Start: 3 5
# Default-Stop:
# Short-Description: Gluster File System service for volume management
@@ -61,13 +61,17 @@ case $1 in
fi
rc_status -v
;;
+ reload)
+ rc_failed 3
+ rc_status -v
+ ;;
restart)
$0 stop
$0 start
rc_status
;;
*)
- echo $"Usage: $0 {start|stop|status|restart}."
+ echo $"Usage: $0 {start|stop|status|reload|restart}."
exit 1
esac

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Wed Oct 31 12:19:47 UTC 2012 - jengelh@inai.de
- Update to new upstream release 3.3.1
* mount.glusterfs: Add support for {attribute,entry}-timeout options
* cli: Proper xml output for "gluster peer status"
* self-heald: Fix inode leak
* storage/posix: implement native linux AIO support
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Sep 24 03:45:09 UTC 2012 - jengelh@inai.de Mon Sep 24 03:45:09 UTC 2012 - jengelh@inai.de

View File

@ -16,11 +16,14 @@
# #
#git_master
%define master 0
Name: glusterfs Name: glusterfs
%define lname_api libgfapi0
%define lname_rpc libgfrpc0 %define lname_rpc libgfrpc0
%define lname_xdr libgfxdr0 %define lname_xdr libgfxdr0
%define lname_gf libglusterfs0 %define lname_gf libglusterfs0
Version: 3.3.0 Version: 3.3.1
Release: 0 Release: 0
Summary: Aggregating distributed file system Summary: Aggregating distributed file system
License: GPL-2.0+ ; GPL-3.0 License: GPL-2.0+ ; GPL-3.0
@ -29,8 +32,8 @@ Url: http://gluster.org/
#Git-Clone: git://github.com/gluster/glusterfs #Git-Clone: git://github.com/gluster/glusterfs
Source: %name-%version.tar.xz Source: %name-%version.tar.xz
Patch1: glusterfs-init.diff Patch1: glusterfs-date.diff
Patch2: glusterfs-date.diff Patch2: glusterfs-init.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: automake BuildRequires: automake
BuildRequires: bison BuildRequires: bison
@ -63,6 +66,14 @@ features and extensibility. It borrows a powerful concept called
Translators from GNU Hurd kernel. Much of the code in GlusterFS is in Translators from GNU Hurd kernel. Much of the code in GlusterFS is in
user space and easily manageable. user space and easily manageable.
%package -n %lname_api
Summary: GlusterFS WIP API library
Group: System/Libraries
%description -n %lname_api
GlusterFS is a clustered file-system capable of scaling to several
petabytes.
%package -n %lname_rpc %package -n %lname_rpc
Summary: GlusterFS Remote Procedure Call library Summary: GlusterFS Remote Procedure Call library
Group: System/Libraries Group: System/Libraries
@ -90,6 +101,7 @@ petabytes.
%package devel %package devel
Summary: Development files for glusterfs Summary: Development files for glusterfs
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: %lname_api = %version
Requires: %lname_gf = %version Requires: %lname_gf = %version
Requires: %lname_rpc = %version Requires: %lname_rpc = %version
Requires: %lname_xdr = %version Requires: %lname_xdr = %version
@ -115,7 +127,8 @@ make %{?_smp_mflags};
%install %install
b="%buildroot"; b="%buildroot";
%make_install docdir=%_docdir/%name make install DESTDIR="$b" docdir="%_docdir/%name"
find "$b/%_libdir" -type f -name "*.la" -delete;
mkdir -p "$b/%_localstatedir/log"/{glusterd,glusterfs,glusterfsd}; mkdir -p "$b/%_localstatedir/log"/{glusterd,glusterfs,glusterfsd};
@ -164,16 +177,13 @@ perl -i -pe 's{\x0d\x0a}{\x0a}gs' %_docdir/%name/glusterfs-mode.el;
/sbin/ldconfig /sbin/ldconfig
%insserv_cleanup %insserv_cleanup
%post -n %lname_rpc -p /sbin/ldconfig %post -n %lname_api -p /sbin/ldconfig
%postun -n %lname_api -p /sbin/ldconfig
%post -n %lname_rpc -p /sbin/ldconfig
%postun -n %lname_rpc -p /sbin/ldconfig %postun -n %lname_rpc -p /sbin/ldconfig
%post -n %lname_xdr -p /sbin/ldconfig
%post -n %lname_xdr -p /sbin/ldconfig
%postun -n %lname_xdr -p /sbin/ldconfig %postun -n %lname_xdr -p /sbin/ldconfig
%post -n %lname_gf -p /sbin/ldconfig
%post -n %lname_gf -p /sbin/ldconfig
%postun -n %lname_gf -p /sbin/ldconfig %postun -n %lname_gf -p /sbin/ldconfig
%files %files
@ -186,11 +196,17 @@ perl -i -pe 's{\x0d\x0a}{\x0a}gs' %_docdir/%name/glusterfs-mode.el;
%_libexecdir/%name %_libexecdir/%name
%_libdir/%name %_libdir/%name
%_sbindir/gluster* %_sbindir/gluster*
#%_mandir/man*/* %_mandir/man*/*
%_docdir/%name %_docdir/%name
%_localstatedir/lib/glusterd %_localstatedir/lib/glusterd
%_localstatedir/log/%name %_localstatedir/log/%name
%if %master
%files -n %lname_api
%defattr(-,root,root)
%_libdir/libgfapi.so.0*
%endif
%files -n %lname_rpc %files -n %lname_rpc
%defattr(-,root,root) %defattr(-,root,root)
%_libdir/libgfrpc.so.0* %_libdir/libgfrpc.so.0*
@ -207,5 +223,8 @@ perl -i -pe 's{\x0d\x0a}{\x0a}gs' %_docdir/%name/glusterfs-mode.el;
%defattr(-,root,root) %defattr(-,root,root)
%_includedir/%name %_includedir/%name
%_libdir/*.so %_libdir/*.so
%if %master
%_libdir/pkgconfig/*.pc
%endif
%changelog %changelog