diff options
Diffstat (limited to 'net-fs/nfs-utils')
-rw-r--r-- | net-fs/nfs-utils/ChangeLog | 7 | ||||
-rw-r--r-- | net-fs/nfs-utils/files/digest-nfs-utils-1.0.6-r6 | 2 | ||||
-rw-r--r-- | net-fs/nfs-utils/files/digest-nfs-utils-1.0.7-r2 | 2 | ||||
-rw-r--r-- | net-fs/nfs-utils/files/digest-nfs-utils-1.0.9 | 6 | ||||
-rw-r--r-- | net-fs/nfs-utils/nfs-utils-1.0.9.ebuild | 102 |
5 files changed, 118 insertions, 1 deletions
diff --git a/net-fs/nfs-utils/ChangeLog b/net-fs/nfs-utils/ChangeLog index 05a86d0bcd8e..3a8d38efb42b 100644 --- a/net-fs/nfs-utils/ChangeLog +++ b/net-fs/nfs-utils/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-fs/nfs-utils # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/ChangeLog,v 1.74 2006/06/10 19:14:21 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/ChangeLog,v 1.75 2006/07/16 08:04:52 vapier Exp $ + +*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) 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 index 319c3d94379e..d005fa58e47f 100644 --- 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 @@ -1 +1,3 @@ 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 index 0b0ec24d0c0b..df6015350e97 100644 --- 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 @@ -1 +1,3 @@ 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 new file mode 100644 index 000000000000..3b2d2d4bcd73 --- /dev/null +++ b/net-fs/nfs-utils/files/digest-nfs-utils-1.0.9 @@ -0,0 +1,6 @@ +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/nfs-utils-1.0.9.ebuild b/net-fs/nfs-utils/nfs-utils-1.0.9.ebuild new file mode 100644 index 000000000000..8643aa21b235 --- /dev/null +++ b/net-fs/nfs-utils/nfs-utils-1.0.9.ebuild @@ -0,0 +1,102 @@ +# Copyright 1999-2006 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.1 2006/07/16 08:04:52 vapier 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 + 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? ( app-crypt/mit-krb5 )" +DEPEND="${RDEPEND} + >=sys-apps/portage-2.0.51" + +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 + use kerberos && newins support/gssapi/SAMPLE_gssapi_mech.conf + + doinitd "${FILESDIR}"/nfs "${FILESDIR}"/nfsmount + newconfd "${FILESDIR}"/nfs.confd 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 "${IMAGE}"/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 +} |