add heimdal files
This commit is contained in:
899
net-fs/nfs-utils/ChangeLog
Normal file
899
net-fs/nfs-utils/ChangeLog
Normal file
@@ -0,0 +1,899 @@
|
||||
# ChangeLog for net-fs/nfs-utils
|
||||
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/ChangeLog,v 1.215 2013/04/13 20:02:02 vapier Exp $
|
||||
|
||||
13 Apr 2013; Mike Frysinger <vapier@gentoo.org> nfs-utils-1.2.6.ebuild,
|
||||
nfs-utils-1.2.7.ebuild:
|
||||
Force sqlite test to work even when cross-compiling #465576 by Dennis
|
||||
Schridde.
|
||||
|
||||
24 Mar 2013; Mike Frysinger <vapier@gentoo.org>
|
||||
+files/nfs-utils-1.2.7-libio.patch, nfs-utils-1.2.6.ebuild,
|
||||
nfs-utils-1.2.7.ebuild:
|
||||
Fix uClibc build w/missing libio.h #459200 by Mark Reiche.
|
||||
|
||||
*nfs-utils-1.2.7 (24 Mar 2013)
|
||||
|
||||
24 Mar 2013; Mike Frysinger <vapier@gentoo.org> +nfs-utils-1.2.7.ebuild,
|
||||
metadata.xml:
|
||||
Version bump #445288 by teidakankan.
|
||||
|
||||
24 Mar 2013; Mike Frysinger <vapier@gentoo.org> +files/nfsmount.confd,
|
||||
files/nfsmount.initd, nfs-utils-1.2.6.ebuild:
|
||||
Move net usage to conf.d (defaults are unchanged) #439660 by Matthew Schultz.
|
||||
|
||||
24 Mar 2013; Mike Frysinger <vapier@gentoo.org>
|
||||
+files/nfs-utils-1.2.7-nfsiostat-python3.patch, nfs-utils-1.2.6.ebuild:
|
||||
Make nfsiostat work under python 3 #458934 by Jim Faulkner.
|
||||
|
||||
24 Mar 2013; Mike Frysinger <vapier@gentoo.org> files/nfs.initd:
|
||||
Process /etc/exports.d/*.exports too #459600 by Joakim Tjernlund.
|
||||
|
||||
01 Jan 2013; Jeroen Roovers <jer@gentoo.org> nfs-utils-1.2.6.ebuild:
|
||||
Stable for HPPA (bug #445564).
|
||||
|
||||
01 Jan 2013; Raúl Porcel <armin76@gentoo.org> nfs-utils-1.2.6.ebuild:
|
||||
s390/sh stable wrt #445564
|
||||
|
||||
30 Dec 2012; Agostino Sarubbo <ago@gentoo.org> nfs-utils-1.2.6.ebuild:
|
||||
Stable for alpha, wrt bug #445564
|
||||
|
||||
29 Dec 2012; Agostino Sarubbo <ago@gentoo.org> nfs-utils-1.2.6.ebuild:
|
||||
Stable for sparc, wrt bug #445564
|
||||
|
||||
18 Dec 2012; Agostino Sarubbo <ago@gentoo.org> nfs-utils-1.2.6.ebuild:
|
||||
Stable for ia64, wrt bug #445564
|
||||
|
||||
06 Dec 2012; Pawel Hajdan jr <phajdan.jr@gentoo.org> nfs-utils-1.2.6.ebuild:
|
||||
x86 stable wrt bug #445564
|
||||
|
||||
04 Dec 2012; Anthony G. Basile <blueness@gentoo.org> nfs-utils-1.2.6.ebuild:
|
||||
stable arm ppc ppc64, bug #445564
|
||||
|
||||
02 Dec 2012; Markos Chandras <hwoarang@gentoo.org> nfs-utils-1.2.6.ebuild:
|
||||
Stable on amd64 wrt bug #445564
|
||||
|
||||
16 Sep 2012; Mike Frysinger <vapier@gentoo.org> nfs-utils-1.2.6.ebuild:
|
||||
Pull in sqlite when USE=nfsdcld #433062 by Guillaume Castagnino.
|
||||
|
||||
18 May 2012; Mike Frysinger <vapier@gentoo.org> nfs-utils-1.2.6.ebuild:
|
||||
Update request-key.d config settings #415625 by Maciej Szmigiero.
|
||||
|
||||
17 May 2012; Diego E. Pettenò <flameeyes@gentoo.org>
|
||||
+files/nfs-utils-1.2.6-conditionals.patch, nfs-utils-1.2.6.ebuild:
|
||||
Fix build with USE=-nfsv4.
|
||||
|
||||
*nfs-utils-1.2.6 (17 May 2012)
|
||||
|
||||
17 May 2012; Mike Frysinger <vapier@gentoo.org>
|
||||
+files/nfs-utils-1.2.6-cross-build.patch,
|
||||
+files/nfs-utils-1.2.6-osd-install.patch, +nfs-utils-1.2.6.ebuild,
|
||||
metadata.xml:
|
||||
Version bump #416189 by teidakankan.
|
||||
|
||||
03 May 2012; Jeff Horelick <jdhore@gentoo.org> nfs-utils-1.2.4.ebuild,
|
||||
nfs-utils-1.2.5.ebuild:
|
||||
dev-util/pkgconfig -> virtual/pkgconfig
|
||||
|
||||
16 Jan 2012; Justin Lecher <jlec@gentoo.org> nfs-utils-1.2.5.ebuild:
|
||||
Don't use default src_install function, in order to install only valid docs,
|
||||
thanks ssuominen
|
||||
|
||||
16 Jan 2012; Justin Lecher <jlec@gentoo.org> nfs-utils-1.2.5.ebuild:
|
||||
Add missing dep on sys-fs/lvm2, #399051; corrected target path in src install
|
||||
$ED to $D
|
||||
|
||||
14 Jan 2012; Mike Frysinger <vapier@gentoo.org> nfs-utils-1.2.5.ebuild:
|
||||
Require newer version of libgssglue #398901 by Marien Zwart.
|
||||
|
||||
*nfs-utils-1.2.5 (14 Jan 2012)
|
||||
|
||||
14 Jan 2012; Mike Frysinger <vapier@gentoo.org> +nfs-utils-1.2.5.ebuild:
|
||||
Version bump #384465 by teidakankan with updates by Justin Lecher.
|
||||
|
||||
28 Dec 2011; <swift@gentoo.org> nfs-utils-1.2.4.ebuild:
|
||||
Add selinux triggered dependencies on selinux-rpc and selinux-rpcbind
|
||||
|
||||
08 Dec 2011; Mike Frysinger <vapier@gentoo.org> nfs-utils-1.2.4.ebuild,
|
||||
+files/nfs-utils-1.2.4-no-nfsctl.patch:
|
||||
Fix building with arches that do not support nfsctl syscalls.
|
||||
|
||||
17 Oct 2011; Mike Frysinger <vapier@gentoo.org> nfs-utils-1.2.4.ebuild:
|
||||
Pull in pkg-config since we use it #387365 by bay.
|
||||
|
||||
18 Sep 2011; Mike Frysinger <vapier@gentoo.org> files/nfs.initd:
|
||||
Convert to extra_started_commands #381887 by teidakankan.
|
||||
|
||||
02 Sep 2011; Mike Frysinger <vapier@gentoo.org> nfs-utils-1.2.4.ebuild,
|
||||
+files/nfs-utils-1.2.4-cross-build.patch:
|
||||
Fix cross-compiling with native helper tools.
|
||||
|
||||
02 Sep 2011; Mike Frysinger <vapier@gentoo.org> nfs-utils-1.2.4.ebuild,
|
||||
+files/nfs-utils-1.2.4-nfsidmap.patch, metadata.xml:
|
||||
Add USE="nfsidmap nfsv41" to control new deps and features #381459 by
|
||||
Krzysztof Pawlik.
|
||||
|
||||
01 Sep 2011; Diego E. Pettenò <flameeyes@gentoo.org> nfs-utils-1.2.4.ebuild,
|
||||
+files/nfs-utils-1.2.4-conditional.patch:
|
||||
Fix build with USE=-nfsv4, by importing two (folded) patches from git.
|
||||
|
||||
*nfs-utils-1.2.4 (01 Sep 2011)
|
||||
|
||||
01 Sep 2011; Mike Frysinger <vapier@gentoo.org> +nfs-utils-1.2.4.ebuild,
|
||||
+files/nfs-utils-1.2.4-exportfs-skip-dir.patch,
|
||||
+files/nfs-utils-1.2.4-exportfs-xlog.patch:
|
||||
Version bump #373651 by teidakankan.
|
||||
|
||||
01 Sep 2011; Mike Frysinger <vapier@gentoo.org> files/nfs.initd:
|
||||
Drop --oknodo usage #377765 by Michael Mair-Keimberger.
|
||||
|
||||
19 Jun 2011; Mike Frysinger <vapier@gentoo.org> files/rpc.pipefs.initd:
|
||||
Remove shortcuts that result in silent errors #372297 by Sebastian Pipping.
|
||||
|
||||
29 May 2011; Mike Frysinger <vapier@gentoo.org> nfs-utils-1.2.3-r1.ebuild:
|
||||
Make sure /var/lib/nfs exists before copying into it #368505 by William
|
||||
Throwe.
|
||||
|
||||
24 Apr 2011; Raúl Porcel <armin76@gentoo.org> nfs-utils-1.2.3-r1.ebuild:
|
||||
sparc stable wrt #358509
|
||||
|
||||
06 Apr 2011; Mike Frysinger <vapier@gentoo.org> files/nfs.confd,
|
||||
files/nfs.initd:
|
||||
Add conf.d option for tweaking nfsd settings #361473 by John Feuerstein.
|
||||
|
||||
24 Mar 2011; Thomas Kahle <tomka@gentoo.org> nfs-utils-1.2.3-r1.ebuild:
|
||||
x86 stable per bug 358509
|
||||
|
||||
18 Mar 2011; Mike Frysinger <vapier@gentoo.org> nfs-utils-1.2.3-r1.ebuild:
|
||||
Mark alpha/arm/hppa/ia64/s390/sh stable #358509.
|
||||
|
||||
14 Mar 2011; Markos Chandras <hwoarang@gentoo.org> nfs-utils-1.2.3-r1.ebuild:
|
||||
Stable on amd64 wrt bug #358509
|
||||
|
||||
13 Mar 2011; Kacper Kowalik <xarthisius@gentoo.org>
|
||||
nfs-utils-1.2.3-r1.ebuild:
|
||||
ppc/ppc64 stable wrt #358509
|
||||
|
||||
*nfs-utils-1.2.3-r1 (14 Nov 2010)
|
||||
|
||||
14 Nov 2010; Mike Frysinger <vapier@gentoo.org>
|
||||
+nfs-utils-1.2.3-r1.ebuild,
|
||||
+files/nfs-utils-1.2.3-ti-rpc-static-ports.patch:
|
||||
Add fix from upstream for ti-rpc static port bindings #340797 by John J.
|
||||
Aylward.
|
||||
|
||||
*nfs-utils-1.2.3 (08 Oct 2010)
|
||||
|
||||
08 Oct 2010; Mike Frysinger <vapier@gentoo.org> +nfs-utils-1.2.3.ebuild:
|
||||
Version bump #339288.
|
||||
|
||||
19 Sep 2010; Mike Frysinger <vapier@gentoo.org> nfs-utils-1.2.2-r2.ebuild:
|
||||
Fix multilib dir handling with backed up /var/lib/nfs.
|
||||
|
||||
07 Aug 2010; Mike Frysinger <vapier@gentoo.org> files/nfs.initd:
|
||||
Port logic over for detecting rpc.gssd needs in nfs init.d script #330795 by
|
||||
Jared.
|
||||
|
||||
02 Aug 2010; Diego E. Pettenò <flameeyes@gentoo.org> files/nfs.initd:
|
||||
Only require rpc.svcgssd if sec=krb is used rather than sec=sys (default).
|
||||
Thanks to Jared in bug #330795.
|
||||
|
||||
26 Jul 2010; Diego E. Pettenò <flameeyes@gentoo.org> files/nfs.initd:
|
||||
Fix nfs init script dependency generation for kerberos exports.
|
||||
|
||||
*nfs-utils-1.2.2-r2 (23 Jul 2010)
|
||||
|
||||
23 Jul 2010; Diego E. Pettenò <flameeyes@gentoo.org>
|
||||
+nfs-utils-1.2.2-r2.ebuild, +files/nfs-utils-1.2.2-nfsv4.patch:
|
||||
Fix configure script when enabling NFSv4 and Kerberos, some tests would
|
||||
have been skipped.
|
||||
|
||||
28 Jun 2010; Mike Frysinger <vapier@gentoo.org> files/nfsmount.initd:
|
||||
Fix idmapd/gssd dep calculation with nfs mounts #324725 by Михаил.
|
||||
|
||||
*nfs-utils-1.2.2-r1 (20 Apr 2010)
|
||||
|
||||
20 Apr 2010; Mike Frysinger <vapier@gentoo.org>
|
||||
+nfs-utils-1.2.2-r1.ebuild, +files/nfs-utils-1.2.2-optional-libcap.patch:
|
||||
Make libcap support optional via USE=caps #314777.
|
||||
|
||||
20 Apr 2010; Mike Frysinger <vapier@gentoo.org> nfs-utils-1.2.2.ebuild:
|
||||
Disable tests since they require no rpc.statd to be running on the system
|
||||
beforehand #315573 by Pacho Ramos.
|
||||
|
||||
*nfs-utils-1.2.2 (11 Apr 2010)
|
||||
|
||||
11 Apr 2010; Mike Frysinger <vapier@gentoo.org> +nfs-utils-1.2.2.ebuild:
|
||||
Version bump #314603 by Tim Harder.
|
||||
|
||||
31 Mar 2010; <solar@gentoo.org> nfs-utils-1.1.4-r1.ebuild,
|
||||
nfs-utils-1.1.5.ebuild, nfs-utils-1.1.6.ebuild, nfs-utils-1.1.6-r1.ebuild,
|
||||
nfs-utils-1.2.0.ebuild, nfs-utils-1.2.1.ebuild:
|
||||
- elibc_glibc has to be defined in IUSE= for profiles that are unable to
|
||||
use.force that flag bug #312085
|
||||
|
||||
22 Nov 2009; Sven Wegener <swegener@gentoo.org> nfs-utils-1.2.1.ebuild:
|
||||
Use src_configure and src_prepare for EAPI-2 compliance, this should fix
|
||||
bug #294082.
|
||||
|
||||
*nfs-utils-1.2.1 (22 Nov 2009)
|
||||
|
||||
22 Nov 2009; Mike Frysinger <vapier@gentoo.org> +nfs-utils-1.2.1.ebuild:
|
||||
Version bump #293523 by Florian Manschwetus and update kerberos depends
|
||||
#274793 by Andrew Savchenko.
|
||||
|
||||
11 Sep 2009; Zac Medico <zmedico@gentoo.org> nfs-utils-1.2.0.ebuild:
|
||||
Move !net-nds/portmap out of DEPEND, as per bug #108449, comment #4.
|
||||
|
||||
25 Aug 2009; Mike Frysinger <vapier@gentoo.org>
|
||||
-files/nfs-utils-1.1.2-rpcgen-ioctl.patch, nfs-utils-1.1.4-r1.ebuild,
|
||||
+files/nfs-utils-1.1.4-rpcgen-ioctl.patch, nfs-utils-1.1.5.ebuild,
|
||||
nfs-utils-1.1.6.ebuild, nfs-utils-1.1.6-r1.ebuild:
|
||||
Update rpcgen ioctl patch to reflect changes in upstream.
|
||||
|
||||
*nfs-utils-1.2.0 (02 Jun 2009)
|
||||
|
||||
02 Jun 2009; Mike Frysinger <vapier@gentoo.org> +nfs-utils-1.2.0.ebuild:
|
||||
Version bump.
|
||||
|
||||
30 May 2009; Mike Frysinger <vapier@gentoo.org> nfs-utils-1.1.6-r1.ebuild,
|
||||
files/nfs.confd, files/nfs.initd:
|
||||
Have nfs init.d depend on rpc.idmapd by default when USE=nfsv4, but allow
|
||||
people to disable it via conf.d #234132 by roger.
|
||||
|
||||
30 May 2009; Mike Frysinger <vapier@gentoo.org>
|
||||
+nfs-utils-1.1.6-r1.ebuild, metadata.xml:
|
||||
Add support for USE=ipv6 #261926, switch to rpcbind over portmap, switch
|
||||
to libtirpc all the time, and make nfs3/nfs4 optional.
|
||||
|
||||
*nfs-utils-1.1.6-r1 (30 May 2009)
|
||||
|
||||
30 May 2009; Mike Frysinger <vapier@gentoo.org>
|
||||
+nfs-utils-1.1.6-r1.ebuild:
|
||||
Add support for USE=ipv6 #261926, switch to rpcbind over portmap, switch
|
||||
to libtirpc all the time, and make nfs3/nfs4 optional.
|
||||
|
||||
*nfs-utils-1.1.6 (09 May 2009)
|
||||
|
||||
09 May 2009; Mike Frysinger <vapier@gentoo.org> +nfs-utils-1.1.6.ebuild:
|
||||
Version bump.
|
||||
|
||||
25 Mar 2009; Raúl Porcel <armin76@gentoo.org> nfs-utils-1.1.4-r1.ebuild:
|
||||
arm/ia64/s390/sh/sparc stable wrt #261334
|
||||
|
||||
18 Mar 2009; Joseph Jezak <josejx@gentoo.org> nfs-utils-1.1.4-r1.ebuild:
|
||||
Marked ppc stable for bug #261334.
|
||||
|
||||
15 Mar 2009; Markus Meier <maekke@gentoo.org> nfs-utils-1.1.4-r1.ebuild:
|
||||
x86 stable, bug #261334
|
||||
|
||||
15 Mar 2009; Brent Baude <ranger@gentoo.org> nfs-utils-1.1.4-r1.ebuild:
|
||||
Marking nfs-utils-1.1.4-r1 ppc64 for bug 261334
|
||||
|
||||
14 Mar 2009; Mike Frysinger <vapier@gentoo.org> files/rpc.idmapd.initd:
|
||||
Add a warning upon failure that DNOTIFY is needed #261697 by Pacho Ramos.
|
||||
|
||||
11 Mar 2009; Tobias Klausmann <klausman@gentoo.org>
|
||||
nfs-utils-1.1.4-r1.ebuild:
|
||||
Stable on alpha, bug #261334
|
||||
|
||||
10 Mar 2009; Dawid Węgliński <cla@gentoo.org> nfs-utils-1.1.4-r1.ebuild:
|
||||
Stable on amd64 (bug #261334)
|
||||
|
||||
*nfs-utils-1.1.5 (06 Mar 2009)
|
||||
|
||||
06 Mar 2009; Mike Frysinger <vapier@gentoo.org> +nfs-utils-1.1.5.ebuild:
|
||||
Version bump.
|
||||
|
||||
06 Mar 2009; Jeroen Roovers <jer@gentoo.org> nfs-utils-1.1.4-r1.ebuild:
|
||||
Stable for HPPA (bug #261334).
|
||||
|
||||
27 Feb 2009; Mike Frysinger <vapier@gentoo.org> files/nfs.initd:
|
||||
Fixup bashism in init.d script #260149 by Timothy Redaelli.
|
||||
|
||||
*nfs-utils-1.1.4-r1 (31 Jan 2009)
|
||||
|
||||
31 Jan 2009; Mike Frysinger <vapier@gentoo.org>
|
||||
+files/nfs-utils-1.1.4-ascii-man.patch,
|
||||
+files/nfs-utils-1.1.4-mtab-sym.patch,
|
||||
+files/nfs-utils-1.1.4-no-exec.patch, +nfs-utils-1.1.4-r1.ebuild:
|
||||
Add some fixes from Debian and push out init.d fixes.
|
||||
|
||||
31 Jan 2009; Mike Frysinger <vapier@gentoo.org> files/nfs.initd:
|
||||
Also use rpc.nfsd to try to shutdown nfsd #228127 by Maurice Volaski.
|
||||
|
||||
31 Jan 2009; Mike Frysinger <vapier@gentoo.org> files/rpc.statd.initd:
|
||||
Make sure stop() works even if rpc.statd is dead so init.d doesnt fake
|
||||
stop silently.
|
||||
|
||||
31 Jan 2009; Mike Frysinger <vapier@gentoo.org> files/nfs.initd:
|
||||
Add /proc/fs/nfs -> /proc/fs/nfsd fix again.
|
||||
|
||||
31 Jan 2009; Mike Frysinger <vapier@gentoo.org> files/nfs.initd:
|
||||
Restart rpc.idmapd if nfsd is a module #220747 by Jochen Radmacher.
|
||||
|
||||
30 Dec 2008; Friedrich Oslage <bluebird@gentoo.org>
|
||||
nfs-utils-1.1.3.ebuild:
|
||||
Stable on sparc, security bug #242696
|
||||
|
||||
09 Nov 2008; Mike Frysinger <vapier@gentoo.org> nfs-utils-1.1.4.ebuild:
|
||||
Always own /etc/exports from now on #246021 by Ian Kelling.
|
||||
|
||||
08 Nov 2008; Raúl Porcel <armin76@gentoo.org> nfs-utils-1.1.3.ebuild:
|
||||
alpha/ia64 stable wrt #242696
|
||||
|
||||
02 Nov 2008; Tobias Scherbaum <dertobi123@gentoo.org>
|
||||
nfs-utils-1.1.3.ebuild:
|
||||
ppc stable, bug #242696
|
||||
|
||||
30 Oct 2008; Jeroen Roovers <jer@gentoo.org> nfs-utils-1.1.3.ebuild:
|
||||
Stable for HPPA (bug #242696).
|
||||
|
||||
28 Oct 2008; Brent Baude <ranger@gentoo.org> nfs-utils-1.1.3.ebuild:
|
||||
Marking nfs-utils-1.1.3 ppc64 for bug 242696
|
||||
|
||||
27 Oct 2008; Markus Meier <maekke@gentoo.org> nfs-utils-1.1.3.ebuild:
|
||||
amd64/x86 stable, bug #242696
|
||||
|
||||
26 Oct 2008; Mike Frysinger <vapier@gentoo.org> files/rpc.gssd.initd,
|
||||
files/rpc.idmapd.initd, +files/rpc.pipefs.initd, files/rpc.svcgssd.initd,
|
||||
nfs-utils-1.0.12-r5.ebuild, nfs-utils-1.1.0-r1.ebuild,
|
||||
nfs-utils-1.1.1.ebuild, nfs-utils-1.1.1-r1.ebuild, nfs-utils-1.1.2.ebuild,
|
||||
nfs-utils-1.1.2-r1.ebuild, nfs-utils-1.1.3.ebuild, nfs-utils-1.1.4.ebuild:
|
||||
Split rpc.pipefs mounting into its own init.d script so we handle parallel
|
||||
execution properly #238593 by Michele Schiavo.
|
||||
|
||||
26 Oct 2008; Mike Frysinger <vapier@gentoo.org> nfs-utils-1.1.4.ebuild:
|
||||
Force newer libnfsidmap as it provides idmapd.conf #243066.
|
||||
|
||||
*nfs-utils-1.1.4 (18 Oct 2008)
|
||||
|
||||
18 Oct 2008; Mike Frysinger <vapier@gentoo.org> +nfs-utils-1.1.4.ebuild:
|
||||
Version bump.
|
||||
|
||||
*nfs-utils-1.1.3 (16 Aug 2008)
|
||||
|
||||
16 Aug 2008; Mike Frysinger <vapier@gentoo.org> files/rpc.gssd.initd,
|
||||
files/rpc.svcgssd.initd, +nfs-utils-1.1.3.ebuild:
|
||||
Version bump. Fix arg passing for gssd binaries #232387 by Michele
|
||||
Schiavo. Depend on e2fsprogs-libs for libblkid #221773 by Triffid Hunter.
|
||||
|
||||
16 Aug 2008; Doug Goldstein <cardoe@gentoo.org> metadata.xml:
|
||||
add GLEP 56 USE flag desc from use.local.desc
|
||||
|
||||
*nfs-utils-1.1.2-r1 (04 May 2008)
|
||||
|
||||
04 May 2008; Mike Frysinger <vapier@gentoo.org>
|
||||
+files/nfs-utils-1.1.2-mount-eacces.patch, files/nfs.initd,
|
||||
files/nfsmount.initd, files/rpc.gssd.initd, files/rpc.idmapd.initd,
|
||||
files/rpc.svcgssd.initd, +nfs-utils-1.1.2-r1.ebuild:
|
||||
Dont bother checking for config anymore #219495 by Davide Pesavento. Load
|
||||
sunrpc module if rpc_pipefs is not available #219566 by Martin von Gagern.
|
||||
Add change from Fedora to exit immediately upon perm denied errors when
|
||||
mounting #219729 by Stefaan De Roeck.
|
||||
|
||||
21 Apr 2008; Mike Frysinger <vapier@gentoo.org> files/nfsmount.initd:
|
||||
Use non-common awk exit values so that the default exit values dont trigger
|
||||
false positives #218713 by Paolo Pedroni.
|
||||
|
||||
21 Apr 2008; Mike Frysinger <vapier@gentoo.org> files/rpc.gssd.initd,
|
||||
files/rpc.svcgssd.initd:
|
||||
Fix typo in start() func in new gssd init.d scripts as pointed out by Ryan
|
||||
Tandy #218665.
|
||||
|
||||
20 Apr 2008; Diego Pettenò <flameeyes@gentoo.org> nfs-utils-1.1.2.ebuild:
|
||||
Fix building without kerberos and with nonfsv4 USE flag enabled. See bug
|
||||
#218595.
|
||||
|
||||
20 Apr 2008; Mike Frysinger <vapier@gentoo.org>
|
||||
+files/nfs-utils-1.1.2-rpcgen-ioctl.patch, nfs-utils-1.1.2.ebuild:
|
||||
Make sure rpcgen includes sys/ioctl.h #174393.
|
||||
|
||||
*nfs-utils-1.1.2 (20 Apr 2008)
|
||||
|
||||
20 Apr 2008; Mike Frysinger <vapier@gentoo.org> +nfs-utils-1.1.2.ebuild:
|
||||
Version bump.
|
||||
|
||||
*nfs-utils-1.1.1-r1 (20 Apr 2008)
|
||||
|
||||
20 Apr 2008; Mike Frysinger <vapier@gentoo.org>
|
||||
+nfs-utils-1.1.1-r1.ebuild:
|
||||
Push out accumulated changes.
|
||||
|
||||
20 Apr 2008; Mike Frysinger <vapier@gentoo.org> files/nfs.initd,
|
||||
files/rpc.gssd.initd, +files/rpc.svcgssd.initd,
|
||||
nfs-utils-1.0.12-r5.ebuild, nfs-utils-1.1.0-r1.ebuild,
|
||||
nfs-utils-1.1.1.ebuild:
|
||||
Split the gssd and svcgssd init.d scripts #186037 by Paul B. Henson.
|
||||
|
||||
20 Apr 2008; Mike Frysinger <vapier@gentoo.org> nfs-utils-1.1.1.ebuild:
|
||||
Only leverage kerberos when USE="-nonfsv4" #212160.
|
||||
|
||||
20 Apr 2008; Mike Frysinger <vapier@gentoo.org> files/nfsmount.initd:
|
||||
Fix nfs4/idmapd detection #213384 by Marek Szuba.
|
||||
|
||||
14 Jan 2008; Mike Frysinger <vapier@gentoo.org> files/nfs.initd,
|
||||
files/nfsmount.initd:
|
||||
Until newer baselayout stabilizes, only use config() when it exists #203906.
|
||||
|
||||
08 Jan 2008; Raúl Porcel <armin76@gentoo.org> nfs-utils-1.1.0-r1.ebuild:
|
||||
alpha/ia64/sparc stable wrt #201552
|
||||
|
||||
08 Jan 2008; Jeroen Roovers <jer@gentoo.org> nfs-utils-1.1.0-r1.ebuild:
|
||||
Stable for HPPA (bug #201552).
|
||||
|
||||
30 Dec 2007; Mike Frysinger <vapier@gentoo.org> files/nfs.initd,
|
||||
files/nfsmount.initd:
|
||||
Make sure /etc/exports and /etc/fstab exist to account for the stupid cases
|
||||
of running these init.d scripts without anything useful to do.
|
||||
|
||||
30 Dec 2007; Samuli Suominen <drac@gentoo.org> nfs-utils-1.1.0-r1.ebuild:
|
||||
amd64 stable wrt #201552
|
||||
|
||||
29 Dec 2007; nixnut <nixnut@gentoo.org> nfs-utils-1.1.0-r1.ebuild:
|
||||
Stable on ppc wrt bug 201552
|
||||
|
||||
29 Dec 2007; Mike Frysinger <vapier@gentoo.org> files/nfsmount.initd:
|
||||
Make sure we check for "nfs" and not "nfsd" when doing client filesystem setup.
|
||||
|
||||
*nfs-utils-1.1.1 (29 Dec 2007)
|
||||
|
||||
29 Dec 2007; Mike Frysinger <vapier@gentoo.org> files/nfs.initd,
|
||||
files/rpc.gssd.initd, files/rpc.idmapd.initd, files/rpc.statd.initd,
|
||||
+nfs-utils-1.1.1.ebuild:
|
||||
Version bump #197336 by Francisco Javier. Tweak nfs init.d needs based on
|
||||
exportfs #172431. Only mount nfsd fs in nfs init.d script. Mount rpc_pipefs
|
||||
in rpc.idmapd and rpc.gssd after making sure the dir exists #180425 by
|
||||
Maurice Volaski.
|
||||
|
||||
29 Dec 2007; Mike Frysinger <vapier@gentoo.org> files/rpc.statd.initd:
|
||||
Look up the full path of rpc.statd to avoid matching the init.d script
|
||||
#203646 by legate.
|
||||
|
||||
15 Oct 2007; Markus Rothe <corsair@gentoo.org> nfs-utils-1.1.0-r1.ebuild:
|
||||
Stable on ppc64
|
||||
|
||||
21 Sep 2007; Christian Faulhammer <opfer@gentoo.org>
|
||||
nfs-utils-1.1.0-r1.ebuild:
|
||||
stable x86, bug 190182
|
||||
|
||||
*nfs-utils-1.1.0-r1 (15 Sep 2007)
|
||||
*nfs-utils-1.0.12-r1 (15 Sep 2007)
|
||||
*nfs-utils-1.0.12-r5 (15 Sep 2007)
|
||||
|
||||
15 Sep 2007; Mike Frysinger <vapier@gentoo.org>
|
||||
+nfs-utils-1.0.12-r1.ebuild, +nfs-utils-1.0.12-r5.ebuild,
|
||||
+nfs-utils-1.1.0-r1.ebuild:
|
||||
Force bumpage for versions to clean up libgssglue nightmare #191746.
|
||||
|
||||
23 Aug 2007; Joshua Kinard <kumba@gentoo.org> nfs-utils-1.0.12-r3.ebuild:
|
||||
Stable on mips.
|
||||
|
||||
*nfs-utils-1.0.12-r4 (16 Aug 2007)
|
||||
|
||||
16 Aug 2007; Mike Frysinger <vapier@gentoo.org> files/nfs.initd,
|
||||
files/nfsmount.initd, +nfs-utils-1.0.12-r4.ebuild:
|
||||
Only force kerb init.d scripts when the NFSv4 mount needs it #180428 by
|
||||
Maurice Volaski. Load the nfs module in the nfsmount client script, not
|
||||
nfsd.
|
||||
|
||||
13 May 2007; Mike Frysinger <vapier@gentoo.org> nfs-utils-1.1.0.ebuild:
|
||||
Make sure we pull in >=app-crypt/libgssapi-0.11 #178217 by Markus Ullmann.
|
||||
|
||||
*nfs-utils-1.1.0 (12 May 2007)
|
||||
|
||||
12 May 2007; Mike Frysinger <vapier@gentoo.org> files/nfs.initd,
|
||||
files/nfsmount.initd, files/rpc.gssd.initd, files/rpc.idmapd.initd,
|
||||
files/rpc.statd.initd, +nfs-utils-1.1.0.ebuild:
|
||||
Version bump.
|
||||
|
||||
06 May 2007; Marius Mauch <genone@gentoo.org> nfs-utils-1.0.6-r6.ebuild:
|
||||
Replacing einfo with elog
|
||||
|
||||
07 Apr 2007; Mike Frysinger <vapier@gentoo.org> nfs-utils-1.0.12-r3.ebuild:
|
||||
Bind rpc.gssd install to USE=kerberos rather than USE=!nonfsv4
|
||||
#172431 by emerald.
|
||||
|
||||
*nfs-utils-1.0.12-r3 (02 Apr 2007)
|
||||
|
||||
02 Apr 2007; Roy Marples <uberlord@gentoo.org> files/nfs.initd,
|
||||
files/rpc.gssd.initd, files/rpc.idmapd.initd, files/rpc.statd.initd,
|
||||
+nfs-utils-1.0.12-r3.ebuild:
|
||||
Remove some bashisms and support baselayout-2 restart option.
|
||||
|
||||
27 Mar 2007; Chris Gianelloni <wolf31o2@gentoo.org>
|
||||
nfs-utils-1.0.12.ebuild:
|
||||
Stable on alpha/amd64 wrt bug #172133.
|
||||
|
||||
26 Mar 2007; Gustavo Zacarias <gustavoz@gentoo.org>
|
||||
nfs-utils-1.0.12.ebuild:
|
||||
Stable on sparc wrt #172133
|
||||
|
||||
26 Mar 2007; Jeroen Roovers <jer@gentoo.org> nfs-utils-1.0.12.ebuild:
|
||||
Stable for HPPA (bug #172133).
|
||||
|
||||
26 Mar 2007; Alec Warner <antarus@gentoo.org> nfs-utils-1.0.6-r6.ebuild,
|
||||
nfs-utils-1.0.7-r2.ebuild, nfs-utils-1.0.9.ebuild,
|
||||
nfs-utils-1.0.10.ebuild, nfs-utils-1.0.12.ebuild,
|
||||
nfs-utils-1.0.12-r1.ebuild, nfs-utils-1.0.12-r2.ebuild:
|
||||
Remove dependency on portage: ref bug 162516
|
||||
|
||||
*nfs-utils-1.0.12-r2 (25 Mar 2007)
|
||||
|
||||
25 Mar 2007; Mike Frysinger <vapier@gentoo.org> files/nfs.confd,
|
||||
+files/nfs.initd, +files/nfsmount.initd, +files/rpc.gssd.initd,
|
||||
+files/rpc.idmapd.initd, +files/rpc.statd.initd,
|
||||
+nfs-utils-1.0.12-r2.ebuild:
|
||||
Split init.d scripts up so client/server configurations are handled properly
|
||||
#101624 by Tim Hobbs. Special thanks to Daniel Burr and Thomas Bettler.
|
||||
|
||||
25 Mar 2007; Tobias Scherbaum <dertobi123@gentoo.org>
|
||||
nfs-utils-1.0.12.ebuild:
|
||||
Stable on ppc wrt bug #172133.
|
||||
|
||||
25 Mar 2007; Andrej Kacian <ticho@gentoo.org> nfs-utils-1.0.12.ebuild:
|
||||
Stable on x86, bug #172133.
|
||||
|
||||
25 Mar 2007; Markus Rothe <corsair@gentoo.org> nfs-utils-1.0.12.ebuild:
|
||||
Stable on ppc64; bug #172133
|
||||
|
||||
24 Mar 2007; Mike Frysinger <vapier@gentoo.org> files/nfs:
|
||||
Mount nfsd filesystem at /proc/fs/nfsd rather than /proc/fs/nfs #172019.
|
||||
|
||||
*nfs-utils-1.0.12-r1 (24 Mar 2007)
|
||||
|
||||
24 Mar 2007; Mike Frysinger <vapier@gentoo.org>
|
||||
+files/nfs-utils-1.0.12-mountd-memleak.patch, +nfs-utils-1.0.12-r1.ebuild:
|
||||
Grab fix from upstream for memleak in mountd #172014 by Bardur Arantsson.
|
||||
|
||||
21 Mar 2007; Chris Gianelloni <wolf31o2@gentoo.org>
|
||||
nfs-utils-1.0.10.ebuild:
|
||||
Stable on amd64 wrt bug #167664.
|
||||
|
||||
16 Mar 2007; nixnut <nixnut@gentoo.org> nfs-utils-1.0.10.ebuild:
|
||||
Stable on ppc wrt bug 167664
|
||||
|
||||
*nfs-utils-1.0.12 (27 Feb 2007)
|
||||
|
||||
27 Feb 2007; Mike Frysinger <vapier@gentoo.org> +nfs-utils-1.0.12.ebuild:
|
||||
Version bump.
|
||||
|
||||
23 Feb 2007; Markus Rothe <corsair@gentoo.org> nfs-utils-1.0.10.ebuild:
|
||||
Stable on ppc64; bug #167664
|
||||
|
||||
23 Feb 2007; Christian Faulhammer <opfer@gentoo.org>
|
||||
nfs-utils-1.0.10.ebuild:
|
||||
stable x86; bug 167664
|
||||
|
||||
10 Jan 2007; Roy Marples <uberlord@gentoo.org> files/nfs:
|
||||
Use --name for s-s-d starting nfsd so baselayout-1.13 correctly finds it.
|
||||
|
||||
05 Jan 2007; Diego Pettenò <flameeyes@gentoo.org>
|
||||
nfs-utils-1.0.6-r6.ebuild:
|
||||
Remove gnuconfig inherit.
|
||||
|
||||
28 Dec 2006; Gustavo Zacarias <gustavoz@gentoo.org>
|
||||
nfs-utils-1.0.10.ebuild:
|
||||
Stable on sparc
|
||||
|
||||
04 Dec 2006; Jeroen Roovers <jer@gentoo.org> nfs-utils-1.0.10.ebuild:
|
||||
Stable for HPPA.
|
||||
|
||||
23 Oct 2006; Mike Frysinger <vapier@gentoo.org>
|
||||
+files/nfs-utils-1.0.10-uts-release.patch, nfs-utils-1.0.10.ebuild:
|
||||
Fix building with linux-headers-2.6.18+.
|
||||
|
||||
21 Oct 2006; Aron Griffis <agriffis@gentoo.org> nfs-utils-1.0.10.ebuild:
|
||||
Mark 1.0.10 stable on alpha/ia64
|
||||
|
||||
*nfs-utils-1.0.10 (22 Aug 2006)
|
||||
|
||||
22 Aug 2006; Mike Frysinger <vapier@gentoo.org> +nfs-utils-1.0.10.ebuild:
|
||||
Version bump.
|
||||
|
||||
*nfs-utils-1.0.9 (16 Jul 2006)
|
||||
|
||||
16 Jul 2006; Mike Frysinger <vapier@gentoo.org> +nfs-utils-1.0.9.ebuild:
|
||||
Version bump.
|
||||
|
||||
*nfs-utils-1.0.8 (10 Jun 2006)
|
||||
|
||||
10 Jun 2006; Mike Frysinger <vapier@gentoo.org> +nfs-utils-1.0.8.ebuild:
|
||||
Version bump #136038 by Mario Fetka.
|
||||
|
||||
09 Mar 2006; Mike Frysinger <vapier@gentoo.org>
|
||||
+files/nfs-utils-1.0.7-no-stripping.patch, nfs-utils-1.0.7-r2.ebuild:
|
||||
Let portage strip binaries.
|
||||
|
||||
29 Jan 2006; Mike Frysinger <vapier@gentoo.org>
|
||||
+files/nfs-utils-1.0.6-usn36.patch, -files/nfs-utils-1.0.6-usn36.patch.gz,
|
||||
nfs-utils-1.0.6-r6.ebuild:
|
||||
Uncompress patch #120673 by Simon Stelling.
|
||||
|
||||
*nfs-utils-1.0.7-r2 (08 Oct 2005)
|
||||
|
||||
08 Oct 2005; Mike Frysinger <vapier@gentoo.org>
|
||||
+files/nfs-utils-1.0.7-man-pages.patch, files/nfs, files/nfs.confd,
|
||||
+nfs-utils-1.0.7-r2.ebuild:
|
||||
Add support for starting/stopping gssd daemons #108276 and installing their
|
||||
config files. Also tweak the man-pages SEE ALSO #107991.
|
||||
|
||||
23 Mar 2005; Jeremy Huddleston <eradicator@gentoo.org> files/nfsmount:
|
||||
Corrected init script to use 'svc_stop; svc_start' and not 'stop; start'.
|
||||
|
||||
15 Mar 2005; Seemant Kulleen <seemant@gentoo.org>
|
||||
nfs-utils-1.0.7-r1.ebuild:
|
||||
add kerberos to IUSE
|
||||
|
||||
*nfs-utils-1.0.7-r1 (15 Mar 2005)
|
||||
|
||||
15 Mar 2005; Mike Frysinger <vapier@gentoo.org> files/nfs,
|
||||
files/nfs.confd, -nfs-utils-1.0.7.ebuild, +nfs-utils-1.0.7-r1.ebuild:
|
||||
Add support for integrated idmapd #71607 by Keith M Wesolowski.
|
||||
|
||||
*nfs-utils-1.0.7 (04 Feb 2005)
|
||||
|
||||
04 Feb 2005; Aron Griffis <agriffis@gentoo.org> +nfs-utils-1.0.7.ebuild:
|
||||
Bump to 1.0.7. New local USE-flag nfsv4 since that pulls in mit-krb5 which
|
||||
has its own problems
|
||||
|
||||
15 Jan 2005; Robin H. Johnson <robbat2@gentoo.org> :
|
||||
Fix digest, bug #78168.
|
||||
|
||||
15 Jan 2005; <solar@gentoo.org> +files/nfs-utils-1.0.6-uclibc.patch,
|
||||
nfs-utils-1.0.6-r6.ebuild:
|
||||
- getrpcbynumber_r is not in the SuSv3 spec. disable it for uClibc
|
||||
|
||||
11 Dec 2004; Markus Rothe <corsair@gentoo.org> nfs-utils-1.0.6-r6.ebuild:
|
||||
Stable on ppc64; bug #72113
|
||||
|
||||
11 Dec 2004; Joseph Jezak <josejx@gentoo.org> nfs-utils-1.0.6-r6.ebuild:
|
||||
Marked ppc stable for bug #72113.
|
||||
|
||||
10 Dec 2004; Guy Martin <gmsoft@gentoo.org> nfs-utils-1.0.6-r6.ebuild:
|
||||
Stable on hppa.
|
||||
|
||||
07 Dec 2004; Hardave Riar <hardave@gentoo.org> nfs-utils-1.0.6-r6.ebuild:
|
||||
Stable on mips, bug #72113
|
||||
|
||||
07 Dec 2004; Bryan Østergaard <kloeri@gentoo.org>
|
||||
nfs-utils-1.0.6-r6.ebuild:
|
||||
Stable on alpha, bug 72113.
|
||||
|
||||
06 Dec 2004; Karol Wojtaszek <sekretarz@gentoo.org>
|
||||
nfs-utils-1.0.6-r6.ebuild:
|
||||
Stable on amd64, bug #72113
|
||||
|
||||
06 Dec 2004; Olivier Crete <tester@gentoo.org> nfs-utils-1.0.6-r6.ebuild:
|
||||
Stable on x86 wrt security bug 72113
|
||||
|
||||
06 Dec 2004; Gustavo Zacarias <gustavoz@gentoo.org>
|
||||
nfs-utils-1.0.6-r6.ebuild:
|
||||
Stable on sparc wrt #72113
|
||||
|
||||
06 Dec 2004; <rphillips@gentoo.org> nfs-utils-1.0.6-r6.ebuild:
|
||||
Added ubuntu's DOS vulnerability patch. fixes #72113
|
||||
|
||||
05 Dec 2004; Jason Wever <weeve@gentoo.org> nfs-utils-1.0.6-r5.ebuild:
|
||||
Stable on sparc wrt security bug #72113.
|
||||
|
||||
05 Dec 2004; Bryan Østergaard <kloeri@gentoo.org>
|
||||
nfs-utils-1.0.6-r5.ebuild:
|
||||
Stable on alpha, bug 72113.
|
||||
|
||||
04 Dec 2004; Hardave Riar <hardave@gentoo.org> nfs-utils-1.0.6-r5.ebuild:
|
||||
Stable on mips, bug #72113
|
||||
|
||||
04 Dec 2004; Markus Rothe <corsair@gentoo.org> nfs-utils-1.0.6-r5.ebuild:
|
||||
Stable on ppc64; bug #72113
|
||||
|
||||
04 Dec 2004; Mike Doty <kingtaco@gentoo.org> nfs-utils-1.0.6-r5.ebuild:
|
||||
stable on amd64 per #72113
|
||||
|
||||
*nfs-utils-1.0.6-r5 (22 Nov 2004)
|
||||
|
||||
22 Nov 2004; <solar@gentoo.org>
|
||||
+files/nfs-utils-0.3.3-rquotad-overflow.patch, +nfs-utils-1.0.6-r5.ebuild:
|
||||
Security bump for 64bit arches bug #72113 - CAN-2004-0946
|
||||
|
||||
07 Nov 2004; Joshua Kinard <kumba@gentoo.org> nfs-utils-1.0.6-r4.ebuild:
|
||||
Marked stable on mips.
|
||||
|
||||
01 Nov 2004; Bryan Østergaard <kloeri@gentoo.org>
|
||||
nfs-utils-1.0.6-r4.ebuild:
|
||||
Stable on alpha.
|
||||
|
||||
19 Oct 2004; Dylan Carlson <absinthe@gentoo.org>
|
||||
nfs-utils-1.0.6-r4.ebuild:
|
||||
Stable on amd64.
|
||||
|
||||
09 Oct 2004; Christian Birchinger <joker@gentoo.org>
|
||||
nfs-utils-1.0.6-r4.ebuild:
|
||||
Added sparc stable keyword
|
||||
|
||||
23 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org> files/nfsmount:
|
||||
Added 'use ypbind' to nfsmount script to close bug #28195.
|
||||
|
||||
*nfs-utils-1.0.6-r4 (07 Jul 2004)
|
||||
|
||||
07 Jul 2004; Aron Griffis <agriffis@gentoo.org> files/nfs-5,
|
||||
-nfs-utils-1.0.6-r3.ebuild, +nfs-utils-1.0.6-r4.ebuild:
|
||||
Set a default timeout of 30 seconds in case EXPORTFSTIMEOUT is unset in
|
||||
conf.d/nfs
|
||||
|
||||
25 Jun 2004; Danny van Dyk <kugelfang@gentoo.org> nfs-utils-1.0.6.ebuild:
|
||||
Marked stable on amd64.
|
||||
|
||||
*nfs-utils-1.0.6-r3 (11 Jun 2004)
|
||||
|
||||
11 Jun 2004; Mike Frysinger <vapier@gentoo.org> :
|
||||
While i'm here, might as well fix more things :P.
|
||||
Run make for the depend target so that we can then build everything
|
||||
else in parallel. Add tweakable exportfs timeout to nfs init script
|
||||
#37004 by Vlastimil Holer. Enable the '--enable-secure-statd' option
|
||||
by default (seems to work fine on my nfs3 machines) #49444 by Juergen
|
||||
Nagel. Make sure the emtpy state dirs dont get autocleaned #30522 by
|
||||
Brave Cobra.
|
||||
|
||||
*nfs-utils-1.0.6-r2 (08 Jun 2004)
|
||||
|
||||
08 Jun 2004; Mike Frysinger <vapier@gentoo.org> +files/nfs-4,
|
||||
+nfs-utils-1.0.6-r2.ebuild:
|
||||
Add support for NFSv4 #25106 by Michael Locher.
|
||||
|
||||
11 May 2004; Michael McCabe <randy@gentoo.org> nfs-utils-1.0.6-r1.ebuild:
|
||||
Added s390 keywords
|
||||
|
||||
13 Apr 2004; Joshua Kinard <kumba@gentoo.org> nfs-utils-1.0.6-r1.ebuild:
|
||||
Marked stable on mips.
|
||||
|
||||
11 Mar 2004; Lars Weiler <pylon@gentoo.org> nfs-utils-1.0.6.ebuild:
|
||||
stable on ppc
|
||||
|
||||
07 Mar 2004; Tom Gall <tgall@gentoo.org> nfs-utils-1.0.6-r1.ebuild:
|
||||
stable on ppc64
|
||||
|
||||
06 Mar 2004; Ilya A. Volynets-Evenbakh <ilya@total-knowledge.com> :
|
||||
mark as ~mips
|
||||
|
||||
06 Mar 2004; Joshua Kinard <kumba@gentoo.org> nfs-utils-1.0.5-r1.ebuild,
|
||||
nfs-utils-1.0.6-r1.ebuild:
|
||||
Added ~mips to KEYWORDS.
|
||||
|
||||
*nfs-utils-1.0.6-r1 (30 Jan 2004)
|
||||
|
||||
30 Jan 2004; Daniel Robbins <drobbins@gentoo.org> nfs-utils-1.0.6-r1.ebuild:
|
||||
Add a new ebuild (currently unmasked for ~x86 and ~amd64 only) that mounts
|
||||
the nfsd filesystem to /proc/fs/nfs to provide robust exports handling for
|
||||
2.6 kernels. (See /usr/src/linux/Documentation/Changes in a 2.6 kernel source
|
||||
tree for more information on this.) I needed this fix for mountd to support
|
||||
nfs version 3 on my server with a 2.6 kernel. Also changed default
|
||||
"restarting" behavior to "yes," which seems to be what most users will want.
|
||||
This ebuild is not in stable on any arch, so nfs-team, please let me know
|
||||
what you think of these changes.
|
||||
|
||||
15 Jan 2004; Aron Griffis <agriffis@gentoo.org> nfs-utils-1.0.6.ebuild:
|
||||
Fix bug 30486 by refraining from overwriting /var/lib/nfs/*
|
||||
|
||||
14 Jan 2004; Martin Holzer <mholzer@gentoo.org> files/nfs.confd:
|
||||
removing quota entry from conf.d
|
||||
|
||||
05 Jan 2004; zhen <zhen@gentoo.org> metadata.xml:
|
||||
adding to net-fs herd
|
||||
|
||||
28 Dec 2003; Guy Martin <gmsoft@gentoo.org> nfs-utils-1.0.6.ebuild:
|
||||
Marked stable on hppa.
|
||||
|
||||
02 Nov 2003; Daniel Robbins <drobbins@gentoo.org> nfs-utils-1.0.6.ebuild:
|
||||
added util-linux RDEPEND to ensure "mount" command it up-to-date. (See
|
||||
nfs-utils README.)
|
||||
|
||||
22 Oct 2003; Martin Holzer <mholzer@gentoo.org> nfs-utils-1.0.5-r1.ebuild,
|
||||
nfs-utils-1.0.6.ebuild:
|
||||
adding RESTRICT="nomirror"
|
||||
|
||||
03 Oct 2003; Christian Birchinger <joker@gentoo.org> nfs-utils-1.0.6.ebuild:
|
||||
Added sparc stable keyword
|
||||
|
||||
*nfs-utils-1.0.6 (18 Sep 2003)
|
||||
|
||||
18 Sep 2003; Martin Holzer <mholzer@gentoo.org> nfs-utils-1.0.6.ebuild:
|
||||
Version bumped.
|
||||
|
||||
*nfs-utils-1.0.5-r1 (19 Jul 2003)
|
||||
|
||||
26 Jul 2003; Stefan Jones <cretin@gentoo.org> files/nfs-2:
|
||||
Fixed waiting on exportfs to finish. Use wait $pidofexportfs ( let kill
|
||||
finish in background ) Speedups of 29secs!
|
||||
|
||||
19 Jul 2003; Aron Griffis <agriffis@gentoo.org> nfs-utils-1.0.5-r1.ebuild,
|
||||
files/nfs-2:
|
||||
Change exportfs timeouts from 5 seconds to 30 seconds to prevent prematurely
|
||||
killing exportfs
|
||||
|
||||
19 Jul 2003; Daniel Ahlberg <aliz@gentoo.org> nfs-utils-1.0.5.ebuild :
|
||||
Security update, unmasking.
|
||||
|
||||
*nfs-utils-1.0.5 (19 Jul 2003)
|
||||
|
||||
19 Jul 2003; Don Seiler <rizzo@gentoo.org>; nfs-utils-1.0.4.ebuild,
|
||||
nfs-utils-1.0.5.ebuild:
|
||||
Version bumped and v1.0.4 deleted due to bugs that are fixed in 1.0.5
|
||||
|
||||
*nfs-utils-1.0.4 (17 Jul 2003)
|
||||
|
||||
17 Jul 2003; Martin Holzer <mholzer@gentoo.org> nfs-utils-1.0.4.ebuild:
|
||||
Version bumped.
|
||||
|
||||
21 May 2003; Christian Birchinger <joker@gentoo.org> nfs-utils-1.0.3.ebuild:
|
||||
Added sparc stable keyword
|
||||
|
||||
16 May 2003; Martin Holzer <mholzer@gentoo.org> nfs-utils-1.0.3.ebuild:
|
||||
Marked as stable
|
||||
|
||||
*nfs-utils-1.0.3 (27 Mar 2003)
|
||||
|
||||
21 Jun 2003; Guy martin <gmsoft@gentoo.org> nfs-utils-1.0.3.ebuild :
|
||||
Marked stable on hppa.
|
||||
|
||||
17 Apr 2003; Guy Martin <gmsoft@gentoo.org> nfs-utils-1.0.3.ebuild :
|
||||
Added ~hppa to KEYWORDS.
|
||||
|
||||
27 Mar 2003; Brandon Low <lostlogic@gentoo.org> nfs-utils-1.0.3.ebuild:
|
||||
Bump to latest released today
|
||||
|
||||
*nfs-utils-1.0.1-r1 (03 Mar 2003)
|
||||
|
||||
30 Mar 2003; Christian Birchinger <joker@gentoo.org>
|
||||
nfs-utils-1.0.1-r1.ebuild:
|
||||
Added sparc stable keyword
|
||||
|
||||
13 Mar 2003; Zach Welch <zwelch@gentoo.org> nfs-utils-1.0.1-r1.ebuild:
|
||||
add arm keyword
|
||||
|
||||
03 Mar 2003; Aron Griffis <agriffis@gentoo.org> nfs-utils-1.0.1-r1.ebuild,
|
||||
files/nfs-1:
|
||||
Fix bug 16075 by installing server binaries into /usr/sbin (thanks Tero
|
||||
Pelander for the clue and the updated ebuild). Fix bug 13838 by using
|
||||
rpc.rquotad from the quota package instead of the nfs-utils version (thanks
|
||||
Andrea Barisani for the heads-up). Finally, mark stable on x86 and alpha
|
||||
where I can test as part of the package upgrade phase.
|
||||
|
||||
*nfs-utils-1.0.1 (12 Dec 2002)
|
||||
|
||||
12 Dec 2002; Brad Cowan <bcowan@gentoo.org> :
|
||||
|
||||
Added options to config file thanks to Cardoe and j2ee.
|
||||
|
||||
06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
|
||||
|
||||
*nfs-utils-1.0.1 (13 Oct 2002)
|
||||
|
||||
07 Dec 2002; Jack Morgan <jmorgan@gentoo.org> nfs-utils-1.0.1.ebuild :
|
||||
Changed ~sparc64 to ~sparc keyword
|
||||
|
||||
13 Oct 2002; Brad Cowan <bcowan@gentoo.org> nfs-utils-1.0.1.ebuild,
|
||||
files/digest-nfs-utils-1.0.1 :
|
||||
|
||||
Version bump thanks to j2ee<maurizio@iridium.aetheric.org>.
|
||||
|
||||
*nfs-utils-0.3.3-r1 (24 Apr 2002)
|
||||
|
||||
16 Sep 2002; Maarten Thibaut <murphy@gentoo.org> nfs-utils-0.3.3-r1.ebuild :
|
||||
Adding sparc/sparc64 keywords.
|
||||
|
||||
22 Jul 2002; Kyle Manna <nitro@gentoo.org> nfs-utils-0.3.3-r1.ebuild :
|
||||
Parallel make fails sometimes. Replaced emake with make.
|
||||
|
||||
24 Apr 2002; Daniel Robbins <drobbins@gentoo.org>: Some rc script fixes
|
||||
(removal of NFSSERVER) and cleanups in the ebuild, removal of old ebuilds and
|
||||
old files in /files
|
||||
|
||||
*nfs-utils-0.3.3 (1 Feb 2002)
|
||||
|
||||
1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog :
|
||||
Added initial ChangeLog which should be updated whenever the package is
|
||||
updated in any way. This changelog is targetted to users. This means that the
|
||||
comments should well explained and written in clean English. The details about
|
||||
writing correct changelogs are explained in the skel.ChangeLog file which you
|
||||
can find in the root directory of the portage repository.
|
||||
19
net-fs/nfs-utils/Manifest
Normal file
19
net-fs/nfs-utils/Manifest
Normal file
@@ -0,0 +1,19 @@
|
||||
AUX exports 66 SHA256 5d6356df546682e2f1a87131d1bb67de9b1f9a34d3a5742343dc64e890cf71d5 SHA512 fd8052dc8e17eccb0bb1443f341c97ec7c9dac5824294cadf486d91475bc728d4bb69300034b528a690707520590f6675ee371f92e9838afc8ed88092ee0f220 WHIRLPOOL 7cc6b59c1f7013a0ad98518623b03d1cba784ecaf6d6a085b85282192c6f41ac1c649a39dc6e1b42ff38a571c00a85aed6e04ea57d6339a072cc4f2c41d5d74e
|
||||
AUX nfs-utils-1.1.4-mtab-sym.patch 1020 SHA256 0232799d085151649a1eb1f31644105de7e5cfba888794354005499a0db277c3 SHA512 1cd916028a8515772f05ef63832d73a09e9720055aedc9e2e4ce3a08ce1820948700a4f00ca9c4ee684880f18e67aca888dd857fc7931d923021ba50964be998 WHIRLPOOL c16ecee3228ad4522cf4ede1d05ca50cece3910955314c96eb88a61cfe07b7f6a95c42bb15a7f7f9fd211fa62cdcbb02925e68702d5066338b4543baf56fb2df
|
||||
AUX nfs-utils-1.2.6-cross-build.patch 1909 SHA256 847f22436f8f389c390beb9bc99195cad182910eff68769317a5dd9902f8c0ab SHA512 ea2fd45ad9f526a72cbc669cb748268aaed5b4e5f01eec8bdeb143226795a09c305732433958261d1b65302eddb68c104eb89d1ad34718038d8b3b06817ae799 WHIRLPOOL 71e398dc619e2971a0f7a3c9c24d9cc2b3a99c4d49568c3a51ac363265e89a13534b73f8e5a744884aff32c8bfebdbfb78b2635dc19caa527bbd3801dc02cac7
|
||||
AUX nfs-utils-1.2.7-heomdal.patch 6643 SHA256 f8845cb5471313516ebd389a1fb692b984f5f9f663923488a539d8adec8de247 SHA512 dea96554579dcb1b2404724ddcf68a27034cef7f5a0c3d4b6838e46abfcd9a05af3cd56c28f0878f1ec777ea0a2c43fb7c795adf74aa2080c8feb26e7e83d938 WHIRLPOOL cd783ee2b91332753abbf8de8125f6cebd36dd4852ce804d8822fd5cfc28d6d4f608634fcd00b4a30be5aeba9be97c2c122e3beb1d2961182f1bfce8c652e7d2
|
||||
AUX nfs-utils-1.2.7-libio.patch 1601 SHA256 788b6bcca6ec03a8690b5cbabef06ad325211ab79a332b33d17708e8b0b63093 SHA512 a9643fd3689c95bf82c28a6aa5a82540459e0e6eafbb1a774ff74ad69b4f3f28bc0624f84913a78405cbdcb3321a02f912ace2407bb5534c292f5fdd930b68c3 WHIRLPOOL cb382521d1bbfb2ab823d5d44f788f1e9f1a608f7cdd632f84c046787920237569bd57fda8f298ed255254e6bdb56ef8a845cf3013ba1766e9636ce71e63c788
|
||||
AUX nfs-utils-1.2.7-nfsiostat-python3.patch 11260 SHA256 c71f3d53c3b076e609ba2de1a1565deacc7a797a2b8c8325341bd6c5b08de6ac SHA512 778640c90ab5a751b9613c02a13a4332e994620c4ff2301bd141edd563bed00ebd1fed7d850adc9d72b3eb3a64d44d7791fef4501fbe0772e7aeb0b14d7d1daa WHIRLPOOL 7c89f6152fe6e1f20c1c57168f98d872cfb55ad34ea8940b5a737c57f21adddf0be5be9a696141e3f45a5848a29c5990a02dba25c804b472848d24b944fc4fc6
|
||||
AUX nfs.confd 948 SHA256 22bba4ee5d58bae422650875c7c8a797a52fc121ddd02d48297c075b8a35401e SHA512 0981f9ea34d5aaf25b558aa1f4c32f6750b657b450d5d22b999e1556b583207c8d88b83f6f803747c56cc70531556f5a8741589125429f93d0bbc73ae31c137e WHIRLPOOL ff6db7d613126c4fd76a6b99dc432a44f086ea22c78a42e3bcb2df04b95c31e9552cb2c080345b71027c71f97b0b7470fd53ffb81502b3f77bc9bb80a38fe9cc
|
||||
AUX nfs.initd 4378 SHA256 8df22f253770a24c6a53ce332d821ab680d0ede18d0e968c1c5d8b3796cb74be SHA512 1577a43b47ebf12261504dd1c9ae564e19d80edc424c4b1e308ac46b12907f6684242284f18a6cd2edafec88c815debf895b6c29d13b9bca59d6d7c883bc1f38 WHIRLPOOL da3762c3467af7d46aef1890aa9c95a85e759c6cab09a5590a00c8f6a37b600a6cf3d4c17b1593a3bc7556ad25bfe001ccabcad70bdc1a2848aa9f842e349d48
|
||||
AUX nfsmount.confd 326 SHA256 b9389e143c2c4f95c11f97a8a379e007f140559016f60011c9d2ff0935758bcb SHA512 6e23897885cc33c49d9c7353b456585a1e0c7300822edba81bc48ba4ccc18297adce137260cc0aa9487aa5ef0aab3eecf931532cfa5bd40fd03bc9e0ddacfb28 WHIRLPOOL 97939b074a9b5717184512088388c9c22a31f37009996b69137023a0f8a97ce6eb41f7cb0a25843ea088f00d37cb45f6b3bd1ba0f801de7cb8f6dc2e5d374dfb
|
||||
AUX nfsmount.initd 1126 SHA256 b57637c7eb8e40b5cc1655e8afa69dc0aaecbd3186bdca3301586d1e9b797357 SHA512 e2c4d2bf9690b092d7062d95f4242e2591e3ed0aa8b9b36eae977d5d0350b0d90d339f7e75bdcc794abef27cf1541642a8a6dbbaed90e58cc823db4c92af9336 WHIRLPOOL 54a2bdb24015a6d8184fdde3351b152c5625cb6e4ff17876d592a1600fedec1724081b4ff233711ad9d290ea761827067c40ba8ae21121fc6066ba7ed230e483
|
||||
AUX rpc.gssd.initd 567 SHA256 00d9c29280a83e8458c33139d04a9b38c6fdba9d7cb9b420ca83bf6b10e6435d SHA512 cd4f763c7cced0eecb03e2d4c8fb1d5fbbddd119a014dee4e9cb881d3750fb01a50daa4475700914785cb1313ceef638b7de4d8dddac90cbab63888cc81938f6 WHIRLPOOL d9f4c381f18b76a2c5b1c0c2adb56b0005264a3230c436d4556c45e13372bea09cf1fc35f02d734cac7081322f72873e46d2b2d451334ad908f14ad7fcd54acc
|
||||
AUX rpc.idmapd.initd 595 SHA256 3ce65326859c43983dad25ad2d4731488c488037796e39b6b5eda336e8bf81ef SHA512 624ac8c5a381a0ccc1bb7dfd06c080a9de85a9e94e1d4071a6ef401e1b20f0d05d767be5e85eea374c3a4c29218b3db6013383afa0bdd1a7f61b77260675bfdb WHIRLPOOL f25787957ec201bc97754c7864ada3e2c9be05bda054fc8ebdc29e6ebfa2280419d3dc44f54f71a1adf195f257e6e8292645b55e76006341bff101e5bddec94f
|
||||
AUX rpc.pipefs.initd 822 SHA256 6503951b3c200ccf3f46396f7b9274f0a565807f7f6e561c17bed6b0133ae49a SHA512 d711406b29f6634fcde0f21157eb6b2230574e535c261c4478194c3c2c3ffa4bce7b326cbfa0e9f8e816c48b95a306a5cdbc94422db2acf64b48593637df133b WHIRLPOOL 4dec97b8883efdf03ef3692606baa430029e71e35cf34857f8dde287dba3d071a442ae03924c6a478f7fdf6fa79b211d39b08f16e241cbd0cfa31f763c028439
|
||||
AUX rpc.statd.initd 818 SHA256 0c7bd35a14da6c0c2577f09ae82a41ddb693a88157eeaf80684616f79be6c304 SHA512 e7c85a5437f65c82bcab6818fa3aa27fdf746ce745b41987d0e59d620b59529b7a8613aad59e831a5b46fee1fe4410d6982a3e76e7834c79675c4c271b0db3b0 WHIRLPOOL b3c6c4147634f3db39f0a50307a7433e0d28f8cf2d89452d90f9db1b56d55c41add68336640a442508ebfc75270dd627154af787b00f603659a5c730ab724340
|
||||
AUX rpc.svcgssd.initd 584 SHA256 f1c460d8b0e91e54a551397d755135d05a3728d81de596535bf8bda074455677 SHA512 844e8d41a6a8b632d98585724aca2e9ae596f72c67e17e4e8fb9eb81e6c58eed9e10cf8b2a96896dba8fd1efaa95d846954e712bdf3402a847ae17742dae2157 WHIRLPOOL f1e4a38168c112ce07e40432527a77e17aa80b4a37aeccb8b01a9e655f0437e67e4c12998d62ea7c162319cca956c18edd3cb3c64cfd8e17370782ea30fef677
|
||||
DIST nfs-utils-1.2.7.tar.bz2 2902130 SHA256 7ef8e0a8b22cd7ff33f3afd28e770d45643fae303468a180640c2967833fe75e SHA512 c63b28be8e7b9cbc3ccb4950f31fd30f3ddc9c8707dcad4c3f2ee78fb464df9e0f1f58dc0c47e530c5afaa604712b4dc5e15af795810374e833c09a19dfd32e1 WHIRLPOOL 785511e2eb03649027977d81f11d7a5b1f960d4fdc57b790af5a3d441aa63858d8c2876e851049ea1b799a93796b209c9a3d22837f3aa3744ba17395a4fc8dbc
|
||||
EBUILD nfs-utils-1.2.7.ebuild 3776 SHA256 f383993ed7516032e11389b9b22251c831a235787830d0a1efb8f90e362bad26 SHA512 3987b65bf44276b4612d93c59ca302157abc21077a49aa87e10d7f4f6003199aad782215bdece20643997e7972297eddf2a0c87fc1803e5515bdc0dc4d2b17ac WHIRLPOOL 285e8ff734267ac8e9ba73d786f18814af5fc2043e733108af40c412e95b56c7783bfeaa0020d865087c6524e8b832dacd9f04cd0d63e28e211ed2f20f4c8f7d
|
||||
MISC ChangeLog 33915 SHA256 ce464a74e4ba54679eb1afba7ccde1fe026026abaed116e69d268c428ee54261 SHA512 0843cc5a8452ebc4d52339a0b46269a7d96c0c032c6897b98eb8763fbdf79c9b6a1abceae24efa6024d44f4f34f2eabd2313767b840b8e531fa68bf3735e9e86 WHIRLPOOL b444df4809543e45cf4491d69638ac62752e4ac915d49f81a8c3e3320abcf6fc14c1e50116802b2598133e972012ce72010723c4087da8f84a3f68e439dea5d4
|
||||
MISC metadata.xml 668 SHA256 d9ecc29c31ebf779ec222513db190cc0e9d0737f806aea26913d097b09bbfa47 SHA512 2b269153829d1d8df6e97871814479af8fbe18a48cf0b6a33947212264875a4002feda4163b465b4a67e253e5f27e47badc53d414ebb9f3281253f813fa1dacd WHIRLPOOL a53c14f8e6f7cce4f75a7fda60d8b9f96a57eb3a877470906fa1c40befcd9791411934e7ab610ce612f6d42d4d953e0a2a78ffc9e21e9b98328a395c4de7daa8
|
||||
1
net-fs/nfs-utils/files/exports
Normal file
1
net-fs/nfs-utils/files/exports
Normal file
@@ -0,0 +1 @@
|
||||
# /etc/exports: NFS file systems being exported. See exports(5).
|
||||
39
net-fs/nfs-utils/files/nfs-utils-1.1.4-mtab-sym.patch
Normal file
39
net-fs/nfs-utils/files/nfs-utils-1.1.4-mtab-sym.patch
Normal file
@@ -0,0 +1,39 @@
|
||||
ripped from Debian
|
||||
|
||||
--- nfs-utils-1.1.4/utils/mount/fstab.c
|
||||
+++ nfs-utils-1.1.4/utils/mount/fstab.c
|
||||
@@ -57,7 +57,7 @@ mtab_does_not_exist(void) {
|
||||
return var_mtab_does_not_exist;
|
||||
}
|
||||
|
||||
-static int
|
||||
+int
|
||||
mtab_is_a_symlink(void) {
|
||||
get_mtab_info();
|
||||
return var_mtab_is_a_symlink;
|
||||
--- nfs-utils-1.1.4/utils/mount/fstab.h
|
||||
+++ nfs-utils-1.1.4/utils/mount/fstab.h
|
||||
@@ -7,6 +7,7 @@
|
||||
#define _PATH_FSTAB "/etc/fstab"
|
||||
#endif
|
||||
|
||||
+int mtab_is_a_symlink(void);
|
||||
int mtab_is_writable(void);
|
||||
int mtab_does_not_exist(void);
|
||||
void reset_mtab_info(void);
|
||||
--- nfs-utils-1.1.4/utils/mount/mount.c
|
||||
+++ nfs-utils-1.1.4/utils/mount/mount.c
|
||||
@@ -230,6 +230,13 @@ create_mtab (void) {
|
||||
int flags;
|
||||
mntFILE *mfp;
|
||||
|
||||
+ /* Avoid writing if the mtab is a symlink to /proc/mounts, since
|
||||
+ that would create a file /proc/mounts in case the proc filesystem
|
||||
+ is not mounted, and the fchmod below would also fail. */
|
||||
+ if (mtab_is_a_symlink()) {
|
||||
+ return EX_SUCCESS;
|
||||
+ }
|
||||
+
|
||||
lock_mtab();
|
||||
|
||||
mfp = nfs_setmntent (MOUNTED, "a+");
|
||||
69
net-fs/nfs-utils/files/nfs-utils-1.2.6-cross-build.patch
Normal file
69
net-fs/nfs-utils/files/nfs-utils-1.2.6-cross-build.patch
Normal file
@@ -0,0 +1,69 @@
|
||||
this is kind of hacky, but automake doesn't make this easy
|
||||
for us atm, so hack away :(
|
||||
|
||||
(recent autotools will always add $(CFLAGS)/etc... to the compile)
|
||||
|
||||
--- a/tools/locktest/Makefile.am
|
||||
+++ b/tools/locktest/Makefile.am
|
||||
@@ -1,12 +1,11 @@
|
||||
## Process this file with automake to produce Makefile.in
|
||||
|
||||
CC=$(CC_FOR_BUILD)
|
||||
-LIBTOOL = @LIBTOOL@ --tag=CC
|
||||
+CFLAGS=$(CFLAGS_FOR_BUILD)
|
||||
+CPPFLAGS=$(CPPFLAGS_FOR_BUILD)
|
||||
+LDFLAGS=$(LDFLAGS_FOR_BUILD)
|
||||
|
||||
noinst_PROGRAMS = testlk
|
||||
testlk_SOURCES = testlk.c
|
||||
-testlk_CFLAGS=$(CFLAGS_FOR_BUILD)
|
||||
-testlk_CPPFLAGS=$(CPPFLAGS_FOR_BUILD)
|
||||
-testlk_LDFLAGS=$(LDFLAGS_FOR_BUILD)
|
||||
|
||||
MAINTAINERCLEANFILES = Makefile.in
|
||||
--- a/tools/rpcdebug/Makefile.am
|
||||
+++ b/tools/rpcdebug/Makefile.am
|
||||
@@ -1,15 +1,14 @@
|
||||
## Process this file with automake to produce Makefile.in
|
||||
|
||||
CC=$(CC_FOR_BUILD)
|
||||
-LIBTOOL = @LIBTOOL@ --tag=CC
|
||||
+CFLAGS=$(CFLAGS_FOR_BUILD)
|
||||
+CPPFLAGS=$(CPPFLAGS_FOR_BUILD)
|
||||
+LDFLAGS=$(LDFLAGS_FOR_BUILD)
|
||||
|
||||
man8_MANS = rpcdebug.man
|
||||
EXTRA_DIST = $(man8_MANS)
|
||||
|
||||
sbin_PROGRAMS = rpcdebug
|
||||
rpcdebug_SOURCES = rpcdebug.c
|
||||
-rpcdebug_CFLAGS=$(CFLAGS_FOR_BUILD)
|
||||
-rpcdebug_CPPFLAGS=$(CPPFLAGS_FOR_BUILD) -I$(top_srcdir)/support/include
|
||||
-rpcdebug_LDFLAGS=$(LDFLAGS_FOR_BUILD)
|
||||
|
||||
MAINTAINERCLEANFILES = Makefile.in
|
||||
--- a/tools/rpcgen/Makefile.am
|
||||
+++ b/tools/rpcgen/Makefile.am
|
||||
@@ -1,7 +1,9 @@
|
||||
## Process this file with automake to produce Makefile.in
|
||||
|
||||
CC=$(CC_FOR_BUILD)
|
||||
-LIBTOOL = @LIBTOOL@ --tag=CC
|
||||
+CFLAGS=$(CFLAGS_FOR_BUILD)
|
||||
+CPPFLAGS=$(CPPFLAGS_FOR_BUILD)
|
||||
+LDFLAGS=$(LDFLAGS_FOR_BUILD)
|
||||
|
||||
noinst_PROGRAMS = rpcgen
|
||||
rpcgen_SOURCES = rpc_clntout.c rpc_cout.c rpc_hout.c rpc_main.c \
|
||||
@@ -9,10 +11,6 @@
|
||||
rpc_util.c rpc_sample.c rpc_output.h rpc_parse.h \
|
||||
rpc_scan.h rpc_util.h
|
||||
|
||||
-rpcgen_CFLAGS=$(CFLAGS_FOR_BUILD)
|
||||
-rpcgen_CPPLAGS=$(CPPFLAGS_FOR_BUILD)
|
||||
-rpcgen_LDFLAGS=$(LDFLAGS_FOR_BUILD)
|
||||
-rpcgen_LDADD=$(LIBTIRPC)
|
||||
|
||||
MAINTAINERCLEANFILES = Makefile.in
|
||||
|
||||
EXTRA_DIST = rpcgen.new.1
|
||||
180
net-fs/nfs-utils/files/nfs-utils-1.2.7-heomdal.patch
Normal file
180
net-fs/nfs-utils/files/nfs-utils-1.2.7-heomdal.patch
Normal file
@@ -0,0 +1,180 @@
|
||||
--- nfs-utils-1.2.3.dist/aclocal/rpcsec_vers.m4.orig 2010-09-28 14:24:16.000000000 +0200
|
||||
+++ nfs-utils-1.2.3.dist/aclocal/rpcsec_vers.m4 2010-10-03 14:53:06.379424854 +0200
|
||||
@@ -1,7 +1,10 @@
|
||||
dnl Checks librpcsec version
|
||||
AC_DEFUN([AC_RPCSEC_VERSION], [
|
||||
|
||||
- PKG_CHECK_MODULES([GSSGLUE], [libgssglue >= 0.3])
|
||||
+ dnl libgssglue is needed only for MIT Kerberos
|
||||
+ if test "$gssapi_lib" = gssapi_krb5; then
|
||||
+ PKG_CHECK_MODULES([GSSGLUE], [libgssglue >= 0.3])
|
||||
+ fi
|
||||
|
||||
dnl TI-RPC replaces librpcsecgss
|
||||
if test "$enable_tirpc" = no; then
|
||||
--- nfs-utils-1.2.3.dist/aclocal/kerberos5.m4~ 2010-09-28 14:24:16.000000000 +0200
|
||||
+++ nfs-utils-1.2.3.dist/aclocal/kerberos5.m4 2010-10-03 14:13:17.274424855 +0200
|
||||
@@ -32,14 +32,14 @@
|
||||
fi
|
||||
if test "$K5CONFIG" != ""; then
|
||||
KRBCFLAGS=`$K5CONFIG --cflags`
|
||||
- KRBLIBS=`$K5CONFIG --libs`
|
||||
- K5VERS=`$K5CONFIG --version | head -n 1 | awk '{split($(4),v,"."); if (v@<:@"3"@:>@ == "") v@<:@"3"@:>@ = "0"; print v@<:@"1"@:>@v@<:@"2"@:>@v@<:@"3"@:>@ }'`
|
||||
+ KRBLIBS=`$K5CONFIG --libs gssapi`
|
||||
AC_DEFINE_UNQUOTED(KRB5_VERSION, $K5VERS, [Define this as the Kerberos version number])
|
||||
if test -f $dir/include/gssapi/gssapi_krb5.h -a \
|
||||
\( -f $dir/lib/libgssapi_krb5.a -o \
|
||||
-f $dir/lib64/libgssapi_krb5.a -o \
|
||||
-f $dir/lib64/libgssapi_krb5.so -o \
|
||||
-f $dir/lib/libgssapi_krb5.so \) ; then
|
||||
+ K5VERS=`$K5CONFIG --version | head -n 1 | awk '{split($(4),v,"."); if (v@<:@"3"@:>@ == "") v@<:@"3"@:>@ = "0"; print v@<:@"1"@:>@v@<:@"2"@:>@v@<:@"3"@:>@ }'`
|
||||
AC_DEFINE(HAVE_KRB5, 1, [Define this if you have MIT Kerberos libraries])
|
||||
KRBDIR="$dir"
|
||||
dnl If we are using MIT K5 1.3.1 and before, we *MUST* use the
|
||||
@@ -56,7 +56,11 @@
|
||||
dnl of Heimdal Kerberos on SuSe
|
||||
elif test \( -f $dir/include/heim_err.h -o\
|
||||
-f $dir/include/heimdal/heim_err.h \) -a \
|
||||
- -f $dir/lib/libroken.a; then
|
||||
+ \( -f $dir/lib/libroken.a -o \
|
||||
+ -f $dir/lib64/libroken.a -o \
|
||||
+ -f $dir/lib64/libroken.so -o \
|
||||
+ -f $dir/lib/libroken.so \) ; then
|
||||
+ K5VERS=`$K5CONFIG --version | head -n 1 | awk '{split($(2),v,"."); if (v@<:@"3"@:>@ == "") v@<:@"3"@:>@ = "0"; print v@<:@"1"@:>@v@<:@"2"@:>@v@<:@"3"@:>@ }'`
|
||||
AC_DEFINE(HAVE_HEIMDAL, 1, [Define this if you have Heimdal Kerberos libraries])
|
||||
KRBDIR="$dir"
|
||||
gssapi_lib=gssapi
|
||||
--- nfs-utils-1.2.3.dist/utils/gssd/context_lucid.c.orig 2010-09-28 14:24:16.000000000 +0200
|
||||
+++ nfs-utils-1.2.3.dist/utils/gssd/context_lucid.c 2010-10-03 14:31:31.150424854 +0200
|
||||
@@ -267,8 +267,13 @@
|
||||
int retcode = 0;
|
||||
|
||||
printerr(2, "DEBUG: %s: lucid version!\n", __FUNCTION__);
|
||||
+#ifdef HAVE_HEIMDAL
|
||||
+ maj_stat = gss_krb5_export_lucid_sec_context(&min_stat, &ctx,
|
||||
+ 1, &return_ctx);
|
||||
+#else
|
||||
maj_stat = gss_export_lucid_sec_context(&min_stat, &ctx,
|
||||
1, &return_ctx);
|
||||
+#endif
|
||||
if (maj_stat != GSS_S_COMPLETE) {
|
||||
pgsserr("gss_export_lucid_sec_context",
|
||||
maj_stat, min_stat, &krb5oid);
|
||||
@@ -303,7 +308,11 @@
|
||||
else
|
||||
retcode = prepare_krb5_rfc4121_buffer(lctx, buf, endtime);
|
||||
|
||||
+#ifdef HAVE_HEIMDAL
|
||||
+ maj_stat = gss_krb5_free_lucid_sec_context(&min_stat, return_ctx);
|
||||
+#else
|
||||
maj_stat = gss_free_lucid_sec_context(&min_stat, ctx, return_ctx);
|
||||
+#endif
|
||||
if (maj_stat != GSS_S_COMPLETE) {
|
||||
pgsserr("gss_export_lucid_sec_context",
|
||||
maj_stat, min_stat, &krb5oid);
|
||||
--- nfs-utils-1.2.3.dist/utils/gssd/krb5_util.c.orig 2010-09-28 14:24:16.000000000 +0200
|
||||
+++ nfs-utils-1.2.3.dist/utils/gssd/krb5_util.c 2010-10-03 14:33:07.992424854 +0200
|
||||
@@ -115,7 +115,7 @@
|
||||
#include <errno.h>
|
||||
#include <time.h>
|
||||
#include <gssapi/gssapi.h>
|
||||
-#ifdef USE_PRIVATE_KRB5_FUNCTIONS
|
||||
+#ifdef HAVE_HEIMDAL
|
||||
#include <gssapi/gssapi_krb5.h>
|
||||
#endif
|
||||
#include <krb5.h>
|
||||
@@ -927,9 +927,37 @@
|
||||
{
|
||||
krb5_error_code ret;
|
||||
krb5_creds creds;
|
||||
- krb5_cc_cursor cur;
|
||||
int found = 0;
|
||||
|
||||
+#ifdef HAVE_HEIMDAL
|
||||
+ krb5_creds pattern;
|
||||
+ krb5_const_realm client_realm;
|
||||
+
|
||||
+ krb5_cc_clear_mcred(&pattern);
|
||||
+
|
||||
+ client_realm = krb5_principal_get_realm (context, principal);
|
||||
+
|
||||
+ ret = krb5_make_principal (context, &pattern.server,
|
||||
+ client_realm, KRB5_TGS_NAME, client_realm,
|
||||
+ NULL);
|
||||
+ if (ret)
|
||||
+ krb5_err (context, 1, ret, "krb5_make_principal");
|
||||
+ pattern.client = principal;
|
||||
+
|
||||
+ ret = krb5_cc_retrieve_cred (context, ccache, 0, &pattern, &creds);
|
||||
+ krb5_free_principal (context, pattern.server);
|
||||
+ if (ret) {
|
||||
+ if (ret == KRB5_CC_END)
|
||||
+ return 1;
|
||||
+ krb5_err (context, 1, ret, "krb5_cc_retrieve_cred");
|
||||
+ }
|
||||
+
|
||||
+ found = creds.times.endtime > time(NULL);
|
||||
+
|
||||
+ krb5_free_cred_contents (context, &creds);
|
||||
+#else
|
||||
+ krb5_cc_cursor cur;
|
||||
+
|
||||
ret = krb5_cc_start_seq_get(context, ccache, &cur);
|
||||
if (ret)
|
||||
return 0;
|
||||
@@ -949,6 +977,7 @@
|
||||
krb5_free_cred_contents(context, &creds);
|
||||
}
|
||||
krb5_cc_end_seq_get(context, ccache, &cur);
|
||||
+#endif
|
||||
|
||||
return found;
|
||||
}
|
||||
@@ -995,6 +1024,9 @@
|
||||
}
|
||||
krb5_free_principal(context, principal);
|
||||
err_princ:
|
||||
+#ifdef HAVE_HEIMDAL
|
||||
+#define KRB5_TC_OPENCLOSE 0x00000001
|
||||
+#endif
|
||||
krb5_cc_set_flags(context, ccache, KRB5_TC_OPENCLOSE);
|
||||
krb5_cc_close(context, ccache);
|
||||
err_cache:
|
||||
@@ -1316,12 +1316,21 @@
|
||||
* If we failed for any reason to produce global
|
||||
* list of supported enctypes, use local default here.
|
||||
*/
|
||||
+#ifdef HAVE_HEIMDAL
|
||||
+ if (krb5_enctypes == NULL || limit_to_legacy_enctypes)
|
||||
+ maj_stat = gss_krb5_set_allowable_enctypes(&min_stat, credh,
|
||||
+ num_enctypes, enctypes);
|
||||
+ else
|
||||
+ maj_stat = gss_krb5_set_allowable_enctypes(&min_stat, credh,
|
||||
+ num_krb5_enctypes, krb5_enctypes);
|
||||
+#else
|
||||
if (krb5_enctypes == NULL || limit_to_legacy_enctypes)
|
||||
maj_stat = gss_set_allowable_enctypes(&min_stat, credh,
|
||||
&krb5oid, num_enctypes, enctypes);
|
||||
else
|
||||
maj_stat = gss_set_allowable_enctypes(&min_stat, credh,
|
||||
&krb5oid, num_krb5_enctypes, krb5_enctypes);
|
||||
+#endif
|
||||
|
||||
if (maj_stat != GSS_S_COMPLETE) {
|
||||
pgsserr("gss_set_allowable_enctypes",
|
||||
--- nfs-utils-1.2.4/utils/gssd/svcgssd_krb5.c~ 2011-06-30 15:00:42.000000000 +0200
|
||||
+++ nfs-utils-1.2.4/utils/gssd/svcgssd_krb5.c 2011-08-03 12:40:53.865782009 +0200
|
||||
@@ -186,8 +186,13 @@
|
||||
num_enctypes = default_num_enctypes;
|
||||
}
|
||||
|
||||
+#ifdef HAVE_HEIMDAL
|
||||
+ maj_stat = gss_krb5_set_allowable_enctypes(&min_stat, gssd_creds,
|
||||
+ num_enctypes, enctypes);
|
||||
+#else
|
||||
maj_stat = gss_set_allowable_enctypes(&min_stat, gssd_creds,
|
||||
&krb5oid, num_enctypes, enctypes);
|
||||
+#endif
|
||||
if (maj_stat != GSS_S_COMPLETE) {
|
||||
printerr(1, "WARNING: gss_set_allowable_enctypes failed\n");
|
||||
pgsserr("svcgssd_limit_krb5_enctypes: gss_set_allowable_enctypes",
|
||||
50
net-fs/nfs-utils/files/nfs-utils-1.2.7-libio.patch
Normal file
50
net-fs/nfs-utils/files/nfs-utils-1.2.7-libio.patch
Normal file
@@ -0,0 +1,50 @@
|
||||
https://bugs.gentoo.org/459200
|
||||
|
||||
From 2d9fb08c588970b842ce2a609088079181e6aafb Mon Sep 17 00:00:00 2001
|
||||
From: Mike Frysinger <vapier@gentoo.org>
|
||||
Date: Sun, 24 Mar 2013 17:41:19 -0400
|
||||
Subject: [PATCH [nfs-utils]] check for libio.h availability
|
||||
|
||||
On some systems (like uClibc), there isn't a libio.h header. But it
|
||||
isn't also needed on them. So check for the header first.
|
||||
|
||||
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
||||
---
|
||||
configure.ac | 2 +-
|
||||
support/include/sockaddr.h | 6 ++++++
|
||||
2 files changed, 7 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index f461219..cc7f3b4 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -358,7 +358,7 @@ AC_CHECK_HEADERS([arpa/inet.h fcntl.h libintl.h limits.h \
|
||||
stdlib.h string.h sys/file.h sys/ioctl.h sys/mount.h \
|
||||
sys/param.h sys/socket.h sys/time.h sys/vfs.h \
|
||||
syslog.h unistd.h com_err.h et/com_err.h \
|
||||
- ifaddrs.h nfs-plugin.h])
|
||||
+ ifaddrs.h nfs-plugin.h libio.h])
|
||||
|
||||
dnl *************************************************************
|
||||
dnl Checks for typedefs, structures, and compiler characteristics
|
||||
diff --git a/support/include/sockaddr.h b/support/include/sockaddr.h
|
||||
index 72766db..a1c30f9 100644
|
||||
--- a/support/include/sockaddr.h
|
||||
+++ b/support/include/sockaddr.h
|
||||
@@ -20,7 +20,13 @@
|
||||
#ifndef NFS_UTILS_SOCKADDR_H
|
||||
#define NFS_UTILS_SOCKADDR_H
|
||||
|
||||
+#ifdef HAVE_CONFIG_H
|
||||
+#include <config.h>
|
||||
+#endif
|
||||
+
|
||||
+#ifdef HAVE_LIBIO_H
|
||||
#include <libio.h>
|
||||
+#endif
|
||||
#include <stdbool.h>
|
||||
#include <sys/socket.h>
|
||||
#include <netinet/in.h>
|
||||
--
|
||||
1.8.1.2
|
||||
|
||||
287
net-fs/nfs-utils/files/nfs-utils-1.2.7-nfsiostat-python3.patch
Normal file
287
net-fs/nfs-utils/files/nfs-utils-1.2.7-nfsiostat-python3.patch
Normal file
@@ -0,0 +1,287 @@
|
||||
From b0e3dc0c1332884a82f509f98434abd78358c7ed Mon Sep 17 00:00:00 2001
|
||||
From: Mike Frysinger <vapier@gentoo.org>
|
||||
Date: Sun, 24 Mar 2013 15:59:12 -0400
|
||||
Subject: [PATCH] nfsiostat: make it work w/python3
|
||||
|
||||
Simple fixes here to work with python 2 & 3:
|
||||
- use print() everywhere
|
||||
- dict.iteritems() -> dict.items()
|
||||
- file() -> open()
|
||||
- sys.maxint -> sys.maxsize
|
||||
|
||||
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
||||
---
|
||||
tools/nfs-iostat/nfs-iostat.py | 130 +++++++++++++++++++++--------------------
|
||||
1 file changed, 66 insertions(+), 64 deletions(-)
|
||||
|
||||
diff --git a/tools/nfs-iostat/nfs-iostat.py b/tools/nfs-iostat/nfs-iostat.py
|
||||
index d909632..dfbef87 100644
|
||||
--- a/tools/nfs-iostat/nfs-iostat.py
|
||||
+++ b/tools/nfs-iostat/nfs-iostat.py
|
||||
@@ -3,6 +3,8 @@
|
||||
"""Emulate iostat for NFS mount points using /proc/self/mountstats
|
||||
"""
|
||||
|
||||
+from __future__ import print_function
|
||||
+
|
||||
__copyright__ = """
|
||||
Copyright (C) 2005, Chuck Lever <cel@netapp.com>
|
||||
|
||||
@@ -201,9 +203,9 @@ class DeviceData:
|
||||
result = DeviceData()
|
||||
|
||||
# copy self into result
|
||||
- for key, value in self.__nfs_data.iteritems():
|
||||
+ for key, value in self.__nfs_data.items():
|
||||
result.__nfs_data[key] = value
|
||||
- for key, value in self.__rpc_data.iteritems():
|
||||
+ for key, value in self.__rpc_data.items():
|
||||
result.__rpc_data[key] = value
|
||||
|
||||
# compute the difference of each item in the list
|
||||
@@ -233,9 +235,9 @@ class DeviceData:
|
||||
client_bytes_read = float(nfs_stats['serverreadbytes'] - nfs_stats['directreadbytes'])
|
||||
ratio = ((app_bytes_read - client_bytes_read) * 100) / app_bytes_read
|
||||
|
||||
- print
|
||||
- print 'app bytes: %f client bytes %f' % (app_bytes_read, client_bytes_read)
|
||||
- print 'Data cache hit ratio: %4.2f%%' % ratio
|
||||
+ print()
|
||||
+ print('app bytes: %f client bytes %f' % (app_bytes_read, client_bytes_read))
|
||||
+ print('Data cache hit ratio: %4.2f%%' % ratio)
|
||||
|
||||
def __print_attr_cache_stats(self, sample_time):
|
||||
"""Print attribute cache efficiency stats
|
||||
@@ -255,13 +257,13 @@ class DeviceData:
|
||||
data_invalidates = float(nfs_stats['datainvalidates'])
|
||||
attr_invalidates = float(nfs_stats['attrinvalidates'])
|
||||
|
||||
- print
|
||||
- print '%d inode revalidations, hitting in cache %4.2f%% of the time' % \
|
||||
- (revalidates, ratio)
|
||||
- print '%d open operations (mandatory GETATTR requests)' % opens
|
||||
+ print()
|
||||
+ print('%d inode revalidations, hitting in cache %4.2f%% of the time' % \
|
||||
+ (revalidates, ratio))
|
||||
+ print('%d open operations (mandatory GETATTR requests)' % opens)
|
||||
if getattr_ops != 0:
|
||||
- print '%4.2f%% of GETATTRs resulted in data cache invalidations' % \
|
||||
- ((data_invalidates * 100) / getattr_ops)
|
||||
+ print('%4.2f%% of GETATTRs resulted in data cache invalidations' % \
|
||||
+ ((data_invalidates * 100) / getattr_ops))
|
||||
|
||||
def __print_dir_cache_stats(self, sample_time):
|
||||
"""Print directory stats
|
||||
@@ -277,13 +279,13 @@ class DeviceData:
|
||||
lookups = nfs_stats['vfslookup']
|
||||
getdents = nfs_stats['vfsreaddir']
|
||||
|
||||
- print
|
||||
- print '%d open operations (pathname lookups)' % opens
|
||||
- print '%d dentry revalidates and %d vfs lookup requests' % \
|
||||
- (dentry_revals, lookups),
|
||||
- print 'resulted in %d LOOKUPs on the wire' % lookup_ops
|
||||
- print '%d vfs getdents calls resulted in %d READDIRs on the wire' % \
|
||||
- (getdents, readdir_ops)
|
||||
+ print()
|
||||
+ print('%d open operations (pathname lookups)' % opens)
|
||||
+ print('%d dentry revalidates and %d vfs lookup requests' % \
|
||||
+ (dentry_revals, lookups))
|
||||
+ print('resulted in %d LOOKUPs on the wire' % lookup_ops)
|
||||
+ print('%d vfs getdents calls resulted in %d READDIRs on the wire' % \
|
||||
+ (getdents, readdir_ops))
|
||||
|
||||
def __print_page_stats(self, sample_time):
|
||||
"""Print page cache stats
|
||||
@@ -297,33 +299,33 @@ class DeviceData:
|
||||
vfswritepages = nfs_stats['vfswritepages']
|
||||
pages_written = nfs_stats['writepages']
|
||||
|
||||
- print
|
||||
- print '%d nfs_readpage() calls read %d pages' % \
|
||||
- (vfsreadpage, vfsreadpage)
|
||||
- print '%d nfs_readpages() calls read %d pages' % \
|
||||
- (vfsreadpages, pages_read - vfsreadpage),
|
||||
+ print()
|
||||
+ print('%d nfs_readpage() calls read %d pages' % \
|
||||
+ (vfsreadpage, vfsreadpage))
|
||||
+ print('%d nfs_readpages() calls read %d pages' % \
|
||||
+ (vfsreadpages, pages_read - vfsreadpage))
|
||||
if vfsreadpages != 0:
|
||||
- print '(%.1f pages per call)' % \
|
||||
- (float(pages_read - vfsreadpage) / vfsreadpages)
|
||||
+ print('(%.1f pages per call)' % \
|
||||
+ (float(pages_read - vfsreadpage) / vfsreadpages))
|
||||
else:
|
||||
- print
|
||||
-
|
||||
- print
|
||||
- print '%d nfs_updatepage() calls' % nfs_stats['vfsupdatepage']
|
||||
- print '%d nfs_writepage() calls wrote %d pages' % \
|
||||
- (vfswritepage, vfswritepage)
|
||||
- print '%d nfs_writepages() calls wrote %d pages' % \
|
||||
- (vfswritepages, pages_written - vfswritepage),
|
||||
+ print()
|
||||
+
|
||||
+ print()
|
||||
+ print('%d nfs_updatepage() calls' % nfs_stats['vfsupdatepage'])
|
||||
+ print('%d nfs_writepage() calls wrote %d pages' % \
|
||||
+ (vfswritepage, vfswritepage))
|
||||
+ print('%d nfs_writepages() calls wrote %d pages' % \
|
||||
+ (vfswritepages, pages_written - vfswritepage))
|
||||
if (vfswritepages) != 0:
|
||||
- print '(%.1f pages per call)' % \
|
||||
- (float(pages_written - vfswritepage) / vfswritepages)
|
||||
+ print('(%.1f pages per call)' % \
|
||||
+ (float(pages_written - vfswritepage) / vfswritepages))
|
||||
else:
|
||||
- print
|
||||
+ print()
|
||||
|
||||
congestionwaits = nfs_stats['congestionwait']
|
||||
if congestionwaits != 0:
|
||||
- print
|
||||
- print '%d congestion waits' % congestionwaits
|
||||
+ print()
|
||||
+ print('%d congestion waits' % congestionwaits)
|
||||
|
||||
def __print_rpc_op_stats(self, op, sample_time):
|
||||
"""Print generic stats for one RPC op
|
||||
@@ -351,15 +353,15 @@ class DeviceData:
|
||||
exe_per_op = 0.0
|
||||
|
||||
op += ':'
|
||||
- print '%s' % op.lower().ljust(15),
|
||||
- print ' ops/s\t\t kB/s\t\t kB/op\t\tretrans\t\tavg RTT (ms)\tavg exe (ms)'
|
||||
+ print('%s' % op.lower().ljust(15))
|
||||
+ print(' ops/s\t\t kB/s\t\t kB/op\t\tretrans\t\tavg RTT (ms)\tavg exe (ms)')
|
||||
|
||||
- print '\t\t%7.3f' % (ops / sample_time),
|
||||
- print '\t%7.3f' % (kilobytes / sample_time),
|
||||
- print '\t%7.3f' % kb_per_op,
|
||||
- print ' %7d (%3.1f%%)' % (retrans, retrans_percent),
|
||||
- print '\t%7.3f' % rtt_per_op,
|
||||
- print '\t%7.3f' % exe_per_op
|
||||
+ print('\t\t%7.3f' % (ops / sample_time))
|
||||
+ print('\t%7.3f' % (kilobytes / sample_time))
|
||||
+ print('\t%7.3f' % kb_per_op)
|
||||
+ print(' %7d (%3.1f%%)' % (retrans, retrans_percent))
|
||||
+ print('\t%7.3f' % rtt_per_op)
|
||||
+ print('\t%7.3f' % exe_per_op)
|
||||
|
||||
def ops(self, sample_time):
|
||||
sends = float(self.__rpc_data['rpcsends'])
|
||||
@@ -384,14 +386,14 @@ class DeviceData:
|
||||
else:
|
||||
backlog = 0.0
|
||||
|
||||
- print
|
||||
- print '%s mounted on %s:' % \
|
||||
- (self.__nfs_data['export'], self.__nfs_data['mountpoint'])
|
||||
- print
|
||||
+ print()
|
||||
+ print('%s mounted on %s:' % \
|
||||
+ (self.__nfs_data['export'], self.__nfs_data['mountpoint']))
|
||||
+ print()
|
||||
|
||||
- print ' op/s\t\trpc bklog'
|
||||
- print '%7.2f' % (sends / sample_time),
|
||||
- print '\t%7.2f' % backlog
|
||||
+ print(' op/s\t\trpc bklog')
|
||||
+ print('%7.2f' % (sends / sample_time))
|
||||
+ print('\t%7.2f' % backlog)
|
||||
|
||||
if which == 0:
|
||||
self.__print_rpc_op_stats('READ', sample_time)
|
||||
@@ -424,7 +426,7 @@ def parse_stats_file(filename):
|
||||
ms_dict = dict()
|
||||
key = ''
|
||||
|
||||
- f = file(filename)
|
||||
+ f = open(filename)
|
||||
for line in f.readlines():
|
||||
words = line.split()
|
||||
if len(words) == 0:
|
||||
@@ -494,7 +496,7 @@ def list_nfs_mounts(givenlist, mountstats):
|
||||
if stats.is_nfs_mountpoint():
|
||||
list += [device]
|
||||
else:
|
||||
- for device, descr in mountstats.iteritems():
|
||||
+ for device, descr in mountstats.items():
|
||||
stats = DeviceData()
|
||||
stats.parse_stats(descr)
|
||||
if stats.is_nfs_mountpoint():
|
||||
@@ -527,7 +529,7 @@ client are listed.
|
||||
usage="usage: %prog [ <interval> [ <count> ] ] [ <options> ] [ <mount point> ]",
|
||||
description=mydescription,
|
||||
version='version %s' % Iostats_version)
|
||||
- parser.set_defaults(which=0, sort=False, list=sys.maxint)
|
||||
+ parser.set_defaults(which=0, sort=False, list=sys.maxsize)
|
||||
|
||||
statgroup = OptionGroup(parser, "Statistics Options",
|
||||
'File I/O is displayed unless one of the following is specified:')
|
||||
@@ -572,29 +574,29 @@ client are listed.
|
||||
try:
|
||||
interval = int(arg)
|
||||
except:
|
||||
- print 'Illegal <interval> value %s' % arg
|
||||
+ print('Illegal <interval> value %s' % arg)
|
||||
return
|
||||
if interval > 0:
|
||||
interval_seen = True
|
||||
else:
|
||||
- print 'Illegal <interval> value %s' % arg
|
||||
+ print('Illegal <interval> value %s' % arg)
|
||||
return
|
||||
elif not count_seen:
|
||||
try:
|
||||
count = int(arg)
|
||||
except:
|
||||
- print 'Ilegal <count> value %s' % arg
|
||||
+ print('Ilegal <count> value %s' % arg)
|
||||
return
|
||||
if count > 0:
|
||||
count_seen = True
|
||||
else:
|
||||
- print 'Illegal <count> value %s' % arg
|
||||
+ print('Illegal <count> value %s' % arg)
|
||||
return
|
||||
|
||||
# make certain devices contains only NFS mount points
|
||||
devices = list_nfs_mounts(origdevices, mountstats)
|
||||
if len(devices) == 0:
|
||||
- print 'No NFS mount points were found'
|
||||
+ print('No NFS mount points were found')
|
||||
return
|
||||
|
||||
|
||||
@@ -616,7 +618,7 @@ client are listed.
|
||||
# we need to recheck the devices list when reparsing
|
||||
devices = list_nfs_mounts(origdevices,mountstats)
|
||||
if len(devices) == 0:
|
||||
- print 'No NFS mount points were found'
|
||||
+ print('No NFS mount points were found')
|
||||
return
|
||||
count -= 1
|
||||
else:
|
||||
@@ -630,7 +632,7 @@ client are listed.
|
||||
# we need to recheck the devices list when reparsing
|
||||
devices = list_nfs_mounts(origdevices,mountstats)
|
||||
if len(devices) == 0:
|
||||
- print 'No NFS mount points were found'
|
||||
+ print('No NFS mount points were found')
|
||||
return
|
||||
|
||||
#
|
||||
@@ -641,7 +643,7 @@ prog = os.path.basename(sys.argv[0])
|
||||
try:
|
||||
iostat_command(prog)
|
||||
except KeyboardInterrupt:
|
||||
- print 'Caught ^C... exiting'
|
||||
+ print('Caught ^C... exiting')
|
||||
sys.exit(1)
|
||||
|
||||
sys.exit(0)
|
||||
--
|
||||
1.8.1.2
|
||||
|
||||
38
net-fs/nfs-utils/files/nfs.confd
Normal file
38
net-fs/nfs-utils/files/nfs.confd
Normal file
@@ -0,0 +1,38 @@
|
||||
# /etc/conf.d/nfs
|
||||
|
||||
# If you wish to set the port numbers for lockd,
|
||||
# please see /etc/sysctl.conf
|
||||
|
||||
# Optional services to include in default `/etc/init.d/nfs start`
|
||||
# For NFSv4 users, you'll want to add "rpc.idmapd" here.
|
||||
NFS_NEEDED_SERVICES=""
|
||||
|
||||
# Number of servers to be started up by default
|
||||
OPTS_RPC_NFSD="8"
|
||||
|
||||
# Options to pass to rpc.mountd
|
||||
# ex. OPTS_RPC_MOUNTD="-p 32767"
|
||||
OPTS_RPC_MOUNTD=""
|
||||
|
||||
# Options to pass to rpc.statd
|
||||
# ex. OPTS_RPC_STATD="-p 32765 -o 32766"
|
||||
OPTS_RPC_STATD=""
|
||||
|
||||
# Options to pass to rpc.idmapd
|
||||
OPTS_RPC_IDMAPD=""
|
||||
|
||||
# Options to pass to rpc.gssd
|
||||
OPTS_RPC_GSSD=""
|
||||
|
||||
# Options to pass to rpc.svcgssd
|
||||
OPTS_RPC_SVCGSSD=""
|
||||
|
||||
# Options to pass to rpc.rquotad (requires sys-fs/quota)
|
||||
OPTS_RPC_RQUOTAD=""
|
||||
|
||||
# Timeout (in seconds) for exportfs
|
||||
EXPORTFS_TIMEOUT=30
|
||||
|
||||
# Options to set in the nfsd filesystem (/proc/fs/nfsd/).
|
||||
# Format is <option>=<value>. Multiple options are allowed.
|
||||
#OPTS_NFSD="nfsv4leasetime=30 max_block_size=4096"
|
||||
163
net-fs/nfs-utils/files/nfs.initd
Executable file
163
net-fs/nfs-utils/files/nfs.initd
Executable file
@@ -0,0 +1,163 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/files/nfs.initd,v 1.27 2013/03/24 19:37:22 vapier Exp $
|
||||
|
||||
extra_started_commands="reload"
|
||||
|
||||
# This variable is used for controlling whether or not to run exportfs -ua;
|
||||
# see stop() for more information
|
||||
restarting=no
|
||||
|
||||
# The binary locations
|
||||
exportfs=/usr/sbin/exportfs
|
||||
mountd=/usr/sbin/rpc.mountd
|
||||
nfsd=/usr/sbin/rpc.nfsd
|
||||
smnotify=/usr/sbin/sm-notify
|
||||
|
||||
depend() {
|
||||
local myneed=""
|
||||
# XXX: no way to detect NFSv4 is desired and so need rpc.idmapd
|
||||
myneed="${myneed} $(
|
||||
awk '!/^[[:space:]]*#/ {
|
||||
# clear the path to avoid spurious matches
|
||||
$1 = "";
|
||||
if ($0 ~ /[(][^)]*sec=(krb|spkm)[^)]*[)]/) {
|
||||
print "rpc.svcgssd"
|
||||
exit 0
|
||||
}
|
||||
}' /etc/exports /etc/exports.d/*.exports 2>/dev/null
|
||||
)"
|
||||
config /etc/exports /etc/exports.d/*.exports
|
||||
need portmap rpc.statd ${myneed} ${NFS_NEEDED_SERVICES}
|
||||
use ypbind net dns rpc.rquotad rpc.idmapd rpc.svcgssd
|
||||
after quota
|
||||
}
|
||||
|
||||
mkdir_nfsdirs() {
|
||||
local d
|
||||
for d in rpc_pipefs v4recovery v4root ; do
|
||||
d="/var/lib/nfs/${d}"
|
||||
[ ! -d "${d}" ] && mkdir -p "${d}"
|
||||
done
|
||||
}
|
||||
|
||||
waitfor_exportfs() {
|
||||
local pid=$1
|
||||
( sleep ${EXPORTFS_TIMEOUT:-30}; kill -9 ${pid} 2>/dev/null ) &
|
||||
wait $1
|
||||
}
|
||||
|
||||
mount_nfsd() {
|
||||
if [ -e /proc/modules ] ; then
|
||||
# Make sure nfs support is loaded in the kernel #64709
|
||||
if ! grep -qs nfsd /proc/filesystems ; then
|
||||
modprobe -q nfsd
|
||||
fi
|
||||
# Restart idmapd if needed #220747
|
||||
if grep -qs nfsd /proc/modules ; then
|
||||
killall -q -HUP rpc.idmapd
|
||||
fi
|
||||
fi
|
||||
|
||||
# This is the new "kernel 2.6 way" to handle the exports file
|
||||
if grep -qs nfsd /proc/filesystems ; then
|
||||
if ! grep -qs "nfsd /proc/fs/nfsd" /proc/mounts ; then
|
||||
ebegin "Mounting nfsd filesystem in /proc"
|
||||
mount -t nfsd -o nodev,noexec,nosuid nfsd /proc/fs/nfsd
|
||||
eend $?
|
||||
fi
|
||||
|
||||
local o
|
||||
for o in ${OPTS_NFSD} ; do
|
||||
echo "${o#*=}" > "/proc/fs/nfsd/${o%%=*}"
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
start_it() {
|
||||
ebegin "Starting NFS $1"
|
||||
shift
|
||||
"$@"
|
||||
eend $?
|
||||
ret=$((ret + $?))
|
||||
}
|
||||
start() {
|
||||
mount_nfsd
|
||||
mkdir_nfsdirs
|
||||
|
||||
# Exportfs likes to hang if networking isn't working.
|
||||
# If that's the case, then try to kill it so the
|
||||
# bootup process can continue.
|
||||
if grep -qs '^[[:space:]]*/' /etc/exports /etc/exports.d/*.exports ; then
|
||||
ebegin "Exporting NFS directories"
|
||||
${exportfs} -r &
|
||||
waitfor_exportfs $!
|
||||
eend $?
|
||||
fi
|
||||
|
||||
local ret=0
|
||||
start_it mountd ${mountd} ${OPTS_RPC_MOUNTD}
|
||||
start_it daemon ${nfsd} ${OPTS_RPC_NFSD}
|
||||
[ -x "${smnotify}" ] && start_it smnotify ${smnotify} ${OPTS_SMNOTIFY}
|
||||
return ${ret}
|
||||
}
|
||||
|
||||
stop() {
|
||||
local ret=0
|
||||
|
||||
ebegin "Stopping NFS mountd"
|
||||
start-stop-daemon --stop --exec ${mountd}
|
||||
eend $?
|
||||
ret=$((ret + $?))
|
||||
|
||||
# nfsd sets its process name to [nfsd] so don't look for $nfsd
|
||||
ebegin "Stopping NFS daemon"
|
||||
start-stop-daemon --stop --name nfsd --user root --signal 2
|
||||
eend $?
|
||||
ret=$((ret + $?))
|
||||
# in case things don't work out ... #228127
|
||||
rpc.nfsd 0
|
||||
|
||||
# When restarting the NFS server, running "exportfs -ua" probably
|
||||
# isn't what the user wants. Running it causes all entries listed
|
||||
# in xtab to be removed from the kernel export tables, and the
|
||||
# xtab file is cleared. This effectively shuts down all NFS
|
||||
# activity, leaving all clients holding stale NFS filehandles,
|
||||
# *even* when the NFS server has restarted.
|
||||
#
|
||||
# That's what you would want if you were shutting down the NFS
|
||||
# server for good, or for a long period of time, but not when the
|
||||
# NFS server will be running again in short order. In this case,
|
||||
# then "exportfs -r" will reread the xtab, and all the current
|
||||
# clients will be able to resume NFS activity, *without* needing
|
||||
# to umount/(re)mount the filesystem.
|
||||
if [ "${restarting}" = no -o "${RC_CMD}" = "restart" ] ; then
|
||||
ebegin "Unexporting NFS directories"
|
||||
# Exportfs likes to hang if networking isn't working.
|
||||
# If that's the case, then try to kill it so the
|
||||
# shutdown process can continue.
|
||||
${exportfs} -ua &
|
||||
waitfor_exportfs $!
|
||||
eend $?
|
||||
fi
|
||||
|
||||
return ${ret}
|
||||
}
|
||||
|
||||
reload() {
|
||||
# Exportfs likes to hang if networking isn't working.
|
||||
# If that's the case, then try to kill it so the
|
||||
# bootup process can continue.
|
||||
ebegin "Reloading /etc/exports"
|
||||
${exportfs} -r 1>&2 &
|
||||
waitfor_exportfs $!
|
||||
eend $?
|
||||
}
|
||||
|
||||
restart() {
|
||||
# See long comment in stop() regarding "restarting" and exportfs -ua
|
||||
restarting=yes
|
||||
svc_stop
|
||||
svc_start
|
||||
}
|
||||
7
net-fs/nfs-utils/files/nfsmount.confd
Normal file
7
net-fs/nfs-utils/files/nfsmount.confd
Normal file
@@ -0,0 +1,7 @@
|
||||
# You will need to set the dependencies in the nfsmount script to match
|
||||
# the network configuration tools you are using. This should be done in
|
||||
# this file by following the examples below, and not by changing the
|
||||
# service script itself. See /etc/conf.d/netmount for more examples.
|
||||
#
|
||||
# This is a safe default.
|
||||
rc_after="net"
|
||||
48
net-fs/nfs-utils/files/nfsmount.initd
Executable file
48
net-fs/nfs-utils/files/nfsmount.initd
Executable file
@@ -0,0 +1,48 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/files/nfsmount.initd,v 1.15 2013/03/24 20:29:48 vapier Exp $
|
||||
|
||||
[ -e /etc/conf.d/nfs ] && . /etc/conf.d/nfs
|
||||
|
||||
depend() {
|
||||
local myneed=""
|
||||
if [ -e /etc/fstab ] ; then
|
||||
myneed="${myneed} $(
|
||||
awk '!/^[[:space:]]*#/ && ($3 == "nfs" || $3 == "nfs4") {
|
||||
if ($3 == "nfs4")
|
||||
idmapd = "rpc.idmapd"
|
||||
if ($4 ~ /sec=(krb|spkm)/)
|
||||
gssd = "rpc.gssd"
|
||||
}
|
||||
END { print idmapd " " gssd }
|
||||
' /etc/fstab
|
||||
)"
|
||||
fi
|
||||
config /etc/fstab
|
||||
need portmap rpc.statd ${myneed}
|
||||
use ypbind dns rpc.idmapd rpc.gssd
|
||||
}
|
||||
|
||||
start() {
|
||||
if [ -x /usr/sbin/sm-notify ] ; then
|
||||
ebegin "Starting NFS sm-notify"
|
||||
/usr/sbin/sm-notify ${OPTS_SMNOTIFY}
|
||||
eend $?
|
||||
fi
|
||||
|
||||
# Make sure nfs support is loaded in the kernel #64709
|
||||
if [ -e /proc/modules ] && ! grep -qs 'nfs$' /proc/filesystems ; then
|
||||
modprobe -q nfs
|
||||
fi
|
||||
|
||||
ebegin "Mounting NFS filesystems"
|
||||
mount -a -t nfs,nfs4
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Unmounting NFS filesystems"
|
||||
umount -a -t nfs,nfs4
|
||||
eend $?
|
||||
}
|
||||
24
net-fs/nfs-utils/files/rpc.gssd.initd
Executable file
24
net-fs/nfs-utils/files/rpc.gssd.initd
Executable file
@@ -0,0 +1,24 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2008 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/files/rpc.gssd.initd,v 1.11 2008/10/26 09:02:47 vapier Exp $
|
||||
|
||||
[ -e /etc/conf.d/nfs ] && . /etc/conf.d/nfs
|
||||
|
||||
depend() {
|
||||
use ypbind net
|
||||
need portmap rpc.pipefs
|
||||
after quota
|
||||
}
|
||||
|
||||
start() {
|
||||
ebegin "Starting gssd"
|
||||
start-stop-daemon --start --exec /usr/sbin/rpc.gssd -- ${OPTS_RPC_GSSD}
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping gssd"
|
||||
start-stop-daemon --stop --exec /usr/sbin/rpc.gssd
|
||||
eend $?
|
||||
}
|
||||
26
net-fs/nfs-utils/files/rpc.idmapd.initd
Executable file
26
net-fs/nfs-utils/files/rpc.idmapd.initd
Executable file
@@ -0,0 +1,26 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2008 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/files/rpc.idmapd.initd,v 1.8 2009/03/14 18:43:18 vapier Exp $
|
||||
|
||||
[ -e /etc/conf.d/nfs ] && . /etc/conf.d/nfs
|
||||
|
||||
rpc_bin=/usr/sbin/rpc.idmapd
|
||||
|
||||
depend() {
|
||||
use ypbind net
|
||||
need portmap rpc.pipefs
|
||||
after quota
|
||||
}
|
||||
|
||||
start() {
|
||||
ebegin "Starting idmapd"
|
||||
${rpc_bin} ${OPTS_RPC_IDMAPD}
|
||||
eend $? "make sure DNOTIFY support is enabled ..."
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping idmapd"
|
||||
start-stop-daemon --stop --exec ${rpc_bin}
|
||||
eend $?
|
||||
}
|
||||
25
net-fs/nfs-utils/files/rpc.pipefs.initd
Normal file
25
net-fs/nfs-utils/files/rpc.pipefs.initd
Normal file
@@ -0,0 +1,25 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/files/rpc.pipefs.initd,v 1.2 2011/06/19 23:04:36 vapier Exp $
|
||||
|
||||
mount_pipefs() {
|
||||
local fstype=rpc_pipefs mntpoint=/var/lib/nfs/rpc_pipefs
|
||||
|
||||
# if things are already mounted, nothing to do
|
||||
mountinfo -q ${mntpoint} && return 0
|
||||
|
||||
# if rpc_pipefs is not available, try to load sunrpc for it #219566
|
||||
grep -qs ${fstype} /proc/filesystems || modprobe -q sunrpc
|
||||
# if still not available, the `mount` will issue an error for the user
|
||||
|
||||
# now just do it for kicks
|
||||
mkdir -p ${mntpoint}
|
||||
mount -t ${fstype} ${fstype} ${mntpoint}
|
||||
}
|
||||
|
||||
start() {
|
||||
ebegin "Setting up RPC pipefs"
|
||||
mount_pipefs
|
||||
eend $? "make sure you have NFS/SUNRPC enabled in your kernel"
|
||||
}
|
||||
33
net-fs/nfs-utils/files/rpc.statd.initd
Executable file
33
net-fs/nfs-utils/files/rpc.statd.initd
Executable file
@@ -0,0 +1,33 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/files/rpc.statd.initd,v 1.7 2009/01/31 22:16:11 vapier Exp $
|
||||
|
||||
[ -e /etc/conf.d/nfs ] && . /etc/conf.d/nfs
|
||||
|
||||
rpc_bin=/sbin/rpc.statd
|
||||
rpc_pid=/var/run/rpc.statd.pid
|
||||
|
||||
depend() {
|
||||
use ypbind net
|
||||
need portmap
|
||||
after quota
|
||||
}
|
||||
|
||||
start() {
|
||||
# Don't start rpc.statd if already started by someone else ...
|
||||
# Don't try and kill it if it's already dead ...
|
||||
if killall -q -0 ${rpc_bin} ; then
|
||||
return 0
|
||||
fi
|
||||
|
||||
ebegin "Starting NFS statd"
|
||||
start-stop-daemon --start --exec ${rpc_bin} -- --no-notify ${OPTS_RPC_STATD}
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping NFS statd"
|
||||
start-stop-daemon --stop --exec ${rpc_bin} --pidfile /var/run/rpc.statd.pid
|
||||
eend $?
|
||||
}
|
||||
24
net-fs/nfs-utils/files/rpc.svcgssd.initd
Executable file
24
net-fs/nfs-utils/files/rpc.svcgssd.initd
Executable file
@@ -0,0 +1,24 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2008 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/files/rpc.svcgssd.initd,v 1.5 2008/10/26 09:02:47 vapier Exp $
|
||||
|
||||
[ -e /etc/conf.d/nfs ] && . /etc/conf.d/nfs
|
||||
|
||||
depend() {
|
||||
use ypbind net
|
||||
need portmap rpc.pipefs
|
||||
after quota
|
||||
}
|
||||
|
||||
start() {
|
||||
ebegin "Starting svcgssd"
|
||||
start-stop-daemon --start --exec /usr/sbin/rpc.svcgssd -- ${OPTS_RPC_SVCGSSD}
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping svcgssd"
|
||||
start-stop-daemon --stop --exec /usr/sbin/rpc.svcgssd
|
||||
eend $?
|
||||
}
|
||||
15
net-fs/nfs-utils/metadata.xml
Normal file
15
net-fs/nfs-utils/metadata.xml
Normal file
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>net-fs</herd>
|
||||
<longdescription>NFS client and server daemons</longdescription>
|
||||
<use>
|
||||
<flag name='nfsdcld'>Enable nfsdcld NFSv4 clientid tracking daemon</flag>
|
||||
<flag name='nfsidmap'>Enable support for newer nfsidmap helper</flag>
|
||||
<flag name='nfsv3'>Enable support for NFSv3</flag>
|
||||
<flag name='nfsv4'>Enable support for NFSv4</flag>
|
||||
<flag name='nfsv41'>Enable support for NFSv4.1</flag>
|
||||
<flag name='nonfsv4'>Disable support for NFSv4</flag>
|
||||
<flag name='uuid'>Support UUID lookups in rpc.mountd</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
131
net-fs/nfs-utils/nfs-utils-1.2.7.ebuild
Normal file
131
net-fs/nfs-utils/nfs-utils-1.2.7.ebuild
Normal file
@@ -0,0 +1,131 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/nfs-utils-1.2.7.ebuild,v 1.3 2013/04/13 20:02:02 vapier Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils flag-o-matic multilib autotools
|
||||
|
||||
DESCRIPTION="NFS client and server daemons"
|
||||
HOMEPAGE="http://linux-nfs.org/"
|
||||
SRC_URI="mirror://sourceforge/nfs/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
IUSE="caps ipv6 kerberos nfsdcld +nfsidmap +nfsv4 nfsv41 selinux tcpd +uuid"
|
||||
RESTRICT="test" #315573
|
||||
|
||||
# kth-krb doesn't provide the right include
|
||||
# files, and nfs-utils doesn't build against heimdal either,
|
||||
# so don't depend on virtual/krb.
|
||||
# (04 Feb 2005 agriffis)
|
||||
DEPEND_COMMON="tcpd? ( sys-apps/tcp-wrappers )
|
||||
caps? ( sys-libs/libcap )
|
||||
sys-libs/e2fsprogs-libs
|
||||
net-nds/rpcbind
|
||||
net-libs/libtirpc
|
||||
nfsdcld? ( >=dev-db/sqlite-3.3 )
|
||||
nfsv4? (
|
||||
>=dev-libs/libevent-1.0b
|
||||
>=net-libs/libnfsidmap-0.21-r1
|
||||
kerberos? (
|
||||
net-libs/librpcsecgss
|
||||
net-libs/libtirpc[kerberos]
|
||||
virtual/krb5
|
||||
)
|
||||
nfsidmap? (
|
||||
>=net-libs/libnfsidmap-0.24
|
||||
sys-apps/keyutils
|
||||
)
|
||||
)
|
||||
nfsv41? (
|
||||
sys-fs/lvm2
|
||||
)
|
||||
selinux? (
|
||||
sec-policy/selinux-rpc
|
||||
sec-policy/selinux-rpcbind
|
||||
)
|
||||
uuid? ( sys-apps/util-linux )"
|
||||
RDEPEND="${DEPEND_COMMON} !net-nds/portmap"
|
||||
DEPEND="${DEPEND_COMMON}
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-1.1.4-mtab-sym.patch
|
||||
epatch "${FILESDIR}"/${PN}-1.2.6-cross-build.patch
|
||||
epatch "${FILESDIR}"/${PN}-1.2.7-nfsiostat-python3.patch #458934
|
||||
epatch "${FILESDIR}"/${PN}-1.2.7-libio.patch #459200
|
||||
epatch "${FILESDIR}"/${PN}-1.2.7-heomdal.patch
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
export libsqlite3_cv_is_recent=yes # Our DEPEND forces this.
|
||||
export ac_cv_header_keyutils_h=$(usex nfsidmap)
|
||||
econf \
|
||||
--with-statedir=/var/lib/nfs \
|
||||
--enable-tirpc \
|
||||
$(use_with tcpd tcp-wrappers) \
|
||||
$(use_enable nfsdcld nfsdcltrack) \
|
||||
$(use_enable nfsv4) \
|
||||
$(use_enable nfsv41) \
|
||||
$(use_enable ipv6) \
|
||||
$(use_enable caps) \
|
||||
$(use_enable uuid) \
|
||||
$(usex nfsv4 "$(use_enable kerberos gss)" "--disable-gss")
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
rm linux-nfs/Makefile* || die
|
||||
dodoc -r linux-nfs ChangeLog README
|
||||
|
||||
# Don't overwrite existing xtab/etab, install the original
|
||||
# versions somewhere safe... more info in pkg_postinst
|
||||
keepdir /var/lib/nfs/{,sm,sm.bak}
|
||||
mv "${ED}"/var/lib "${ED}"/usr/$(get_libdir) || die
|
||||
|
||||
# Install some client-side binaries in /sbin
|
||||
dodir /sbin
|
||||
mv "${ED}"/usr/sbin/rpc.statd "${ED}"/sbin/ || die
|
||||
|
||||
if use nfsv4 && use nfsidmap ; then
|
||||
# Install a config file for idmappers in newer kernels. #415625
|
||||
insinto /etc/request-key.d
|
||||
echo 'create id_resolver * * /usr/sbin/nfsidmap -t 600 %k %d' > id_resolver.conf
|
||||
doins id_resolver.conf
|
||||
fi
|
||||
|
||||
insinto /etc
|
||||
doins "${FILESDIR}"/exports
|
||||
|
||||
local f list=() opt_need=""
|
||||
if use nfsv4 ; then
|
||||
opt_need="rpc.idmapd"
|
||||
list+=( rpc.idmapd rpc.pipefs )
|
||||
use kerberos && list+=( rpc.gssd rpc.svcgssd )
|
||||
fi
|
||||
for f in nfs nfsmount rpc.statd "${list[@]}" ; do
|
||||
newinitd "${FILESDIR}"/${f}.initd ${f}
|
||||
done
|
||||
for f in nfs nfsmount ; do
|
||||
newconfd "${FILESDIR}"/${f}.confd ${f}
|
||||
done
|
||||
sed -i \
|
||||
-e "/^NFS_NEEDED_SERVICES=/s:=.*:=\"${opt_need}\":" \
|
||||
"${ED}"/etc/conf.d/nfs || die #234132
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Install default xtab and friends if there's none existing. In
|
||||
# src_install we put them in /usr/lib/nfs for safe-keeping, but
|
||||
# the daemons actually use the files in /var/lib/nfs. #30486
|
||||
local f
|
||||
mkdir -p "${ROOT}"/var/lib/nfs #368505
|
||||
for f in "${ROOT}"/usr/$(get_libdir)/nfs/*; do
|
||||
[[ -e ${ROOT}/var/lib/nfs/${f##*/} ]] && continue
|
||||
einfo "Copying default ${f##*/} from /usr/$(get_libdir)/nfs to /var/lib/nfs"
|
||||
cp -pPR "${f}" "${ROOT}"/var/lib/nfs/
|
||||
done
|
||||
}
|
||||
Reference in New Issue
Block a user