diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-09-15 01:35:38 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2007-09-15 01:35:38 +0000 |
commit | 29e390f258791c610df433931f573cd4a7f4af30 (patch) | |
tree | 4dc3d1864243bd5b9e88dfe883cdb10ca31b0004 | |
parent | arm/s390/sh stable (diff) | |
download | gentoo-2-29e390f258791c610df433931f573cd4a7f4af30.tar.gz gentoo-2-29e390f258791c610df433931f573cd4a7f4af30.tar.bz2 gentoo-2-29e390f258791c610df433931f573cd4a7f4af30.zip |
old
(Portage version: 2.1.3.9, RepoMan options: --force)
19 files changed, 0 insertions, 870 deletions
diff --git a/net-fs/nfs-utils/files/digest-nfs-utils-1.0.10 b/net-fs/nfs-utils/files/digest-nfs-utils-1.0.10 deleted file mode 100644 index d0da45ea5323..000000000000 --- a/net-fs/nfs-utils/files/digest-nfs-utils-1.0.10 +++ /dev/null @@ -1,6 +0,0 @@ -MD5 06b37f704ed5bffc16d498f36c3bb95b nfs-utils-1.0.10-CITI_NFS4_ALL-1.dif 77589 -RMD160 6615b6dd086d57af7684687ae566ebb6cf9fc96c nfs-utils-1.0.10-CITI_NFS4_ALL-1.dif 77589 -SHA256 6dd9b5b61e2b0d25f090ac031d75c41fba485014cb09069d2ae20d15648a14bb nfs-utils-1.0.10-CITI_NFS4_ALL-1.dif 77589 -MD5 1949634d0dc896696d8a880bdca622c8 nfs-utils-1.0.10.tar.gz 782161 -RMD160 f8fc404e008af09066f8a4937ee1b0431def4bac nfs-utils-1.0.10.tar.gz 782161 -SHA256 d5b15a95de6ec572757fda2ba03d069c712b3446fddb2dbe9b1b28f1ddf59d0a nfs-utils-1.0.10.tar.gz 782161 diff --git a/net-fs/nfs-utils/files/digest-nfs-utils-1.0.12-r1 b/net-fs/nfs-utils/files/digest-nfs-utils-1.0.12-r1 deleted file mode 100644 index bdb8c3cf47a5..000000000000 --- a/net-fs/nfs-utils/files/digest-nfs-utils-1.0.12-r1 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 acf3656cec3872deb597aa7ac13f3c3a nfs-utils-1.0.12.tar.gz 778576 -RMD160 a00dbdae386acf3f969714a1571749182c5a19a8 nfs-utils-1.0.12.tar.gz 778576 -SHA256 67d81a53d84777c733ff8a5cf5f3eed9ecda17fb9f949bc65727c1a3427af8ac nfs-utils-1.0.12.tar.gz 778576 diff --git a/net-fs/nfs-utils/files/digest-nfs-utils-1.0.12-r3 b/net-fs/nfs-utils/files/digest-nfs-utils-1.0.12-r3 deleted file mode 100644 index bdb8c3cf47a5..000000000000 --- a/net-fs/nfs-utils/files/digest-nfs-utils-1.0.12-r3 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 acf3656cec3872deb597aa7ac13f3c3a nfs-utils-1.0.12.tar.gz 778576 -RMD160 a00dbdae386acf3f969714a1571749182c5a19a8 nfs-utils-1.0.12.tar.gz 778576 -SHA256 67d81a53d84777c733ff8a5cf5f3eed9ecda17fb9f949bc65727c1a3427af8ac nfs-utils-1.0.12.tar.gz 778576 diff --git a/net-fs/nfs-utils/files/digest-nfs-utils-1.0.6-r6 b/net-fs/nfs-utils/files/digest-nfs-utils-1.0.6-r6 deleted file mode 100644 index d005fa58e47f..000000000000 --- a/net-fs/nfs-utils/files/digest-nfs-utils-1.0.6-r6 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 f17e9983457e1cf61c37f0be4493fce6 nfs-utils-1.0.6.tar.gz 265964 -RMD160 e879f72a7319320a0810e792a2a8fe90d0201144 nfs-utils-1.0.6.tar.gz 265964 -SHA256 aa99fcb016971290f9a871331eed60150ebdd84785dda1b252556a54760b97bf nfs-utils-1.0.6.tar.gz 265964 diff --git a/net-fs/nfs-utils/files/digest-nfs-utils-1.0.7-r2 b/net-fs/nfs-utils/files/digest-nfs-utils-1.0.7-r2 deleted file mode 100644 index df6015350e97..000000000000 --- a/net-fs/nfs-utils/files/digest-nfs-utils-1.0.7-r2 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 8f863120261cd572ad320a9152581e11 nfs-utils-1.0.7.tar.gz 398577 -RMD160 ee01e8a4a9d99018a6e318a74364d1f9b835a93b nfs-utils-1.0.7.tar.gz 398577 -SHA256 14b63a6006f9385dd9fe2ed302865fa9ff152853750aabed445a1475640f17ee nfs-utils-1.0.7.tar.gz 398577 diff --git a/net-fs/nfs-utils/files/digest-nfs-utils-1.0.9 b/net-fs/nfs-utils/files/digest-nfs-utils-1.0.9 deleted file mode 100644 index 3b2d2d4bcd73..000000000000 --- a/net-fs/nfs-utils/files/digest-nfs-utils-1.0.9 +++ /dev/null @@ -1,6 +0,0 @@ -MD5 12f747588becd83fb8a812788c006d2c nfs-utils-1.0.9-CITI_NFS4_ALL-1.dif 42249 -RMD160 6524766fe4248cc466cb3180c23569cdcb071f4e nfs-utils-1.0.9-CITI_NFS4_ALL-1.dif 42249 -SHA256 0042c29ee2ab9795400f8324d2a97f830698ed3e6eebd3ad08c47bb1934569f0 nfs-utils-1.0.9-CITI_NFS4_ALL-1.dif 42249 -MD5 73981058e49b0b4ce2a15e21960529f5 nfs-utils-1.0.9.tar.gz 780431 -RMD160 26db73aecf8307a3f6d10a3e331a757747f8182a nfs-utils-1.0.9.tar.gz 780431 -SHA256 55eaf5b4e7799ee7bfae2ea47270a264bc7cc0a4955424e3356916816f19e800 nfs-utils-1.0.9.tar.gz 780431 diff --git a/net-fs/nfs-utils/files/nfs-utils-0.3.3-rquotad-overflow.patch b/net-fs/nfs-utils/files/nfs-utils-0.3.3-rquotad-overflow.patch deleted file mode 100644 index d3ef7a7a1d64..000000000000 --- a/net-fs/nfs-utils/files/nfs-utils-0.3.3-rquotad-overflow.patch +++ /dev/null @@ -1,29 +0,0 @@ ---- nfs-utils-0.3.3/utils/rquotad/rquota_server.c.orig Wed Jun 27 12:45:56 2001 -+++ nfs-utils-0.3.3/utils/rquotad/rquota_server.c Thu Nov 11 14:36:39 2004 -@@ -76,6 +76,7 @@ getquota_rslt *getquotainfo(int flags, c - char *pathname, *qfpathname; - int fd, err, id, type; - struct stat stm, stn; -+ struct rquota *rquota; - - /* - * First check authentication. -@@ -168,8 +169,16 @@ getquota_rslt *getquotainfo(int flags, c - * Make a copy of the info into the last part of the remote quota - * struct which is exactly the same. - */ -- memcpy((caddr_t *)&result.getquota_rslt_u.gqr_rquota.rq_bhardlimit, -- (caddr_t *)&dq_dqb, sizeof(struct dqblk)); -+ -+ rquota = &result.getquota_rslt_u.gqr_rquota; -+ rquota->rq_bhardlimit = dq_dqb.dqb_bhardlimit; -+ rquota->rq_bsoftlimit = dq_dqb.dqb_bsoftlimit;; -+ rquota->rq_curblocks = dq_dqb.dqb_curblocks; -+ rquota->rq_fhardlimit = dq_dqb.dqb_ihardlimit; -+ rquota->rq_fsoftlimit = dq_dqb.dqb_isoftlimit; -+ rquota->rq_curfiles = dq_dqb.dqb_curinodes; -+ rquota->rq_btimeleft = dq_dqb.dqb_btime; -+ rquota->rq_ftimeleft = dq_dqb.dqb_itime; - - return(&result); - } diff --git a/net-fs/nfs-utils/files/nfs-utils-1.0.10-uts-release.patch b/net-fs/nfs-utils/files/nfs-utils-1.0.10-uts-release.patch deleted file mode 100644 index 5d45698a7405..000000000000 --- a/net-fs/nfs-utils/files/nfs-utils-1.0.10-uts-release.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- tools/getkversion/getkversion.c -+++ tools/getkversion/getkversion.c -@@ -14,6 +14,8 @@ - int - main(void) /* This is for Dan Popp ;) */ - { -+#ifdef UTS_RELEASE - printf("%s\n", UTS_RELEASE); -+#endif - return 0; - } diff --git a/net-fs/nfs-utils/files/nfs-utils-1.0.6-uclibc.patch b/net-fs/nfs-utils/files/nfs-utils-1.0.6-uclibc.patch deleted file mode 100644 index 3336549dbaa4..000000000000 --- a/net-fs/nfs-utils/files/nfs-utils-1.0.6-uclibc.patch +++ /dev/null @@ -1,18 +0,0 @@ ---- ./support/nfs/svc_socket.c.orig 2004-12-12 06:43:52.000000000 +0000 -+++ ./support/nfs/svc_socket.c 2004-12-12 06:50:04.000000000 +0000 -@@ -66,6 +66,7 @@ - __bzero ((char *) &addr, sizeof (addr)); - addr.sin_family = AF_INET; - -+#ifndef __UCLIBC__ /* neither getrpcbynumber() nor getrpcbynumber_r() is SuSv3 */ - ret = getrpcbynumber_r (number, &rpcbuf, rpcdata, sizeof rpcdata, - &rpcp); - if (ret == 0 && rpcp != NULL) -@@ -99,6 +100,7 @@ - } - } - else -+#endif /* ! __UCLIBC__ */ - { - if (bindresvport (sock, &addr)) - { diff --git a/net-fs/nfs-utils/files/nfs-utils-1.0.6-usn36.patch b/net-fs/nfs-utils/files/nfs-utils-1.0.6-usn36.patch deleted file mode 100644 index 8636519c4218..000000000000 --- a/net-fs/nfs-utils/files/nfs-utils-1.0.6-usn36.patch +++ /dev/null @@ -1,115 +0,0 @@ ---- nfs-utils/utils/exportfs/exports.man -+++ nfs-utils/utils/exportfs/exports.man -@@ -256,6 +256,28 @@ - then the nominted path must be a mountpoint for the exportpoint to be - exported. - -+.TP -+.IR fsid= num -+This option forces the filesystem identification portion of the file -+handle and file attributes used on the wire to be -+.I num -+instead of a number derived from the major and minor number of the -+block device on which the filesystem is mounted. Any 32 bit number -+can be used, but it must be unique amongst all the exported filesystems. -+ -+This can be useful for NFS failover, to ensure that both servers of -+the failover pair use the same NFS file handles for the shared filesystem -+thus avoiding stale file handles after failover. -+ -+Some Linux filesystems are not mounted on a block device; exporting -+these via NFS requires the use of the -+.I fsid -+option (although that may still not be enough). -+ -+The value 0 has a special meaning when use with NFSv4. NFSv4 has a -+concept of a root of the overall exported filesystem. The export point -+exported with fsid=0 will be used as this root. -+ - .SS User ID Mapping - .PP - .I nfsd ---- nfs-utils/utils/statd/statd.c -+++ nfs-utils/utils/statd/statd.c -@@ -179,8 +179,10 @@ - struct stat st; - - if (stat(SM_DIR, &st) == -1 && -- stat(DIR_BASE, &st) == -1) -+ stat(DIR_BASE, &st) == -1) { - st.st_uid = 0; -+ st.st_gid = 0; -+ } - - if (st.st_uid == 0) { - note(N_WARNING, "statd running as root. chown %s to choose different user\n", -@@ -399,6 +401,11 @@ - signal (SIGTERM, killer); - /* WARNING: the following works on Linux and SysV, but not BSD! */ - signal(SIGCHLD, SIG_IGN); -+ /* -+ * Ignore SIGPIPE to avoid statd dying when peers close their -+ * TCP connection while we're trying to reply to them. -+ */ -+ signal(SIGPIPE, SIG_IGN); - - /* initialize out_port */ - statd_get_socket(out_port); ---- nfs-utils/utils/rquotad/rquota_server.c -+++ nfs-utils/utils/rquotad/rquota_server.c -@@ -76,6 +76,7 @@ - char *pathname, *qfpathname; - int fd, err, id, type; - struct stat stm, stn; -+ struct rquota *rquota; - - /* - * First check authentication. -@@ -168,8 +169,16 @@ - * Make a copy of the info into the last part of the remote quota - * struct which is exactly the same. - */ -- memcpy((caddr_t *)&result.getquota_rslt_u.gqr_rquota.rq_bhardlimit, -- (caddr_t *)&dq_dqb, sizeof(struct dqblk)); -+ -+ rquota = &result.getquota_rslt_u.gqr_rquota; -+ rquota->rq_bhardlimit = dq_dqb.dqb_bhardlimit; -+ rquota->rq_bsoftlimit = dq_dqb.dqb_bsoftlimit;; -+ rquota->rq_curblocks = dq_dqb.dqb_curblocks; -+ rquota->rq_fhardlimit = dq_dqb.dqb_ihardlimit; -+ rquota->rq_fsoftlimit = dq_dqb.dqb_isoftlimit; -+ rquota->rq_curfiles = dq_dqb.dqb_curinodes; -+ rquota->rq_btimeleft = dq_dqb.dqb_btime; -+ rquota->rq_ftimeleft = dq_dqb.dqb_itime; - - return(&result); - } ---- nfs-utils/utils/mountd/cache.c -+++ nfs-utils/utils/mountd/cache.c -@@ -67,6 +67,8 @@ - if (inet_aton(ipaddr, &addr)==0) - return; - -+ auth_reload(); -+ - /* addr is a valid, interesting address, find the domain name... */ - client = client_compose(addr); - -@@ -138,6 +140,8 @@ - break; - } - -+ auth_reload(); -+ - /* Now determine export point for this fsid/domain */ - for (i=0 ; i < MCL_MAXTYPES; i++) { - for (exp = exportlist[i]; exp; exp = exp->m_next) { -@@ -236,6 +240,8 @@ - if (qword_get(&cp, path, strlen(lbuf)) <= 0) - goto out; - -+ auth_reload(); -+ - /* now find flags for this export point in this domain */ - for (i=0 ; i < MCL_MAXTYPES; i++) { - for (exp = exportlist[i]; exp; exp = exp->m_next) { diff --git a/net-fs/nfs-utils/files/nfs-utils-1.0.7-gcc4.patch b/net-fs/nfs-utils/files/nfs-utils-1.0.7-gcc4.patch deleted file mode 100644 index 23ed5280cebf..000000000000 --- a/net-fs/nfs-utils/files/nfs-utils-1.0.7-gcc4.patch +++ /dev/null @@ -1,17 +0,0 @@ -http://bugs.gentoo.org/show_bug.cgi?id=88421 - -Index: svc_auth_gss.c -=================================================================== -RCS file: /cvsroot/nfs/nfs-utils/support/rpc/svc_auth_gss.c,v -diff -u -r1.1 -r1.2 ---- nfs-utils/support/rpc/svc_auth_gss.c -+++ nfs-utils/support/rpc/svc_auth_gss.c -@@ -382,7 +382,7 @@ - return (AUTH_FAILED); - } - auth->svc_ah_ops = &svc_auth_gss_ops; -- SVCAUTH_PRIVATE(auth) = gd; -+ auth->svc_ah_private = (caddr_t)gd; - rqst->rq_xprt->xp_auth = auth; - } - else gd = SVCAUTH_PRIVATE(rqst->rq_xprt->xp_auth); diff --git a/net-fs/nfs-utils/files/nfs-utils-1.0.7-man-pages.patch b/net-fs/nfs-utils/files/nfs-utils-1.0.7-man-pages.patch deleted file mode 100644 index 58836d2e9ebb..000000000000 --- a/net-fs/nfs-utils/files/nfs-utils-1.0.7-man-pages.patch +++ /dev/null @@ -1,12 +0,0 @@ -http://bugs.gentoo.org/107991 - ---- utils/nfsd/nfsd.man -+++ utils/nfsd/nfsd.man -@@ -38,6 +38,7 @@ - program. - .SH SEE ALSO - .BR rpc.mountd (8), -+.BR exports (5), - .BR exportfs (8), - .BR rpc.rquotad (8), - .BR nfsstat (8). diff --git a/net-fs/nfs-utils/files/nfs-utils-1.0.7-no-stripping.patch b/net-fs/nfs-utils/files/nfs-utils-1.0.7-no-stripping.patch deleted file mode 100644 index 282c3aefac13..000000000000 --- a/net-fs/nfs-utils/files/nfs-utils-1.0.7-no-stripping.patch +++ /dev/null @@ -1,15 +0,0 @@ -We'll take care of stripping thank you very much - ---- config.mk.in -+++ config.mk.in -@@ -87,8 +87,8 @@ - k = $(KPREFIX) - - INSTALLSCRIPT = $(INSTALL) -m 755 --INSTALLBIN = $(INSTALL) -m 755 -s --INSTALLSUID = $(INSTALL) -m 4755 -s -+INSTALLBIN = $(INSTALL) -m 755 -+INSTALLSUID = $(INSTALL) -m 4711 - INSTALLMOD = $(INSTALL) -m 600 - INSTALLMAN = $(INSTALL) -m 644 - MAN1DIR = $(MANDIR)/man$(MAN1EXT) diff --git a/net-fs/nfs-utils/nfs-utils-1.0.10.ebuild b/net-fs/nfs-utils/nfs-utils-1.0.10.ebuild deleted file mode 100644 index a7d690149783..000000000000 --- a/net-fs/nfs-utils/nfs-utils-1.0.10.ebuild +++ /dev/null @@ -1,104 +0,0 @@ -# Copyright 1999-2007 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.0.10.ebuild,v 1.15 2007/06/26 02:24:51 mr_bones_ Exp $ - -inherit eutils flag-o-matic multilib - -DESCRIPTION="NFS client and server daemons" -HOMEPAGE="http://nfs.sourceforge.net/" -SRC_URI="mirror://sourceforge/nfs/${P}.tar.gz - http://www.citi.umich.edu/projects/nfsv4/linux/nfs-utils-patches/${PV}-1/nfs-utils-${PV}-CITI_NFS4_ALL-1.dif" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 s390 sh sparc x86" -IUSE="nonfsv4 tcpd kerberos" - -# 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) -RDEPEND="tcpd? ( sys-apps/tcp-wrappers ) - >=net-nds/portmap-5b-r6 - !nonfsv4? ( - >=dev-libs/libevent-1.0b - >=net-libs/libnfsidmap-0.16 - ) - kerberos? ( - net-libs/librpcsecgss - app-crypt/mit-krb5 - )" -DEPEND="${RDEPEND}" - -src_unpack() { - unpack ${P}.tar.gz - cd "${S}" - epatch "${DISTDIR}"/nfs-utils-${PV}-CITI_NFS4_ALL-1.dif - epatch "${FILESDIR}"/${PN}-1.0.7-man-pages.patch #107991 - epatch "${FILESDIR}"/${P}-uts-release.patch -} - -src_compile() { - econf \ - --mandir=/usr/share/man \ - --with-statedir=/var/lib/nfs \ - --disable-rquotad \ - --enable-nfsv3 \ - --enable-secure-statd \ - $(use_with tcpd tcp-wrappers) \ - $(use_enable !nonfsv4 nfsv4) \ - $(use_enable kerberos gss) \ - || die "Configure failed" - - emake || die "Failed to compile" -} - -src_install() { - make DESTDIR="${D}" install || die - - # Don't overwrite existing xtab/etab, install the original - # versions somewhere safe... more info in pkg_postinst - dodir /usr/lib/nfs - keepdir /var/lib/nfs/{sm,sm.bak} - mv "${D}"/var/lib/nfs/* "${D}"/usr/lib/nfs - keepdir /var/lib/nfs - - # Install some client-side binaries in /sbin - dodir /sbin - mv "${D}"/usr/sbin/rpc.{lockd,statd} "${D}"/sbin/ - - dodoc ChangeLog README - docinto linux-nfs ; dodoc linux-nfs/* - - insinto /etc - doins "${FILESDIR}"/exports - use !nonfsv4 && doins utils/idmapd/idmapd.conf - - doinitd "${FILESDIR}"/nfs "${FILESDIR}"/nfsmount - newconfd "${FILESDIR}"/nfs.confd.old nfs - - # uClibc doesn't provide rpcgen like glibc, so lets steal it from nfs-utils - if ! use elibc_glibc ; then - dobin tools/rpcgen/rpcgen || die "rpcgen" - newdoc tools/rpcgen/README README.rpcgen - fi -} - -pkg_preinst() { - if [[ -s ${ROOT}/etc/exports ]] ; then - rm -f "${D}"/etc/exports - fi -} - -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. This fixes - # bug 30486 - local f - 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 -} diff --git a/net-fs/nfs-utils/nfs-utils-1.0.12-r1.ebuild b/net-fs/nfs-utils/nfs-utils-1.0.12-r1.ebuild deleted file mode 100644 index 830c01222185..000000000000 --- a/net-fs/nfs-utils/nfs-utils-1.0.12-r1.ebuild +++ /dev/null @@ -1,100 +0,0 @@ -# Copyright 1999-2007 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.0.12-r1.ebuild,v 1.4 2007/06/26 02:24:51 mr_bones_ Exp $ - -inherit eutils flag-o-matic multilib - -DESCRIPTION="NFS client and server daemons" -HOMEPAGE="http://nfs.sourceforge.net/" -SRC_URI="mirror://sourceforge/nfs/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" -IUSE="nonfsv4 tcpd kerberos" - -# 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) -RDEPEND="tcpd? ( sys-apps/tcp-wrappers ) - >=net-nds/portmap-5b-r6 - !nonfsv4? ( - >=dev-libs/libevent-1.0b - >=net-libs/libnfsidmap-0.16 - ) - kerberos? ( - net-libs/librpcsecgss - app-crypt/mit-krb5 - )" -DEPEND="${RDEPEND}" - -src_unpack() { - unpack ${P}.tar.gz - cd "${S}" - epatch "${FILESDIR}"/${P}-mountd-memleak.patch #172014 - #epatch "${DISTDIR}"/nfs-utils-${PV}-CITI_NFS4_ALL-1.dif -} - -src_compile() { - econf \ - --mandir=/usr/share/man \ - --with-statedir=/var/lib/nfs \ - --disable-rquotad \ - --enable-nfsv3 \ - --enable-secure-statd \ - $(use_with tcpd tcp-wrappers) \ - $(use_enable !nonfsv4 nfsv4) \ - $(use_enable kerberos gss) \ - || die "Configure failed" - - emake || die "Failed to compile" -} - -src_install() { - emake DESTDIR="${D}" install || die - - # Don't overwrite existing xtab/etab, install the original - # versions somewhere safe... more info in pkg_postinst - dodir /usr/lib/nfs - keepdir /var/lib/nfs/{sm,sm.bak} - mv "${D}"/var/lib/nfs/* "${D}"/usr/lib/nfs - keepdir /var/lib/nfs - - # Install some client-side binaries in /sbin - dodir /sbin - mv "${D}"/usr/sbin/rpc.{lockd,statd} "${D}"/sbin/ - - dodoc ChangeLog README - docinto linux-nfs ; dodoc linux-nfs/* - - insinto /etc - doins "${FILESDIR}"/exports - use !nonfsv4 && doins utils/idmapd/idmapd.conf - - doinitd "${FILESDIR}"/nfs "${FILESDIR}"/nfsmount - newconfd "${FILESDIR}"/nfs.confd.old nfs - - # uClibc doesn't provide rpcgen like glibc, so lets steal it from nfs-utils - if ! use elibc_glibc ; then - dobin tools/rpcgen/rpcgen || die "rpcgen" - newdoc tools/rpcgen/README README.rpcgen - fi -} - -pkg_preinst() { - [[ -s ${ROOT}/etc/exports ]] && rm -f "${D}"/etc/exports -} - -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. This fixes - # bug 30486 - local f - 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 -} diff --git a/net-fs/nfs-utils/nfs-utils-1.0.12-r3.ebuild b/net-fs/nfs-utils/nfs-utils-1.0.12-r3.ebuild deleted file mode 100644 index e6503be9dac9..000000000000 --- a/net-fs/nfs-utils/nfs-utils-1.0.12-r3.ebuild +++ /dev/null @@ -1,105 +0,0 @@ -# Copyright 1999-2007 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.0.12-r3.ebuild,v 1.5 2007/08/23 05:17:01 kumba Exp $ - -inherit eutils flag-o-matic multilib - -DESCRIPTION="NFS client and server daemons" -HOMEPAGE="http://nfs.sourceforge.net/" -SRC_URI="mirror://sourceforge/nfs/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" -IUSE="nonfsv4 tcpd kerberos" - -# 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) -RDEPEND="tcpd? ( sys-apps/tcp-wrappers ) - >=net-nds/portmap-5b-r6 - !nonfsv4? ( - >=dev-libs/libevent-1.0b - >=net-libs/libnfsidmap-0.16 - ) - kerberos? ( - net-libs/librpcsecgss - app-crypt/mit-krb5 - )" -DEPEND="${RDEPEND}" - -src_unpack() { - unpack ${P}.tar.gz - cd "${S}" - epatch "${FILESDIR}"/${P}-mountd-memleak.patch #172014 - #epatch "${DISTDIR}"/nfs-utils-${PV}-CITI_NFS4_ALL-1.dif -} - -src_compile() { - econf \ - --mandir=/usr/share/man \ - --with-statedir=/var/lib/nfs \ - --disable-rquotad \ - --enable-nfsv3 \ - --enable-secure-statd \ - $(use_with tcpd tcp-wrappers) \ - $(use_enable !nonfsv4 nfsv4) \ - $(use_enable kerberos gss) \ - || die "Configure failed" - - emake || die "Failed to compile" -} - -src_install() { - emake DESTDIR="${D}" install || die - - # Don't overwrite existing xtab/etab, install the original - # versions somewhere safe... more info in pkg_postinst - dodir /usr/lib/nfs - keepdir /var/lib/nfs/{sm,sm.bak} - mv "${D}"/var/lib/nfs/* "${D}"/usr/lib/nfs - keepdir /var/lib/nfs - - # Install some client-side binaries in /sbin - dodir /sbin - mv "${D}"/usr/sbin/rpc.{lockd,statd} "${D}"/sbin/ || die - - dodoc ChangeLog README - docinto linux-nfs ; dodoc linux-nfs/* - - insinto /etc - doins "${FILESDIR}"/exports - - local f list="" - use !nonfsv4 && list="${list} rpc.idmapd" - use kerberos && list="${list} rpc.gssd" - for f in nfs nfsmount rpc.statd ${list} ; do - newinitd "${FILESDIR}"/${f}.initd ${f} || die "doinitd ${f}" - done - newconfd "${FILESDIR}"/nfs.confd nfs - use !nonfsv4 && doins utils/idmapd/idmapd.conf - - # uClibc doesn't provide rpcgen like glibc, so lets steal it from nfs-utils - if ! use elibc_glibc ; then - dobin tools/rpcgen/rpcgen || die "rpcgen" - newdoc tools/rpcgen/README README.rpcgen - fi -} - -pkg_preinst() { - [[ -s ${ROOT}/etc/exports ]] && rm -f "${D}"/etc/exports -} - -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. This fixes - # bug 30486 - local f - 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 -} diff --git a/net-fs/nfs-utils/nfs-utils-1.0.6-r6.ebuild b/net-fs/nfs-utils/nfs-utils-1.0.6-r6.ebuild deleted file mode 100644 index dc0e5674c458..000000000000 --- a/net-fs/nfs-utils/nfs-utils-1.0.6-r6.ebuild +++ /dev/null @@ -1,101 +0,0 @@ -# Copyright 1999-2007 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.0.6-r6.ebuild,v 1.18 2007/05/06 10:21:57 genone Exp $ - -inherit eutils - -DESCRIPTION="NFS client and server daemons" -HOMEPAGE="http://nfs.sourceforge.net/" -SRC_URI="mirror://sourceforge/nfs/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 sh s390 sparc x86" -IUSE="tcpd" - -RDEPEND="tcpd? ( sys-apps/tcp-wrappers ) - >=net-nds/portmap-5b-r6 - >=sys-apps/util-linux-2.11f" -DEPEND="${RDEPEND}" - -src_unpack() { - unpack ${A} - cd ${S} - epatch ${FILESDIR}/nfs-utils-1.0.6-usn36.patch - - # getrpcbynumber_r is not in the SuSv3 spec. disable it for uClibc - epatch ${FILESDIR}/nfs-utils-1.0.6-uclibc.patch - - # rphillips - the rquotad patch is found within the usn36.patch.gz - # epatch ${FILESDIR}/nfs-utils-0.3.3-rquotad-overflow.patch -} - -src_compile() { - econf \ - --mandir=/usr/share/man \ - --with-statedir=/var/lib/nfs \ - --disable-rquotad \ - --enable-nfsv3 \ - --enable-secure-statd \ - || die "Configure failed" - - if ! use tcpd; then - sed -i "s:\(-lwrap\|-DHAVE_TCP_WRAPPER\)::" config.mk - fi - - # parallel make fails for depend target - emake -j1 depend || die "failed to make depend" - emake || die "Failed to compile" -} - -src_install() { - make \ - install_prefix=${D} \ - MANDIR=${D}/usr/share/man \ - install \ - || die "Failed to install" - - # Don't overwrite existing xtab/etab, install the original - # versions somewhere safe... more info in pkg_postinst - dodir /usr/lib/nfs - keepdir /var/lib/nfs/{sm,sm.bak} - mv ${D}/var/lib/nfs/* ${D}/usr/lib/nfs - keepdir /var/lib/nfs - keepdir /var/lib/nfs/v4root - - # Install some client-side binaries in /sbin - dodir /sbin - mv ${D}/usr/sbin/rpc.{lockd,statd} ${D}/sbin/ - - dodoc ChangeLog README - docinto linux-nfs ; dodoc linux-nfs/* - - insinto /etc ; doins ${FILESDIR}/exports - - doinitd ${FILESDIR}/nfs ${FILESDIR}/nfsmount - newconfd ${FILESDIR}/nfs.confd.old nfs -} - -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. This fixes - # bug 30486 - local f - for f in ${ROOT}/usr/lib/nfs/*; do - [[ -f ${ROOT}/var/lib/nfs/${f##*/} ]] && continue - einfo "Copying default ${f##*/} from /usr/lib/nfs to /var/lib/nfs" - cp -a ${f} ${ROOT}/var/lib/nfs/ - done - - elog - elog "NFS V2 and V3 servers now default to \"sync\" IO if ${P}" - elog "(or later) is installed." - elog "More info at ${HOMEPAGE} (see questions 5, 12, 13, and 14)." - elog - ewarn "PLEASE note: Since the latest NFS utils has changed the server" - ewarn "default to \"sync\" IO, then if no behavior is specified in the" - ewarn "export list, thus assuming the default behavior, a warning will" - ewarn "be generated at export time." - ewarn -} diff --git a/net-fs/nfs-utils/nfs-utils-1.0.7-r2.ebuild b/net-fs/nfs-utils/nfs-utils-1.0.7-r2.ebuild deleted file mode 100644 index 1d0d03b7c8ea..000000000000 --- a/net-fs/nfs-utils/nfs-utils-1.0.7-r2.ebuild +++ /dev/null @@ -1,116 +0,0 @@ -# Copyright 1999-2007 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.0.7-r2.ebuild,v 1.9 2007/06/26 02:24:51 mr_bones_ Exp $ - -inherit eutils flag-o-matic - -DESCRIPTION="NFS client and server daemons" -HOMEPAGE="http://nfs.sourceforge.net/" -SRC_URI="mirror://sourceforge/nfs/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" -IUSE="nonfsv4 tcpd kerberos" - -# 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) -RDEPEND="tcpd? ( sys-apps/tcp-wrappers ) - >=net-nds/portmap-5b-r6 - !nonfsv4? ( - >=dev-libs/libevent-1.0b - >=net-libs/libnfsidmap-0.9 - ) - kerberos? ( app-crypt/mit-krb5 )" -DEPEND="${RDEPEND}" - -src_unpack() { - unpack ${A} - cd "${S}" - - epatch "${FILESDIR}"/${P}-gcc4.patch #88421 - epatch "${FILESDIR}"/${P}-man-pages.patch #107991 - epatch "${FILESDIR}"/${P}-no-stripping.patch - - # getrpcbynumber_r is not in the SuSv3 spec. disable it for uClibc - epatch "${FILESDIR}"/nfs-utils-1.0.6-uclibc.patch - - # since the usn36 patch is now integrated (at least the parts we care about) - # into 1.0.7, we need to re-apply the rquoted patch (04 Feb 2005 agriffis) - epatch "${FILESDIR}"/nfs-utils-0.3.3-rquotad-overflow.patch - - sed -i 's:@mandir@:$(install_prefix)@mandir@:' config.mk.in -} - -src_compile() { - econf \ - --mandir=/usr/share/man \ - --with-statedir=/var/lib/nfs \ - --disable-rquotad \ - --enable-nfsv3 \ - --enable-secure-statd \ - $(use_enable !nonfsv4 nfsv4) \ - $(use_enable kerberos gss) \ - || die "Configure failed" - - if ! use tcpd ; then - sed -i "s:\(-lwrap\|-DHAVE_TCP_WRAPPER\)::" config.mk - fi - - # parallel make fails for depend target - emake -j1 depend || die "failed to make depend" - emake || die "Failed to compile" -} - -src_install() { - make install_prefix="${D}" install || die - - # Don't overwrite existing xtab/etab, install the original - # versions somewhere safe... more info in pkg_postinst - dodir /usr/lib/nfs - keepdir /var/lib/nfs/{sm,sm.bak} - mv "${D}"/var/lib/nfs/* "${D}"/usr/lib/nfs - keepdir /var/lib/nfs - - # Install some client-side binaries in /sbin - dodir /sbin - mv "${D}"/usr/sbin/rpc.{lockd,statd} "${D}"/sbin/ - - dodoc ChangeLog README - docinto linux-nfs ; dodoc linux-nfs/* - - insinto /etc - doins "${FILESDIR}"/exports - use !nonfsv4 && doins utils/idmapd/idmapd.conf - use kerberos && newins support/gssapi/SAMPLE_gssapi_mech.conf - - doinitd "${FILESDIR}"/nfs "${FILESDIR}"/nfsmount - newconfd "${FILESDIR}"/nfs.confd.old nfs - - # uClibc doesn't provide rpcgen like glibc, so lets steal it from nfs-utils - if ! use elibc_glibc ; then - dobin tools/rpcgen/rpcgen || die "rpcgen" - newdoc tools/rpcgen/README README.rpcgen - fi -} - -pkg_preinst() { - if [[ -s ${ROOT}/etc/exports ]] ; then - rm -f "${D}"/etc/exports - fi -} - -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. This fixes - # bug 30486 - local f - for f in "${ROOT}"/usr/lib/nfs/*; do - [[ -f ${ROOT}/var/lib/nfs/${f##*/} ]] && continue - einfo "Copying default ${f##*/} from /usr/lib/nfs to /var/lib/nfs" - cp -pPR ${f} "${ROOT}"/var/lib/nfs/ - done -} diff --git a/net-fs/nfs-utils/nfs-utils-1.0.9.ebuild b/net-fs/nfs-utils/nfs-utils-1.0.9.ebuild deleted file mode 100644 index 5cd4a52005bb..000000000000 --- a/net-fs/nfs-utils/nfs-utils-1.0.9.ebuild +++ /dev/null @@ -1,103 +0,0 @@ -# Copyright 1999-2007 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.0.9.ebuild,v 1.8 2007/06/26 02:24:51 mr_bones_ Exp $ - -inherit eutils flag-o-matic multilib - -DESCRIPTION="NFS client and server daemons" -HOMEPAGE="http://nfs.sourceforge.net/" -SRC_URI="mirror://sourceforge/nfs/${P}.tar.gz - http://www.citi.umich.edu/projects/nfsv4/linux/nfs-utils-patches/1.0.9-1/nfs-utils-1.0.9-CITI_NFS4_ALL-1.dif" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" -IUSE="nonfsv4 tcpd kerberos" - -# 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) -RDEPEND="tcpd? ( sys-apps/tcp-wrappers ) - >=net-nds/portmap-5b-r6 - !nonfsv4? ( - >=dev-libs/libevent-1.0b - >=net-libs/libnfsidmap-0.16 - ) - kerberos? ( - net-libs/librpcsecgss - app-crypt/mit-krb5 - )" -DEPEND="${RDEPEND}" - -src_unpack() { - unpack ${P}.tar.gz - cd "${S}" - epatch "${DISTDIR}"/nfs-utils-1.0.9-CITI_NFS4_ALL-1.dif - epatch "${FILESDIR}"/${PN}-1.0.7-man-pages.patch #107991 -} - -src_compile() { - econf \ - --mandir=/usr/share/man \ - --with-statedir=/var/lib/nfs \ - --disable-rquotad \ - --enable-nfsv3 \ - --enable-secure-statd \ - $(use_with tcpd tcp-wrappers) \ - $(use_enable !nonfsv4 nfsv4) \ - $(use_enable kerberos gss) \ - || die "Configure failed" - - emake || die "Failed to compile" -} - -src_install() { - make DESTDIR="${D}" install || die - - # Don't overwrite existing xtab/etab, install the original - # versions somewhere safe... more info in pkg_postinst - dodir /usr/lib/nfs - keepdir /var/lib/nfs/{sm,sm.bak} - mv "${D}"/var/lib/nfs/* "${D}"/usr/lib/nfs - keepdir /var/lib/nfs - - # Install some client-side binaries in /sbin - dodir /sbin - mv "${D}"/usr/sbin/rpc.{lockd,statd} "${D}"/sbin/ - - dodoc ChangeLog README - docinto linux-nfs ; dodoc linux-nfs/* - - insinto /etc - doins "${FILESDIR}"/exports - use !nonfsv4 && doins utils/idmapd/idmapd.conf - - doinitd "${FILESDIR}"/nfs "${FILESDIR}"/nfsmount - newconfd "${FILESDIR}"/nfs.confd.old nfs - - # uClibc doesn't provide rpcgen like glibc, so lets steal it from nfs-utils - if ! use elibc_glibc ; then - dobin tools/rpcgen/rpcgen || die "rpcgen" - newdoc tools/rpcgen/README README.rpcgen - fi -} - -pkg_preinst() { - if [[ -s ${ROOT}/etc/exports ]] ; then - rm -f "${D}"/etc/exports - fi -} - -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. This fixes - # bug 30486 - local f - 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 -} |