]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
Imported Debian patch 1.0.11~git-20060117-1 debian/1%1.0.11_git-20060117-1
authorSteinar H. Gunderson <sesse@debian.org>
Wed, 17 Jan 2007 14:10:42 +0000 (15:10 +0100)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 14 Jul 2010 01:44:53 +0000 (02:44 +0100)
debian/changelog
debian/copyright
debian/patches/05-refuse-non-ident-maptypes.patch
debian/patches/08-dont-build-getkversion.patch
debian/patches/11-root-on-krb5-mounts.patch [new file with mode: 0644]
debian/patches/series

index fe5799ddd829768fa4d58bb67f5e97c96600fb0b..c737af3a727af61508330dd0836f0f65988ec6e8 100644 (file)
@@ -1,3 +1,19 @@
+nfs-utils (1:1.0.11~git-20060117-1) experimental; urgency=low
+
+  * New upstream snapshot; only minor changes.
+    * Update debian/copyright with the new version number and date.
+    * Fix a typo in debian/copyright; we need () around the autogen.sh line.
+    * Remove an extraneous slash that git thinks shouldn't be there.
+  * Update patches for new upstream release:
+    * 05-refuse-non-ident-maptypes.patch: Hunk offset and fuzz, refreshed.
+    * 08-dont-build-getkversion.patch: Hunk offset, refreshed.
+  * debian/patches/11-root-on-krb5-mounts.patch: New patch (imported and
+    refreshed), from Antti Tapaninen (via Timo Aaltonen); changes root to map
+    to root/host@REALM instead of nfs/host@REALM on krb5-enabled mounts. Fixes
+    issues where root would get mapped to nobody. (Closes: #407264)
+
+ -- Steinar H. Gunderson <sesse@debian.org>  Wed, 17 Jan 2007 15:10:42 +0100
+
 nfs-utils (1:1.0.11~git-20060105-2) experimental; urgency=low
 
   * 08-dont-build-getkversion.patch: We missed tools/Makefile.in on last
index a3d9a1958b10bf661e898b9379107eeed78313d9..910768b7cf1dd97e1f9e957ca295ffed77df209e 100644 (file)
@@ -1,11 +1,11 @@
 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 January 5th, 2007 using
+This is a git snapshot, downloaded January 17th, 2007 using
 the following commands:
 
-  cg-clone git://git.linux-nfs.org/pub/linux/nfs-utils/ nfs-utils-1.0.11\~git-20060105/
-  cd nfs-utils-1.0.11\~git-20060105/ && sh ./autogen.sh
-  tar --exclude=.git -zcf nfs-utils_1.0.11~git-20060105.orig.tar.gz nfs-utils-1.0.11\~git-20060105
+  cg-clone git://git.linux-nfs.org/pub/linux/nfs-utils/ nfs-utils-1.0.11\~git-20060117
+  ( cd nfs-utils-1.0.11\~git-20060117/ && sh ./autogen.sh )
+  tar --exclude=.git -zcf nfs-utils_1.0.11~git-20060117.orig.tar.gz nfs-utils-1.0.11\~git-20060117
 
 Regular releases are avilable from http://sourceforge.net/projects/nfs/.
 
index 7154af3323e997cba13e7da4c03e8914989772c3..c2c93f48b9485494b130cafc65f8e694487c2143 100644 (file)
@@ -1,9 +1,9 @@
-Index: nfs-utils-1.0.11~git-20060105/utils/mountd/cache.c
+Index: nfs-utils-1.0.11~git-20060117/utils/mountd/cache.c
 ===================================================================
---- nfs-utils-1.0.11~git-20060105.orig/utils/mountd/cache.c
-+++ nfs-utils-1.0.11~git-20060105/utils/mountd/cache.c
-@@ -375,6 +375,12 @@ void cache_export(nfs_export *exp)
- {
+--- nfs-utils-1.0.11~git-20060117.orig/utils/mountd/cache.c
++++ nfs-utils-1.0.11~git-20060117/utils/mountd/cache.c
+@@ -377,6 +377,12 @@ int cache_export(nfs_export *exp)
+       int err;
        FILE *f;
  
 +      if (exp->m_export.e_maptype != CLE_MAP_IDENT) {
@@ -14,4 +14,4 @@ Index: nfs-utils-1.0.11~git-20060105/utils/mountd/cache.c
 +
        f = fopen("/proc/net/rpc/auth.unix.ip/channel", "w");
        if (!f)
-               return;
+               return -1;
index db80383e6903806985715507e9095e1a5bc5b2f3..b5339be262e17e698b7a988a628590d690b123df 100644 (file)
@@ -1,7 +1,7 @@
-Index: nfs-utils-1.0.11~git-20060105/configure.in
+Index: nfs-utils-1.0.11~git-20060117/configure.in
 ===================================================================
---- nfs-utils-1.0.11~git-20060105.orig/configure.in
-+++ nfs-utils-1.0.11~git-20060105/configure.in
+--- nfs-utils-1.0.11~git-20060117.orig/configure.in
++++ nfs-utils-1.0.11~git-20060117/configure.in
 @@ -319,7 +319,6 @@ AC_CONFIG_FILES([
        support/nfs/Makefile
        tools/Makefile
@@ -10,10 +10,10 @@ Index: nfs-utils-1.0.11~git-20060105/configure.in
        tools/locktest/Makefile
        tools/nlmtest/Makefile
        tools/rpcdebug/Makefile
-Index: nfs-utils-1.0.11~git-20060105/tools/Makefile.am
+Index: nfs-utils-1.0.11~git-20060117/tools/Makefile.am
 ===================================================================
---- nfs-utils-1.0.11~git-20060105.orig/tools/Makefile.am
-+++ nfs-utils-1.0.11~git-20060105/tools/Makefile.am
+--- nfs-utils-1.0.11~git-20060117.orig/tools/Makefile.am
++++ nfs-utils-1.0.11~git-20060117/tools/Makefile.am
 @@ -1,5 +1,5 @@
  ## Process this file with automake to produce Makefile.in
  
@@ -21,11 +21,11 @@ Index: nfs-utils-1.0.11~git-20060105/tools/Makefile.am
 +SUBDIRS = getiversion locktest rpcdebug rpcgen nlmtest
  
  MAINTAINERCLEANFILES = Makefile.in
-Index: nfs-utils-1.0.11~git-20060105/configure
+Index: nfs-utils-1.0.11~git-20060117/configure
 ===================================================================
---- nfs-utils-1.0.11~git-20060105.orig/configure
-+++ nfs-utils-1.0.11~git-20060105/configure
-@@ -28736,7 +28736,7 @@ AM_CFLAGS="$my_am_cflags"
+--- nfs-utils-1.0.11~git-20060117.orig/configure
++++ nfs-utils-1.0.11~git-20060117/configure
+@@ -28722,7 +28722,7 @@ AM_CFLAGS="$my_am_cflags"
  ACLOCAL_AMFLAGS="-I $ac_macro_dir \$(ACLOCAL_FLAGS)"
  
  
@@ -34,7 +34,7 @@ Index: nfs-utils-1.0.11~git-20060105/configure
  
  cat >confcache <<\_ACEOF
  # This file is a shell script that caches the results of configure
-@@ -29371,7 +29371,6 @@ do
+@@ -29357,7 +29357,6 @@ do
      "support/nfs/Makefile") CONFIG_FILES="$CONFIG_FILES support/nfs/Makefile" ;;
      "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
      "tools/getiversion/Makefile") CONFIG_FILES="$CONFIG_FILES tools/getiversion/Makefile" ;;
@@ -42,11 +42,11 @@ Index: nfs-utils-1.0.11~git-20060105/configure
      "tools/locktest/Makefile") CONFIG_FILES="$CONFIG_FILES tools/locktest/Makefile" ;;
      "tools/nlmtest/Makefile") CONFIG_FILES="$CONFIG_FILES tools/nlmtest/Makefile" ;;
      "tools/rpcdebug/Makefile") CONFIG_FILES="$CONFIG_FILES tools/rpcdebug/Makefile" ;;
-Index: nfs-utils-1.0.11~git-20060105/tools/Makefile.in
+Index: nfs-utils-1.0.11~git-20060117/tools/Makefile.in
 ===================================================================
---- nfs-utils-1.0.11~git-20060105.orig/tools/Makefile.in
-+++ nfs-utils-1.0.11~git-20060105/tools/Makefile.in
-@@ -207,7 +207,7 @@ statduser = @statduser@
+--- nfs-utils-1.0.11~git-20060117.orig/tools/Makefile.in
++++ nfs-utils-1.0.11~git-20060117/tools/Makefile.in
+@@ -204,7 +204,7 @@ statduser = @statduser@
  statedir = @statedir@
  sysconfdir = @sysconfdir@
  target_alias = @target_alias@
diff --git a/debian/patches/11-root-on-krb5-mounts.patch b/debian/patches/11-root-on-krb5-mounts.patch
new file mode 100644 (file)
index 0000000..a8c4d21
--- /dev/null
@@ -0,0 +1,43 @@
+Index: nfs-utils-1.0.11~git-20060117/utils/gssd/krb5_util.c
+===================================================================
+--- nfs-utils-1.0.11~git-20060117.orig/utils/gssd/krb5_util.c
++++ nfs-utils-1.0.11~git-20060117/utils/gssd/krb5_util.c
+@@ -120,6 +120,9 @@
+ #include "gss_oids.h"
+ #include "krb5_util.h"
++#define GSSD_MACHINE_CRED_NAME "root"
++#define GSSD_MACHINE_CRED_NAME_LEN 4
++
+ /* Global list of principals/cache file names for machine credentials */
+ struct gssd_k5_kt_princ *gssd_k5_kt_princ_list = NULL;
+@@ -496,13 +499,13 @@ gssd_process_krb5_keytab(krb5_context co
+               printerr(2, "Processing keytab entry for principal '%s'\n",
+                        pname);
+ #ifdef HAVE_KRB5
+-              if ( (kte.principal->data[0].length == GSSD_SERVICE_NAME_LEN) &&
+-                   (strncmp(kte.principal->data[0].data, GSSD_SERVICE_NAME,
+-                            GSSD_SERVICE_NAME_LEN) == 0) &&
++              if ( (kte.principal->data[0].length == GSSD_MACHINE_CRED_NAME_LEN) &&
++                   (strncmp(kte.principal->data[0].data, GSSD_MACHINE_CRED_NAME,
++                            GSSD_MACHINE_CRED_NAME_LEN) == 0) &&
+ #else
+-              if ( (strlen(kte.principal->name.name_string.val[0]) == GSSD_SERVICE_NAME_LEN) &&
+-                   (strncmp(kte.principal->name.name_string.val[0], GSSD_SERVICE_NAME,
+-                            GSSD_SERVICE_NAME_LEN) == 0) &&
++              if ( (strlen(kte.principal->name.name_string.val[0]) == GSSD_MACHINE_CRED_NAME_LEN) &&
++                   (strncmp(kte.principal->name.name_string.val[0], GSSD_MACHINE_CRED_NAME,
++                            GSSD_MACHINE_CRED_NAME_LEN) == 0) &&
+                             
+ #endif
+                    (!gssd_have_realm_ple((void *)&kte.principal->realm)) ) {
+@@ -714,7 +717,7 @@ gssd_refresh_krb5_machine_creds(void)
+                       printerr(0, "Do you have a valid keytab entry for "
+                                   "%s/<your.host>@<YOUR.REALM> in "
+                                   "keytab file %s ?\n",
+-                                  GSSD_SERVICE_NAME, keytabfile);
++                                  GSSD_MACHINE_CRED_NAME, keytabfile);
+                       printerr(0, "Continuing without (machine) credentials "
+                                   "- nfs4 mounts with Kerberos will fail\n");
+               }
index 3c87e9b9110d17e0b6abf968c58c6d20b8a15b58..e892c403fef1d035f36377b3c116494a23d4b795 100644 (file)
@@ -5,3 +5,4 @@
 08-dont-build-getkversion.patch
 09-manpage-paths-fixup.patch 
 10-ccachedir-off-by-one.patch
+11-root-on-krb5-mounts.patch