packages: nfs-utils/nfs-utils-heimdal_functions.patch, nfs-utils/nfs-utils-...
baggins
baggins at pld-linux.org
Mon Aug 30 18:52:06 CEST 2010
Author: baggins Date: Mon Aug 30 16:52:06 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- rel 4
- git patch and ipv6/gss changes moved to DEVEL due yo issues with nfs3 mounts
---- Files affected:
packages/nfs-utils:
nfs-utils-heimdal_functions.patch (1.4 -> 1.5) , nfs-utils-no_libgssapi.patch (1.3 -> 1.4) , nfs-utils-pkgconfig_ac.patch (1.2 -> 1.3) , nfs-utils.spec (1.188 -> 1.189)
---- Diffs:
================================================================
Index: packages/nfs-utils/nfs-utils-heimdal_functions.patch
diff -u packages/nfs-utils/nfs-utils-heimdal_functions.patch:1.4 packages/nfs-utils/nfs-utils-heimdal_functions.patch:1.5
--- packages/nfs-utils/nfs-utils-heimdal_functions.patch:1.4 Mon Aug 30 14:15:32 2010
+++ packages/nfs-utils/nfs-utils-heimdal_functions.patch Mon Aug 30 18:52:01 2010
@@ -1,15 +1,5 @@
--- utils/gssd/krb5_util.c 2008-10-17 14:20:09.000000000 +0000
+++ utils/gssd/krb5_util.c 2008-11-22 13:52:42.000000000 +0000
-@@ -115,9 +115,7 @@
- #include <errno.h>
- #include <time.h>
- #include <gssapi/gssapi.h>
--#ifdef USE_PRIVATE_KRB5_FUNCTIONS
- #include <gssapi/gssapi_krb5.h>
--#endif
- #include <krb5.h>
- #include <rpc/auth_gss.h>
-
@@ -927,9 +927,37 @@
{
krb5_error_code ret;
@@ -19,14 +9,14 @@
+#ifdef HAVE_HEIMDAL
+ krb5_creds pattern;
-+ krb5_const_realm client_realm;
++ krb5_realm *client_realm;
+
+ krb5_cc_clear_mcred(&pattern);
+
-+ client_realm = krb5_principal_get_realm (context, principal);
++ client_realm = krb5_princ_realm (context, principal);
+
+ ret = krb5_make_principal (context, &pattern.server,
-+ client_realm, KRB5_TGS_NAME, client_realm,
++ *client_realm, KRB5_TGS_NAME, *client_realm,
+ NULL);
+ if (ret)
+ krb5_err (context, 1, ret, "krb5_make_principal");
@@ -67,3 +57,15 @@
krb5_cc_set_flags(context, ccache, KRB5_TC_OPENCLOSE);
krb5_cc_close(context, ccache);
err_cache:
+@@ -1262,7 +1294,11 @@
+ if (context != NULL) {
+ origmsg = krb5_get_error_message(context, code);
+ msg = strdup(origmsg);
++#ifdef HAVE_HEIMDAL
++ krb5_free_error_string(context, origmsg);
++#else
+ krb5_free_error_message(context, origmsg);
++#endif
+ }
+ #endif
+ if (msg != NULL)
================================================================
Index: packages/nfs-utils/nfs-utils-no_libgssapi.patch
diff -u packages/nfs-utils/nfs-utils-no_libgssapi.patch:1.3 packages/nfs-utils/nfs-utils-no_libgssapi.patch:1.4
--- packages/nfs-utils/nfs-utils-no_libgssapi.patch:1.3 Mon Aug 30 14:15:32 2010
+++ packages/nfs-utils/nfs-utils-no_libgssapi.patch Mon Aug 30 18:52:01 2010
@@ -16,7 +16,7 @@
@@ -171,10 +173,10 @@ serialize_krb5_ctx(gss_ctx_id_t ctx, gss
int retcode = 0;
- printerr(2, "DEBUG: %s: lucid version!\n", __FUNCTION__);
+ printerr(2, "DEBUG: serialize_krb5_ctx: lucid version!\n");
- maj_stat = gss_export_lucid_sec_context(&min_stat, &ctx,
+ maj_stat = gss_krb5_export_lucid_sec_context(&min_stat, &ctx,
1, &return_ctx);
@@ -42,20 +42,13 @@
===================================================================
--- nfs-utils-1.1.0.orig/utils/gssd/krb5_util.c
+++ nfs-utils-1.1.0/utils/gssd/krb5_util.c
-@@ -1317,13 +1317,13 @@ limit_krb5_enctypes(struct rpc_gss_sec *
- * list of supported enctypes, use local default here.
- */
- if (krb5_enctypes == NULL)
-- maj_stat = gss_set_allowable_enctypes(&min_stat, credh,
-- &krb5oid, num_enctypes, enctypes);
-+ maj_stat = gss_krb5_set_allowable_enctypes(&min_stat, credh,
-+ num_enctypes, enctypes);
- else
-- maj_stat = gss_set_allowable_enctypes(&min_stat, credh,
-- &krb5oid, num_krb5_enctypes, krb5_enctypes);
-+ maj_stat = gss_krb5_set_allowable_enctypes(&min_stat, credh,
-+ num_krb5_enctypes, krb5_enctypes);
+@@ -294,10 +294,10 @@ limit_krb5_enctypes(struct rpc_gss_sec *
+ return -1;
+ }
+- maj_stat = gss_set_allowable_enctypes(&min_stat, credh, &krb5oid,
++ maj_stat = gss_krb5_set_allowable_enctypes(&min_stat, credh,
+ num_enctypes, &enctypes);
if (maj_stat != GSS_S_COMPLETE) {
- pgsserr("gss_set_allowable_enctypes",
+ pgsserr("gss_krb5_set_allowable_enctypes",
================================================================
Index: packages/nfs-utils/nfs-utils-pkgconfig_ac.patch
diff -u packages/nfs-utils/nfs-utils-pkgconfig_ac.patch:1.2 packages/nfs-utils/nfs-utils-pkgconfig_ac.patch:1.3
--- packages/nfs-utils/nfs-utils-pkgconfig_ac.patch:1.2 Wed Aug 18 07:17:32 2010
+++ packages/nfs-utils/nfs-utils-pkgconfig_ac.patch Mon Aug 30 18:52:01 2010
@@ -1,11 +1,12 @@
diff -ur nfs-utils-1.2.0/aclocal/rpcsec_vers.m4 nfs-utils-1.2.0-pkg/aclocal/rpcsec_vers.m4
--- nfs-utils-1.2.0/aclocal/rpcsec_vers.m4 2009-06-02 16:43:05.000000000 +0200
+++ nfs-utils-1.2.0-pkg/aclocal/rpcsec_vers.m4 2009-06-30 15:48:36.603210573 +0200
-@@ -1,7 +1,6 @@
+@@ -1,7 +1,7 @@
dnl Checks librpcsec version
AC_DEFUN([AC_RPCSEC_VERSION], [
- PKG_CHECK_MODULES([GSSGLUE], [libgssglue >= 0.1])
++ PKG_CHECK_MODULES([GSSGLUE], [libgssglue >= 0.1], , [PKG_CHECK_MODULES([GSSGLUE], [heimdal-gssapi])])
dnl TI-RPC replaces librpcsecgss
if test "$enable_tirpc" = no; then
================================================================
Index: packages/nfs-utils/nfs-utils.spec
diff -u packages/nfs-utils/nfs-utils.spec:1.188 packages/nfs-utils/nfs-utils.spec:1.189
--- packages/nfs-utils/nfs-utils.spec:1.188 Mon Aug 30 14:32:42 2010
+++ packages/nfs-utils/nfs-utils.spec Mon Aug 30 18:52:01 2010
@@ -14,7 +14,7 @@
Summary(uk.UTF-8): Утиліти для NFS та демони підтримки для NFS-сервера ядра
Name: nfs-utils
Version: 1.2.2
-Release: 3
+Release: 4
License: GPL v2
Group: Networking/Daemons
Source0: http://www.kernel.org/pub/linux/utils/nfs/%{name}-%{version}.tar.bz2
@@ -39,7 +39,6 @@
Patch5: %{name}-no_libgssapi.patch
Patch6: %{name}-pkgconfig_ac.patch
Patch7: %{name}-heimdal_functions.patch
-Patch100: %{name}-git.patch
URL: http://nfs.sourceforge.net/
BuildRequires: autoconf >= 2.59
BuildRequires: automake
@@ -170,7 +169,6 @@
%prep
%setup -q -a1
-%patch100 -p1
%patch0 -p1
%patch1 -p1
%patch2 -p1
@@ -387,15 +385,11 @@
%attr(4755,root,root) /sbin/umount.nfs
%attr(4755,root,root) /sbin/mount.nfs4
%attr(4755,root,root) /sbin/umount.nfs4
-%attr(755,root,root) %{_sbindir}/mountstats
-%attr(755,root,root) %{_sbindir}/nfsiostat
%attr(755,root,root) %{_sbindir}/showmount
%attr(755,root,root) %{_sbindir}/rpc.gssd
%attr(754,root,root) /etc/rc.d/init.d/gssd
%{_mandir}/man8/gssd.8*
%{_mandir}/man8/mount.nfs.8*
-%{_mandir}/man8/mountstats.8*
-%{_mandir}/man8/nfsiostat.8*
%{_mandir}/man8/rpc.gssd.8*
%{_mandir}/man8/showmount.8*
%{_mandir}/man8/umount.nfs.8*
@@ -419,6 +413,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.189 2010/08/30 16:52:01 baggins
+- rel 4
+- git patch and ipv6/gss changes moved to DEVEL due yo issues with nfs3 mounts
+
Revision 1.188 2010/08/30 12:32:42 baggins
- rel 3
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/nfs-utils/nfs-utils-heimdal_functions.patch?r1=1.4&r2=1.5&f=u
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/nfs-utils/nfs-utils-no_libgssapi.patch?r1=1.3&r2=1.4&f=u
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/nfs-utils/nfs-utils-pkgconfig_ac.patch?r1=1.2&r2=1.3&f=u
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/nfs-utils/nfs-utils.spec?r1=1.188&r2=1.189&f=u
More information about the pld-cvs-commit
mailing list