diff --git a/.cvsignore b/.cvsignore
index 025cfa4..93f9195 100644
--- a/.cvsignore
+++ b/.cvsignore
@@ -1 +1 @@
-glusterfs-1.3.8.tar.gz
+glusterfs-1.3.12.tar.gz
diff --git a/glusterfs-1.3.7-ocreat.patch b/glusterfs-1.3.7-ocreat.patch
deleted file mode 100644
index 5b0aa88..0000000
--- a/glusterfs-1.3.7-ocreat.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -Naupr glusterfs-1.3.7.orig/xlators/protocol/server/src/server-protocol.c glusterfs-1.3.7/xlators/protocol/server/src/server-protocol.c
---- glusterfs-1.3.7.orig/xlators/protocol/server/src/server-protocol.c 2007-10-16 09:37:00.000000000 +0200
-+++ glusterfs-1.3.7/xlators/protocol/server/src/server-protocol.c 2007-11-26 11:49:05.000000000 +0100
-@@ -4930,7 +4930,7 @@ mop_setspec (call_frame_t *frame,
- goto fail;
- }
-
-- ret = open (GLUSTERFSD_SPEC_PATH, O_WRONLY | O_CREAT | O_SYNC);
-+ ret = open (GLUSTERFSD_SPEC_PATH, O_WRONLY | O_CREAT | O_SYNC, 0644);
- spec_fd = ret;
- if (spec_fd < 0){
- remote_errno = errno;
diff --git a/glusterfs-1.3.8-mount.patch b/glusterfs-1.3.8-mount.patch
deleted file mode 100644
index 61b7493..0000000
--- a/glusterfs-1.3.8-mount.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-diff -Naupr glusterfs-1.3.8.orig/glusterfs-fuse/utils/mount.glusterfs.in glusterfs-1.3.8/glusterfs-fuse/utils/mount.glusterfs.in
---- glusterfs-1.3.8.orig/glusterfs-fuse/utils/mount.glusterfs.in 2008-01-08 12:49:35.000000000 +0100
-+++ glusterfs-1.3.8/glusterfs-fuse/utils/mount.glusterfs.in 2008-01-08 13:44:30.000000000 +0100
-@@ -121,6 +121,12 @@ main ()
- # $2=$(echo "$@" | sed -n 's/[^ ]* \([^ ]*\).*/\1/p');
-
- mount_point="$2";
-+
-+ # Simple check to avoid multiple identical mounts
-+ if grep -q "glusterfs $mount_point fuse" /etc/mtab; then
-+ echo "$0: according to mtab, a glusterfs is already mounted on $mount_point"
-+ exit 1
-+ fi
-
- fs_options=$(echo "$fs_options,$new_fs_options");
-
diff --git a/glusterfs.spec b/glusterfs.spec
index f883714..78b4226 100644
--- a/glusterfs.spec
+++ b/glusterfs.spec
@@ -13,8 +13,8 @@
Summary: Cluster File System
Name: glusterfs
-Version: 1.3.8
-Release: 0.8%{?dist}
+Version: 1.3.12
+Release: 1%{?dist}
License: GPLv3+
Group: System Environment/Base
URL: http://www.gluster.org/docs/index.php/GlusterFS
@@ -22,8 +22,6 @@ Source0: http://ftp.zresearch.com/pub/gluster/glusterfs/1.3/glusterfs-%{version}
Source1: glusterfsd.init
Source2: glusterfsd.sysconfig
Source3: umount.glusterfs
-Patch0: glusterfs-1.3.7-ocreat.patch
-Patch1: glusterfs-1.3.8-mount.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
Requires(post): /sbin/chkconfig
Requires(preun): /sbin/service, /sbin/chkconfig
@@ -115,8 +113,6 @@ This package provides the development libraries.
%prep
%setup -q
-%patch0 -p1 -b .ocreat
-%patch1 -p1 -b .mount
%build
@@ -193,6 +189,7 @@ fi
/sbin/mount.glusterfs
/sbin/umount.glusterfs
%dir /var/log/glusterfs/
+%{_mandir}/man8/glusterfs.8*
%endif
@@ -202,8 +199,10 @@ fi
%config(noreplace) %{_sysconfdir}/glusterfs/*.vol
%config(noreplace) %{_sysconfdir}/sysconfig/glusterfsd
%{_sysconfdir}/init.d/glusterfsd
+%{_sbindir}/glusterfs
%{_sbindir}/glusterfsd
%dir /var/log/glusterfs/
+%{_mandir}/man8/glusterfs.8*
%files devel
@@ -214,6 +213,28 @@ fi
%changelog
+* Mon Feb 16 2009 Matthias Saou 1.3.12-1
+- Update to 1.3.12.
+- Remove no longer needed ocreat patch.
+
+* Thu Jul 17 2008 Matthias Saou 1.3.10-1
+- Update to 1.3.10.
+- Remove mount patch, it's been included upstream now.
+
+* Fri May 16 2008 Matthias Saou 1.3.9-1
+- Update to 1.3.9.
+
+* Fri May 9 2008 Matthias Saou 1.3.8-1
+- Update to 1.3.8 final.
+
+* Tue Apr 23 2008 Matthias Saou 1.3.8-0.10
+- Include short patch to include fixes from latest TLA 751.
+
+* Mon Apr 22 2008 Matthias Saou 1.3.8-0.9
+- Update to 1.3.8pre6.
+- Include glusterfs binary in both the client and server packages, now that
+ glusterfsd is a symlink to it instead of a separate binary.
+
* Sun Feb 3 2008 Matthias Saou 1.3.8-0.8
- Add python version check and disable bindings for version < 2.4.
diff --git a/glusterfsd.init b/glusterfsd.init
index 1c9ce54..826c3fb 100644
--- a/glusterfsd.init
+++ b/glusterfsd.init
@@ -20,10 +20,12 @@ RETVAL=0
GLUSTERFSD_CONFIG="/etc/glusterfs/glusterfs-server.vol"
GLUSTERFSD_LOGFILE="/var/log/glusterfs/glusterfsd.log"
GLUSTERFSD_LOGLEVEL="WARNING"
+GLUSTERFSD_NOFILE="65536"
[ -f /etc/sysconfig/glusterfsd ] && source /etc/sysconfig/glusterfsd
start() {
echo -n $"Starting $prog: "
+ ulimit -n ${GLUSTERFSD_NOFILE}
daemon $glusterfsd -f ${GLUSTERFSD_CONFIG} -l ${GLUSTERFSD_LOGFILE} -L ${GLUSTERFSD_LOGLEVEL}
RETVAL=$?
echo
diff --git a/glusterfsd.sysconfig b/glusterfsd.sysconfig
index 136499d..c3f41c2 100644
--- a/glusterfsd.sysconfig
+++ b/glusterfsd.sysconfig
@@ -4,4 +4,5 @@
#GLUSTERFSD_CONFIG="/etc/glusterfs/glusterfs-server.vol"
#GLUSTERFSD_LOGFILE="/var/log/glusterfs/glusterfsd.log"
#GLUSTERFSD_LOGLEVEL="ERROR"
+#GLUSTERFSD_NOFILE="65536"
diff --git a/sources b/sources
index 6beee6d..da2dcdc 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-eb7ebc04cab10966877863f31799382d glusterfs-1.3.8.tar.gz
+db11e3d9d227f5b10b2a93c0d8929123 glusterfs-1.3.12.tar.gz