]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
Imported Debian patch 1.1.1-14 debian/1%1.1.1-14
authorSteinar H. Gunderson <sesse@debian.org>
Mon, 3 Mar 2008 16:16:33 +0000 (17:16 +0100)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 14 Jul 2010 01:59:44 +0000 (02:59 +0100)
debian/changelog
debian/copyright
debian/patches/10-no-flush-blkid-cache.diff [deleted file]
debian/patches/10-no-flush-blkid-cache.patch [new file with mode: 0644]
debian/patches/11-honor-credential-cache-dir.patch [new file with mode: 0644]
debian/patches/12-fix-nfsmount-segfault.patch [new file with mode: 0644]
debian/patches/series

index 582c5dc9f9651e4684742fe08128f8dde207d6cd..af0ab388745a7c7cacfa47d8470fff7312566544 100644 (file)
@@ -1,3 +1,23 @@
+nfs-utils (1:1.1.1-14) unstable; urgency=low
+
+  * Another init dependency patch from Petter Reinholdtsen, this time for
+    nfs-common. (Closes: #468663)
+    * Stop before portmap stops.
+    * Start after local filesystems and network (normally $portmap should take
+      care of this, but it might not be installed for some reason).
+  * 10-no-flush-blkid-cache.patch: Rename from 10-no-flush-blkid-cache.diff,
+    for consistency.
+  * 11-honor-credential-cache-dir.patch: New patch from Vince Busam, honor -d
+    flag to rpc.gssd instead of always using /tmp for the credentials cache.
+    (Closes: #465796)
+  * 12-fix-nfsmount-segfault.patch: New patch from Jindrich Makovicka, fix so
+    the two tests for mount version are in sync, fixing a segfault in nfsmount.
+    (Closes: #466019)
+  * Remove outdated information about git snapshots from debian/copyright.
+    (Closes: #468773)
+
+ -- Steinar H. Gunderson <sesse@debian.org>  Mon, 03 Mar 2008 17:16:33 +0100
+
 nfs-utils (1:1.1.1-13) unstable; urgency=low
 
   * Adjust nfs-kernel-server.init dependencies; patch from Petter
index 5a85bf9d0f54b9b5fab28f94043ab5771aa72ffc..c16b5546597be94fa731a3003d216393792cdbd2 100644 (file)
@@ -1,13 +1,6 @@
 This package was debianized by Chip Salzenberg <chip@debian.org> on Fri,  3 Dec 1999 20:00:00 -0800
 
-This is a git snapshot, downloaded August 6th, 2007 using
-the following commands:
-
-  git clone git://git.linux-nfs.org/pub/linux/nfs-utils/ nfs-utils-1.1.1\~git-20070709
-  ( cd nfs-utils-1.1.1\~git-20070709/ && sh ./autogen.sh )
-  tar --exclude=.git -zcf nfs-utils_1.1.1\~git-20070709.orig.tar.gz nfs-utils-1.1.1\~git-20070709
-
-Regular releases are avilable from http://sourceforge.net/projects/nfs/.
+The source pakage was downloaded from http://sourceforge.net/projects/nfs/.
 
 View individual source files for respective authors.
 
diff --git a/debian/patches/10-no-flush-blkid-cache.diff b/debian/patches/10-no-flush-blkid-cache.diff
deleted file mode 100644 (file)
index 7f7a7e8..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-Index: nfs-utils-1.1.1/utils/mountd/cache.c
-===================================================================
---- nfs-utils-1.1.1.orig/utils/mountd/cache.c
-+++ nfs-utils-1.1.1/utils/mountd/cache.c
-@@ -181,8 +181,6 @@ int get_uuid(char *path, char *uuid, int
-               if (cache == NULL)
-                       blkid_get_cache(&cache, NULL);
--              blkid_probe_all_new(cache);
--
-               if (stat(path, &stb) != 0)
-                       return 0;
-               devname = blkid_devno_to_devname(stb.st_dev);
diff --git a/debian/patches/10-no-flush-blkid-cache.patch b/debian/patches/10-no-flush-blkid-cache.patch
new file mode 100644 (file)
index 0000000..7f7a7e8
--- /dev/null
@@ -0,0 +1,13 @@
+Index: nfs-utils-1.1.1/utils/mountd/cache.c
+===================================================================
+--- nfs-utils-1.1.1.orig/utils/mountd/cache.c
++++ nfs-utils-1.1.1/utils/mountd/cache.c
+@@ -181,8 +181,6 @@ int get_uuid(char *path, char *uuid, int
+               if (cache == NULL)
+                       blkid_get_cache(&cache, NULL);
+-              blkid_probe_all_new(cache);
+-
+               if (stat(path, &stb) != 0)
+                       return 0;
+               devname = blkid_devno_to_devname(stb.st_dev);
diff --git a/debian/patches/11-honor-credential-cache-dir.patch b/debian/patches/11-honor-credential-cache-dir.patch
new file mode 100644 (file)
index 0000000..88966ac
--- /dev/null
@@ -0,0 +1,13 @@
+Index: nfs-utils-1.1.1/utils/gssd/krb5_util.c
+===================================================================
+--- nfs-utils-1.1.1.orig/utils/gssd/krb5_util.c
++++ nfs-utils-1.1.1/utils/gssd/krb5_util.c
+@@ -404,7 +404,7 @@ gssd_get_single_krb5_cred(krb5_context c
+           cache_type = "FILE";
+       snprintf(cc_name, sizeof(cc_name), "%s:%s/%s%s_%s",
+               cache_type,
+-              GSSD_DEFAULT_CRED_DIR, GSSD_DEFAULT_CRED_PREFIX,
++              ccachedir, GSSD_DEFAULT_CRED_PREFIX,
+               GSSD_DEFAULT_MACHINE_CRED_SUFFIX, ple->realm);
+       ple->endtime = my_creds.times.endtime;
+       if (ple->ccname != NULL)
diff --git a/debian/patches/12-fix-nfsmount-segfault.patch b/debian/patches/12-fix-nfsmount-segfault.patch
new file mode 100644 (file)
index 0000000..2dc73b2
--- /dev/null
@@ -0,0 +1,13 @@
+Index: nfs-utils-1.1.1/utils/mount/nfsmount.c
+===================================================================
+--- nfs-utils-1.1.1.orig/utils/mount/nfsmount.c
++++ nfs-utils-1.1.1/utils/mount/nfsmount.c
+@@ -714,7 +714,7 @@ nfsmount(const char *spec, const char *n
+                       rpc_mount_errors(*nfs_server.hostname, 1, bg);
+       }
+-      if (nfs_pmap->pm_vers == 2) {
++      if (mnt_pmap->pm_vers <= 2) {
+               if (mntres.nfsv2.fhs_status != 0) {
+                       nfs_error(_("%s: %s:%s failed, reason given by server: %s"),
+                                       progname, hostname, dirname,
index e98b01fa6e9796158edd731f4af0aa161012022b..017d8bea25d10a1af847b416a45e7a4f6d24af82 100644 (file)
@@ -1,3 +1,4 @@
+12-fix-nfsmount-segfault.patch
 02-document-debian-init-scripts.patch
 03-sm-notify-in-sbin.patch
 05-ignore-quota-option.patch
@@ -5,4 +6,5 @@
 07-amd64-logging-segfault.patch
 08-clarify-unexport.patch
 09-fix-nfsstat-option.patch
-10-no-flush-blkid-cache.diff
+10-no-flush-blkid-cache.patch
+11-honor-credential-cache-dir.patch