diff options
author | Daniel Ahlberg <aliz@gentoo.org> | 2004-02-29 17:20:00 +0000 |
---|---|---|
committer | Daniel Ahlberg <aliz@gentoo.org> | 2004-02-29 17:20:00 +0000 |
commit | c9541079bd9d85d18ff1dcf8cbb39275ae6a6e6b (patch) | |
tree | 33ee5fd001db6c7ab10da432ac758c72c2052998 /app-misc/jail | |
parent | ChangeLog fixes (Manifest recommit) (diff) | |
download | gentoo-2-c9541079bd9d85d18ff1dcf8cbb39275ae6a6e6b.tar.gz gentoo-2-c9541079bd9d85d18ff1dcf8cbb39275ae6a6e6b.tar.bz2 gentoo-2-c9541079bd9d85d18ff1dcf8cbb39275ae6a6e6b.zip |
mirror:// updates, ChangeLog fixes and other fixes.
Diffstat (limited to 'app-misc/jail')
-rw-r--r-- | app-misc/jail/jail-1.9-r1.ebuild | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/app-misc/jail/jail-1.9-r1.ebuild b/app-misc/jail/jail-1.9-r1.ebuild index 4ae9730902c8..6e09d46c8ab6 100644 --- a/app-misc/jail/jail-1.9-r1.ebuild +++ b/app-misc/jail/jail-1.9-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2003 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-r1.ebuild,v 1.7 2004/02/22 19:39:37 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/jail/jail-1.9-r1.ebuild,v 1.8 2004/02/29 17:19:59 aliz Exp $ inherit eutils @@ -26,13 +26,11 @@ src_unpack() { src_compile() { # configuration files should be installed in /etc not /usr/etc - cp install.sh install.sh.orig - sed "s:\$4/etc:\${D}/etc:g" < install.sh.orig > install.sh + sed -i "s:\$4/etc:\${D}/etc:g" install.sh # the destination directory should be /usr not /usr/local cd ${S}/src - cp Makefile Makefile.orig - sed "s:usr/local:${D}/usr:g" < Makefile.orig > Makefile + sed -i "s:usr/local:${D}/usr:g" Makefile emake || die "make failed" } @@ -62,15 +60,11 @@ src_install() { 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:/${D}/usr:/usr:g" < ${f}.orig > ${f} - rm ${f}.orig + sed -i "s:/${D}/usr:/usr:g" ${f} done cd ${D}/usr/lib - cp libjail.pm libjail.pm.orig - sed "s:/usr/etc:/etc:" < libjail.pm.orig > libjail.pm - rm libjail.pm.orig + sed -i "s:/usr/etc:/etc:" libjail.pm cd ${S}/doc dodoc CHANGELOG INSTALL README SECURITY VERSION |