summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Lutgens <lamer@gentoo.org>2001-09-24 17:19:23 +0000
committerBen Lutgens <lamer@gentoo.org>2001-09-24 17:19:23 +0000
commitd9cf267b25b106c75d1028470d0eff0e37e0662b (patch)
treede528b69d4f61061f22f3d582ac4b244a2d7420e
parentremoved two old entries (diff)
downloadgentoo-2-d9cf267b25b106c75d1028470d0eff0e37e0662b.tar.gz
gentoo-2-d9cf267b25b106c75d1028470d0eff0e37e0662b.tar.bz2
gentoo-2-d9cf267b25b106c75d1028470d0eff0e37e0662b.zip
src_install() fixups, please test this. It works for me.
-rw-r--r--net-fs/nfs-utils/files/exports-0.3.1-r61
-rw-r--r--net-fs/nfs-utils/nfs-utils-0.3.1-r6.ebuild18
2 files changed, 11 insertions, 8 deletions
diff --git a/net-fs/nfs-utils/files/exports-0.3.1-r6 b/net-fs/nfs-utils/files/exports-0.3.1-r6
new file mode 100644
index 000000000000..5102ef27c150
--- /dev/null
+++ b/net-fs/nfs-utils/files/exports-0.3.1-r6
@@ -0,0 +1 @@
+# /etc/exports: NFS file systems being exported. See exports(5).
diff --git a/net-fs/nfs-utils/nfs-utils-0.3.1-r6.ebuild b/net-fs/nfs-utils/nfs-utils-0.3.1-r6.ebuild
index 5f5d98fa18c1..8a019d3a3226 100644
--- a/net-fs/nfs-utils/nfs-utils-0.3.1-r6.ebuild
+++ b/net-fs/nfs-utils/nfs-utils-0.3.1-r6.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License, v2 or later
# Originally written by Achim Gottinger <achim@gentoo.org>
# Heavily updated for nfs-utils-0.3.1 by Aron Griffis <agriffis@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/nfs-utils-0.3.1-r6.ebuild,v 1.2 2001/09/16 19:39:34 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/nfs-utils-0.3.1-r6.ebuild,v 1.3 2001/09/24 17:19:23 lamer Exp $
A=$P.tar.gz
S=$WORKDIR/$P
@@ -38,14 +38,16 @@ src_compile() {
src_install() {
# MANDIR doesn't pick up install_prefix
- make install install_prefix=$D MANDIR=$D/usr/share/man || die
- install -m 644 $FILESDIR/exports-$PVR $D/etc/exports || die
+ make install install_prefix=$D MANDIR=$D/usr/share/man
+ into /etc
+ newins $FILESDIR/exports-${PVR} exports
dodoc ChangeLog COPYING README
docinto linux-nfs
dodoc linux-nfs/*
- # Install init scripts in the new rc6 location
- mkdir -p $D/etc/init.d $D/etc/runlevels/default
- install -m 755 $FILESDIR/nfs-$PVR $D/etc/init.d/nfs || die
- install -m 755 $FILESDIR/nfsmount-$PVR $D/etc/init.d/nfsmount || die
- ln -s ../../init.d/nfs{,mount} $D/etc/runlevels/default || die
+ dodir /etc/init.d
+ dodir /etc/runlevels/default
+ exeinto /etc/init.d
+ newexe ${FILESDIR}/nfs-${PVR} nfs
+ newexe ${FILESDIR}/nfsmount-${PVR} nfsmount
+ ln -s $D/etc/rc.d/init.d/nfs{,mount} $D/etc/runlevels/default
}