forked from pool/nfs-utils
This commit is contained in:
parent
23ed6e6dec
commit
78917d4e0d
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:f06f4aa1053e60738c7bd09132a4a99047a97e91f334a01d8dab5af3688bee68
|
|
||||||
size 528352
|
|
3
nfs-utils-1.0.12.tar.bz2
Normal file
3
nfs-utils-1.0.12.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:899844fd86f8b5b2a1a606be3adbc4645d2118e2d56a390028eef6272f0dcc4c
|
||||||
|
size 548247
|
@ -1,21 +1,13 @@
|
|||||||
support/export/export.c | 2
|
support/export/export.c | 2
|
||||||
support/include/misc.h | 3
|
support/include/misc.h | 3
|
||||||
support/include/nfslib.h | 1
|
support/include/nfslib.h | 1
|
||||||
support/misc/mountpoint.c | 158 +++++++++++++++++++++++++++++++++++++++++++++-
|
================================================================================
|
||||||
support/nfs/exports.c | 7 ++
|
--- nfs-utils-1.0.12/support/nfs/exports.c
|
||||||
utils/mountd/cache.c | 11 +--
|
+++ nfs-utils-1.0.12/support/nfs/exports.c
|
||||||
utils/mountd/mountd.c | 7 +-
|
@@ -522,6 +522,8 @@
|
||||||
utils/mountd/mountd.h | 9 ++
|
} else if (strncmp(opt, "replicas=", 9) == 0) {
|
||||||
8 files changed, 187 insertions(+), 11 deletions(-)
|
ep->e_fslocmethod = FSLOC_REPLICA;
|
||||||
|
ep->e_fslocdata = strdup(opt+9);
|
||||||
Index: nfs-utils-1.0.7/support/nfs/exports.c
|
|
||||||
===================================================================
|
|
||||||
--- nfs-utils-1.0.7.orig/support/nfs/exports.c
|
|
||||||
+++ nfs-utils-1.0.7/support/nfs/exports.c
|
|
||||||
@@ -435,6 +435,8 @@ bad_option:
|
|
||||||
ep->e_mountpoint = strdup(mp+1);
|
|
||||||
else
|
|
||||||
ep->e_mountpoint = strdup("");
|
|
||||||
+ } else if (strncmp(opt, "bind=/", 6) == 0) {
|
+ } else if (strncmp(opt, "bind=/", 6) == 0) {
|
||||||
+ /* ignore this for now */
|
+ /* ignore this for now */
|
||||||
} else {
|
} else {
|
||||||
|
@ -1,16 +0,0 @@
|
|||||||
Index: nfs-utils-1.0.6/utils/exportfs/exportfs.c
|
|
||||||
===================================================================
|
|
||||||
--- nfs-utils-1.0.6.orig/utils/exportfs/exportfs.c 2004-06-24 12:42:44.000000000 +0200
|
|
||||||
+++ nfs-utils-1.0.6/utils/exportfs/exportfs.c 2004-06-24 12:44:43.000000000 +0200
|
|
||||||
@@ -399,9 +399,9 @@
|
|
||||||
c = dumpopt(c, "mapping=ugidd");
|
|
||||||
else if (ep->e_maptype == CLE_MAP_FILE)
|
|
||||||
c = dumpopt(c, "mapping=file");
|
|
||||||
- if (ep->e_anonuid != -2)
|
|
||||||
+ if (ep->e_anonuid != 65534)
|
|
||||||
c = dumpopt(c, "anonuid=%d", ep->e_anonuid);
|
|
||||||
- if (ep->e_anongid != -2)
|
|
||||||
+ if (ep->e_anongid != 65534)
|
|
||||||
c = dumpopt(c, "anongid=%d", ep->e_anongid);
|
|
||||||
|
|
||||||
printf("%c\n", (c != '(')? ')' : ' ');
|
|
@ -1,16 +1,11 @@
|
|||||||
utils/gssd/krb5_util.c | 7 ++++++-
|
--- nfs-utils-1.0.12/utils/gssd/krb5_util.c
|
||||||
1 files changed, 6 insertions(+), 1 deletion(-)
|
+++ nfs-utils-1.0.12/utils/gssd/krb5_util.c
|
||||||
|
@@ -191,7 +191,7 @@
|
||||||
Index: nfs-utils-1.0.7/utils/gssd/krb5_util.c
|
namelist[i]->d_name);
|
||||||
===================================================================
|
snprintf(statname, sizeof(statname),
|
||||||
--- nfs-utils-1.0.7.orig/utils/gssd/krb5_util.c
|
"%s/%s", ccachedir, namelist[i]->d_name);
|
||||||
+++ nfs-utils-1.0.7/utils/gssd/krb5_util.c
|
- if (stat(statname, &tmp_stat)) {
|
||||||
@@ -193,7 +195,7 @@ gssd_find_existing_krb5_ccache(uid_t uid
|
+ if (lstat(statname, &tmp_stat)) {
|
||||||
snprintf(statname, sizeof(statname),
|
printerr(0, "Error doing stat on file '%s'\n",
|
||||||
"%s/%s", GSSD_DEFAULT_CRED_DIR,
|
statname);
|
||||||
namelist[i]->d_name);
|
free(namelist[i]);
|
||||||
- if (stat(statname, &tmp_stat)) {
|
|
||||||
+ if (lstat(statname, &tmp_stat)) {
|
|
||||||
printerr(0, "Error doing stat "
|
|
||||||
"on file '%s'\n",
|
|
||||||
statname);
|
|
||||||
|
@ -1,3 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 27 08:52:29 CET 2007 - ro@suse.de
|
||||||
|
|
||||||
|
- update to 1.0.12
|
||||||
|
- Fix -n option to mountd
|
||||||
|
- Document sensitive gids
|
||||||
|
- upstreamed patches deleted:
|
||||||
|
nfs-utils-anon-uid32.patch
|
||||||
|
- added e2fsprogs-devel (for libblkid)
|
||||||
|
- nhfsXXX binaries and manpages have been removed upstream
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jan 11 12:25:25 CET 2007 - ro@suse.de
|
Thu Jan 11 12:25:25 CET 2007 - ro@suse.de
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package nfs-utils (Version 1.0.10)
|
# spec file for package nfs-utils (Version 1.0.12)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
# This file and all modifications and additions to the pristine
|
# This file and all modifications and additions to the pristine
|
||||||
@ -11,11 +11,11 @@
|
|||||||
# norootforbuild
|
# norootforbuild
|
||||||
|
|
||||||
Name: nfs-utils
|
Name: nfs-utils
|
||||||
BuildRequires: gcc-c++ krb5-devel libevent librpcsecgss nfsidmap openldap2-devel pkgconfig tcpd-devel
|
BuildRequires: e2fsprogs-devel gcc-c++ krb5-devel libevent librpcsecgss nfsidmap openldap2-devel pkgconfig tcpd-devel
|
||||||
URL: http://nfs.sourceforge.net
|
URL: http://nfs.sourceforge.net
|
||||||
Summary: Support Utilities for Kernel nfsd
|
Summary: Support Utilities for Kernel nfsd
|
||||||
Version: 1.0.10
|
Version: 1.0.12
|
||||||
Release: 31
|
Release: 1
|
||||||
Group: Productivity/Networking/NFS
|
Group: Productivity/Networking/NFS
|
||||||
Obsoletes: knfsd linuxnfs nfsutils
|
Obsoletes: knfsd linuxnfs nfsutils
|
||||||
Provides: knfsd linuxnfs nfsutils
|
Provides: knfsd linuxnfs nfsutils
|
||||||
@ -36,7 +36,6 @@ Source15: svcgssd.init
|
|||||||
Source16: nfsserver.xml
|
Source16: nfsserver.xml
|
||||||
Patch1: nfs-utils-nsm.patch
|
Patch1: nfs-utils-nsm.patch
|
||||||
Patch2: nfs-utils-largefiles.patch
|
Patch2: nfs-utils-largefiles.patch
|
||||||
Patch3: nfs-utils-anon-uid32.patch
|
|
||||||
Patch4: nfs-utils-noroot.patch
|
Patch4: nfs-utils-noroot.patch
|
||||||
Patch5: nfs-utils-gssd-select-ccache.patch
|
Patch5: nfs-utils-gssd-select-ccache.patch
|
||||||
Patch6: nfs-utils-krb5.patch
|
Patch6: nfs-utils-krb5.patch
|
||||||
@ -58,7 +57,6 @@ Authors:
|
|||||||
%setup -q -a 1
|
%setup -q -a 1
|
||||||
%patch1
|
%patch1
|
||||||
%patch2 -p1
|
%patch2 -p1
|
||||||
%patch3 -p1
|
|
||||||
%patch4
|
%patch4
|
||||||
%patch5 -p1
|
%patch5 -p1
|
||||||
%patch6
|
%patch6
|
||||||
@ -145,10 +143,6 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
/usr/sbin/gss_destroy_creds
|
/usr/sbin/gss_destroy_creds
|
||||||
/usr/sbin/nfsstat
|
/usr/sbin/nfsstat
|
||||||
/usr/sbin/showmount
|
/usr/sbin/showmount
|
||||||
/usr/sbin/nhfsstone
|
|
||||||
/usr/sbin/nhfsrun
|
|
||||||
/usr/sbin/nhfsnums
|
|
||||||
/usr/sbin/nhfsgraph
|
|
||||||
/usr/sbin/rcnfsserver
|
/usr/sbin/rcnfsserver
|
||||||
/usr/sbin/rcidmapd
|
/usr/sbin/rcidmapd
|
||||||
/usr/sbin/rcgssd
|
/usr/sbin/rcgssd
|
||||||
@ -173,10 +167,6 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_mandir}/man7/nfsd.7.gz
|
%{_mandir}/man7/nfsd.7.gz
|
||||||
%{_mandir}/man8/exportfs.8.gz
|
%{_mandir}/man8/exportfs.8.gz
|
||||||
%{_mandir}/man8/nfsstat.8.gz
|
%{_mandir}/man8/nfsstat.8.gz
|
||||||
%{_mandir}/man8/nhfsstone.8.gz
|
|
||||||
%{_mandir}/man8/nhfsrun.8.gz
|
|
||||||
%{_mandir}/man8/nhfsnums.8.gz
|
|
||||||
%{_mandir}/man8/nhfsgraph.8.gz
|
|
||||||
%{_mandir}/man8/showmount.8.gz
|
%{_mandir}/man8/showmount.8.gz
|
||||||
%{_mandir}/man8/mountd.8.gz
|
%{_mandir}/man8/mountd.8.gz
|
||||||
%{_mandir}/man8/rpc.gssd.8.gz
|
%{_mandir}/man8/rpc.gssd.8.gz
|
||||||
@ -192,7 +182,15 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_mandir}/man8/rpc.svcgssd.8.gz
|
%{_mandir}/man8/rpc.svcgssd.8.gz
|
||||||
%{_mandir}/man8/rpcdebug.8.gz
|
%{_mandir}/man8/rpcdebug.8.gz
|
||||||
|
|
||||||
%changelog -n nfs-utils
|
%changelog
|
||||||
|
* Tue Feb 27 2007 - ro@suse.de
|
||||||
|
- update to 1.0.12
|
||||||
|
- Fix -n option to mountd
|
||||||
|
- Document sensitive gids
|
||||||
|
- upstreamed patches deleted:
|
||||||
|
nfs-utils-anon-uid32.patch
|
||||||
|
- added e2fsprogs-devel (for libblkid)
|
||||||
|
- nhfsXXX binaries and manpages have been removed upstream
|
||||||
* Thu Jan 11 2007 - ro@suse.de
|
* Thu Jan 11 2007 - ro@suse.de
|
||||||
- moved omc xml file to /usr/share/omc and removed config tag
|
- moved omc xml file to /usr/share/omc and removed config tag
|
||||||
* Mon Jan 08 2007 - ro@suse.de
|
* Mon Jan 08 2007 - ro@suse.de
|
||||||
|
Loading…
x
Reference in New Issue
Block a user