rpms/coda/devel coda-6.9.4-gcc44.patch, NONE, 1.1 coda-6.9.4-rc2-kernel-alias.patch, NONE, 1.1 .cvsignore, 1.3, 1.4 coda.spec, 1.9, 1.10 sources, 1.3, 1.4 coda-6.9.3-codasrv-sigterm.patch, 1.1, NONE coda-6.9.3-sudo.patch, 1.1, NONE

Adam Goode agoode at fedoraproject.org
Fri Feb 27 20:38:03 UTC 2009


Author: agoode

Update of /cvs/extras/rpms/coda/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv32169

Modified Files:
	.cvsignore coda.spec sources 
Added Files:
	coda-6.9.4-gcc44.patch coda-6.9.4-rc2-kernel-alias.patch 
Removed Files:
	coda-6.9.3-codasrv-sigterm.patch coda-6.9.3-sudo.patch 
Log Message:
* Fri Feb 27 2009 Adam Goode <adam at spicenitz.org> - 6.9.4-1
- New upstream release
  + Avoid possible crashes and/or data loss when volumes are removed
    from and re-added to the client cache.
  + Add configuration setting (detect_reintegration_retry) for Coda
    clients running in a VMM which prevents dropping reintegrated
    operations when the virtual machine is reset to an earlier snapshot.
  + Do not assert on various non-fatal conditions (failing chown/chmod)
    that may arise when for instance the client cache is stored on a vfat
    formatted file system.
  + During backups, avoid unlocking locks that may have been taken by
    another thread.
  + Allow changing of the ctime/mtime of symlinks.
  + Avoid a server deadlock by correcting lock ordering between ViceFetch,
    ViceGetAttr and ViceValidataAttrs (problem identified and tracked down
    with lots of help from Rune).
  + Improve tar support and add cpio archive formats for modification log
    checkpoints.
  + Do not invoke server resolution on a single available replica.
  + Add new incremental dump format that maintains full path information
    when converting the resulting volume dump to a tar archive.
- Remove -D_GNU_SOURCE
- Drop sudo patch (upstream)
- Drop SIGTERM patch (upstream)


coda-6.9.4-gcc44.patch:

--- NEW FILE coda-6.9.4-gcc44.patch ---
diff --git a/coda-src/venus/vol_cml.cc b/coda-src/venus/vol_cml.cc
index 2c2740a..a0eabd2 100644
--- a/coda-src/venus/vol_cml.cc
+++ b/coda-src/venus/vol_cml.cc
@@ -3606,7 +3606,8 @@ static int WriteLinks(struct DirEntry *de, void *arg)
 {
     VnodeId vnode;
     Unique_t vunique;
-    char *name = de->name, *comp;
+    char *name = de->name;
+    const char *comp;
     size_t prefixlen;
     char namebuf[CODA_MAXPATHLEN];
     struct WriteLinksHook *hook = (struct WriteLinksHook *)arg;

coda-6.9.4-rc2-kernel-alias.patch:

--- NEW FILE coda-6.9.4-rc2-kernel-alias.patch ---
diff -ur coda-6.9.4~rc2~/coda-src/scripts/venus-setup.in coda-6.9.4~rc2/coda-src/scripts/venus-setup.in
--- coda-6.9.4~rc2~/coda-src/scripts/venus-setup.in	2007-08-13 16:37:40.000000000 -0400
+++ coda-6.9.4~rc2/coda-src/scripts/venus-setup.in	2008-06-08 16:53:21.000000000 -0400
@@ -173,18 +173,21 @@
 	fi
     fi
     # static /dev
-    if [ -f /etc/modules.conf ] ; then
-	MODULES=/etc/modules.conf
-    else
-	MODULES=/etc/conf.modules
-    fi
-    if ! contains $MODULES coda ; then
-	echo "=> Adding aliases to $MODULES so that modprobe can"
-	echo "   handle autoloading of the Coda kernel module when"
-	echo "   /dev/cfs0 is accessed"
-	echo >> $MODULES
-	echo 'alias char-major-67 coda' >> $MODULES
-	echo 'alias /dev/coda coda' >> $MODULES
+    if /sbin/modinfo -V | grep modutils > /dev/null || [ -z $(/sbin/modinfo -F alias coda) ] ; then
+	# kernel module does not encode an alias for us
+	if [ -f /etc/modules.conf ] ; then
+ 	    MODULES=/etc/modules.conf
+	else
+	    MODULES=/etc/conf.modules
+	fi
+	if ! contains $MODULES coda ; then
+	    echo "=> Adding aliases to $MODULES so that modprobe can"
+	    echo "   handle autoloading of the Coda kernel module when"
+	    echo "   /dev/cfs0 is accessed"
+	    echo >> $MODULES
+	    echo 'alias char-major-67 coda' >> $MODULES
+	    echo 'alias /dev/coda coda' >> $MODULES
+	fi
     fi
 fi
 


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/coda/devel/.cvsignore,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- .cvsignore	29 May 2008 14:29:55 -0000	1.3
+++ .cvsignore	27 Feb 2009 20:37:32 -0000	1.4
@@ -1 +1 @@
-coda-6.9.4~rc2.tar.gz
+coda-6.9.4.tar.gz


Index: coda.spec
===================================================================
RCS file: /cvs/extras/rpms/coda/devel/coda.spec,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- coda.spec	24 Feb 2009 08:13:37 -0000	1.9
+++ coda.spec	27 Feb 2009 20:37:32 -0000	1.10
@@ -1,23 +1,24 @@
-%define rcver rc2
-
 Name:           coda
 Version:        6.9.4
-Release:        0.4.%{rcver}%{?dist}
+Release:        1%{?dist}
 Summary:        Coda distributed file system
 Group:          System Environment/Daemons
 License:        GPLv2
 URL:            http://www.coda.cs.cmu.edu/
-Source0:        ftp://ftp.coda.cs.cmu.edu/pub/coda/src/%{name}-%{version}~%{rcver}.tar.gz
+Source0:        ftp://ftp.coda.cs.cmu.edu/pub/coda/src/%{name}-%{version}.tar.gz
 Source1:        coda-client.init
 Source2:        codasrv.init
 Source3:        auth2.init
 Source4:        update.init
-Patch0:         coda-6.9.3-codasrv-sigterm.patch
-Patch1:         coda-6.9.3-sudo.patch
-Patch2:         coda-6.9.3-client-fhs.patch
-Patch3:		coda-6.9.4-rc2-no-default-krb.patch
+Patch0:         coda-6.9.3-client-fhs.patch
+Patch1:		coda-6.9.4-rc2-no-default-krb.patch
+Patch2:		coda-6.9.4-rc2-kernel-alias.patch
+Patch3:		coda-6.9.4-gcc44.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires:  lwp-devel rpc2-devel rvm-devel rvm-tools readline-devel
+BuildRequires:  lwp-devel >= 2.5
+BuildRequires:	rpc2-devel >= 2.8
+BuildRequires:	rvm-devel
+BuildRequires:	rvm-tools readline-devel
 BuildRequires:  fltk-devel fltk-fluid flex bison python perl krb5-devel
 BuildRequires:	e2fsprogs-devel
 Requires:	krb5-libs
@@ -80,16 +81,22 @@
 
 
 %prep
-%setup -q -n %{name}-%{version}~%{rcver}
+%setup -q
 %patch0 -p1
+
+# http://www.coda.cs.cmu.edu/trac/ticket/1651
 %patch1 -p1
+
+# http://www.coda.cs.cmu.edu/trac/ticket/1653
 %patch2 -p1
+
+# 04d3fefdf27127589617cf955b1d3da799ebde5d
 %patch3 -p1
 
 
 %build
 # note: remove the -I and -l here when upstream releases fix for krb5 building
-export CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -I/usr/include/et"
+export CFLAGS="$RPM_OPT_FLAGS -I/usr/include/et"
 export LIBS="-lkrb5 -lcom_err -lstdc++"
 %configure --with-vcodacon --with-krb5
 make %{?_smp_mflags}
@@ -295,6 +302,31 @@
 
 
 %changelog
+* Fri Feb 27 2009 Adam Goode <adam at spicenitz.org> - 6.9.4-1
+- New upstream release
+  + Avoid possible crashes and/or data loss when volumes are removed
+    from and re-added to the client cache.
+  + Add configuration setting (detect_reintegration_retry) for Coda
+    clients running in a VMM which prevents dropping reintegrated
+    operations when the virtual machine is reset to an earlier snapshot.
+  + Do not assert on various non-fatal conditions (failing chown/chmod)
+    that may arise when for instance the client cache is stored on a vfat
+    formatted file system.
+  + During backups, avoid unlocking locks that may have been taken by
+    another thread.
+  + Allow changing of the ctime/mtime of symlinks.
+  + Avoid a server deadlock by correcting lock ordering between ViceFetch,
+    ViceGetAttr and ViceValidataAttrs (problem identified and tracked down
+    with lots of help from Rune).
+  + Improve tar support and add cpio archive formats for modification log
+    checkpoints.
+  + Do not invoke server resolution on a single available replica.
+  + Add new incremental dump format that maintains full path information
+    when converting the resulting volume dump to a tar archive.
+- Remove -D_GNU_SOURCE
+- Drop sudo patch (upstream)
+- Drop SIGTERM patch (upstream)
+
 * Tue Feb 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 6.9.4-0.4.rc2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/coda/devel/sources,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- sources	29 May 2008 14:29:55 -0000	1.3
+++ sources	27 Feb 2009 20:37:32 -0000	1.4
@@ -1 +1 @@
-66fabb10df461fb4628c14ad0b21cc0b  coda-6.9.4~rc2.tar.gz
+3c33f19ee259d8ff81c18ba05c9ce408  coda-6.9.4.tar.gz


--- coda-6.9.3-codasrv-sigterm.patch DELETED ---


--- coda-6.9.3-sudo.patch DELETED ---




More information about the fedora-extras-commits mailing list