summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2002-11-30 20:56:01 +0000
committerMike Frysinger <vapier@gentoo.org>2002-11-30 20:56:01 +0000
commit6db029d2d1ccc05e7c1f54974ebe8249adda87d4 (patch)
treeeaf23ab920868710870c6841ded633c5a6fcb1cc /app-misc
parentChanged mkdir ${D} to dodir ${D} (diff)
downloadhistorical-6db029d2d1ccc05e7c1f54974ebe8249adda87d4.tar.gz
historical-6db029d2d1ccc05e7c1f54974ebe8249adda87d4.tar.bz2
historical-6db029d2d1ccc05e7c1f54974ebe8249adda87d4.zip
Changed einstall||die to einstall
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/jail/jail-1.9.ebuild43
1 files changed, 20 insertions, 23 deletions
diff --git a/app-misc/jail/jail-1.9.ebuild b/app-misc/jail/jail-1.9.ebuild
index b71e3cc2f8f5..221b2ec744b5 100644
--- a/app-misc/jail/jail-1.9.ebuild
+++ b/app-misc/jail/jail-1.9.ebuild
@@ -1,11 +1,12 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/jail/jail-1.9.ebuild,v 1.4 2002/10/17 00:33:19 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/jail/jail-1.9.ebuild,v 1.5 2002/11/30 20:56:01 vapier Exp $
S="${WORKDIR}/${PN}_1-9_stable"
DESCRIPTION="Jail Chroot Project is a tool that builds a chrooted environment and automagically configures and builds all the required files, directories and libraries"
SRC_URI="http://www.gsyc.inf.uc3m.es/~assman/downloads/jail/${PN}_${PV}.tar.gz"
HOMEPAGE="http://www.gsyc.inf.uc3m.es/~assman/jail/"
+
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 -ppc -sparc -sparc64"
@@ -21,7 +22,6 @@ src_unpack() {
src_compile() {
# configuration files should be installed in /etc not /usr/etc
- cd ${S}
cp install.sh install.sh.orig
sed "s:\$4/etc:\${D}/etc:g" < install.sh.orig > install.sh
@@ -31,41 +31,38 @@ src_compile() {
sed "s:usr/local:${D}/usr:g" < Makefile.orig > Makefile
emake || die "make failed"
-
}
-src_install () {
-
+src_install() {
cd ${S}/src
- einstall || die "make install failed"
+ einstall
# remove //var/tmp/portage/jail-1.9/image//usr from files
FILES="
- /var/tmp/portage/jail-1.9/image/usr/bin/mkjailenv
- /var/tmp/portage/jail-1.9/image/usr/bin/addjailsw
- /var/tmp/portage/jail-1.9/image/usr/bin/addjailuser
- /var/tmp/portage/jail-1.9/image/etc/jail.conf
- /var/tmp/portage/jail-1.9/image/usr/lib/libjail.pm
- /var/tmp/portage/jail-1.9/image/usr/lib/arch/generic/definitions
- /var/tmp/portage/jail-1.9/image/usr/lib/arch/generic/functions
- /var/tmp/portage/jail-1.9/image/usr/lib/arch/linux/definitions
- /var/tmp/portage/jail-1.9/image/usr/lib/arch/linux/functions
- /var/tmp/portage/jail-1.9/image/usr/lib/arch/freebsd/definitions
- /var/tmp/portage/jail-1.9/image/usr/lib/arch/freebsd/functions
- /var/tmp/portage/jail-1.9/image/usr/lib/arch/irix/definitions
- /var/tmp/portage/jail-1.9/image/usr/lib/arch/irix/functions
- /var/tmp/portage/jail-1.9/image/usr/lib/arch/solaris/definitions
- /var/tmp/portage/jail-1.9/image/usr/lib/arch/solaris/functions"
+ ${D}/usr/bin/mkjailenv
+ ${D}/usr/bin/addjailsw
+ ${D}/usr/bin/addjailuser
+ ${D}/etc/jail.conf
+ ${D}/usr/lib/libjail.pm
+ ${D}/usr/lib/arch/generic/definitions
+ ${D}/usr/lib/arch/generic/functions
+ ${D}/usr/lib/arch/linux/definitions
+ ${D}/usr/lib/arch/linux/functions
+ ${D}/usr/lib/arch/freebsd/definitions
+ ${D}/usr/lib/arch/freebsd/functions
+ ${D}/usr/lib/arch/irix/definitions
+ ${D}/usr/lib/arch/irix/functions
+ ${D}/usr/lib/arch/solaris/definitions
+ ${D}/usr/lib/arch/solaris/functions"
for f in ${FILES}; do
# documentation says funtion 'dosed' is supposed to do this, but didn't know how to make it work :'(
# dosed ${file} || die "error in dosed"
cp ${f} ${f}.orig
- sed "s://var/tmp/portage/jail-1.9/image//usr:/usr:g" < ${f}.orig > ${f}
+ sed "s:/${D}/usr:/usr:g" < ${f}.orig > ${f}
rm ${f}.orig
done
cd ${S}/doc
dodoc CHANGELOG INSTALL README SECURITY VERSION
-
}