diff options
author | Markos Chandras <hwoarang@gentoo.org> | 2011-11-25 23:33:09 +0000 |
---|---|---|
committer | Markos Chandras <hwoarang@gentoo.org> | 2011-11-25 23:33:09 +0000 |
commit | bc5a6952ec61f2328ef652000dc16fc4775bd9fe (patch) | |
tree | 341aa5240f452b1c6e5b86beb3c5d63ebfa6506d /app-misc/jail | |
parent | Add patch to fix screen corruption, bug #391819. (diff) | |
download | gentoo-2-bc5a6952ec61f2328ef652000dc16fc4775bd9fe.tar.gz gentoo-2-bc5a6952ec61f2328ef652000dc16fc4775bd9fe.tar.bz2 gentoo-2-bc5a6952ec61f2328ef652000dc16fc4775bd9fe.zip |
Add missing die statements. Stable on amd64 wrt bug #391579
(Portage version: 2.2.0_alpha77/cvs/Linux x86_64)
Diffstat (limited to 'app-misc/jail')
-rw-r--r-- | app-misc/jail/ChangeLog | 7 | ||||
-rw-r--r-- | app-misc/jail/jail-1.9-r3.ebuild | 18 |
2 files changed, 14 insertions, 11 deletions
diff --git a/app-misc/jail/ChangeLog b/app-misc/jail/ChangeLog index 16ba8cdc7443..63717bad75fe 100644 --- a/app-misc/jail/ChangeLog +++ b/app-misc/jail/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for app-misc/jail -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/jail/ChangeLog,v 1.26 2010/09/17 05:36:42 jer Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/jail/ChangeLog,v 1.27 2011/11/25 23:33:09 hwoarang Exp $ + + 25 Nov 2011; Markos Chandras <hwoarang@gentoo.org> jail-1.9-r3.ebuild: + Add missing die statements. Stable on amd64 wrt bug #391579 *jail-1.9-r3 (17 Sep 2010) diff --git a/app-misc/jail/jail-1.9-r3.ebuild b/app-misc/jail/jail-1.9-r3.ebuild index 82ca77dc9ab6..86a59e2cad5e 100644 --- a/app-misc/jail/jail-1.9-r3.ebuild +++ b/app-misc/jail/jail-1.9-r3.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/jail/jail-1.9-r3.ebuild,v 1.1 2010/09/17 05:36:42 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/jail/jail-1.9-r3.ebuild,v 1.2 2011/11/25 23:33:09 hwoarang Exp $ EAPI="2" @@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/jail/${PN}_${PV}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~ppc ~sparc ~x86" +KEYWORDS="amd64 ~ppc ~sparc ~x86" IUSE="" DEPEND=">=sys-apps/sed-4" @@ -30,12 +30,12 @@ src_prepare() { src_compile() { # configuration files should be installed in /etc not /usr/etc - sed -i "s:\$4/etc:\${D}/etc:g" install.sh + sed -i "s:\$4/etc:\${D}/etc:g" install.sh || die # the destination directory should be /usr not /usr/local cd "${S}"/src sed -i -e "s:usr/local:${D}/usr:g" \ - -e "s:^COPT =.*:COPT = -Wl,-z,no:g" Makefile + -e "s:^COPT =.*:COPT = -Wl,-z,no:g" Makefile || die # Below didn't work. Don't know why #append-ldflags -Wl,-z,now @@ -44,7 +44,7 @@ src_compile() { src_install() { cd "${S}"/src - einstall + einstall || die # remove //var/tmp/portage/jail-1.9/image//usr from files FILES=( "${D}/usr/bin/mkjailenv" @@ -66,12 +66,12 @@ 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" - sed -i "s:/${D}/usr:/usr:g" ${f} + sed -i "s:/${D}/usr:/usr:g" ${f} || die done cd "${D}"/usr/lib - sed -i "s:/usr/etc:/etc:" libjail.pm + sed -i "s:/usr/etc:/etc:" libjail.pm || die cd "${S}"/doc - dodoc CHANGELOG INSTALL README SECURITY VERSION + dodoc CHANGELOG INSTALL README SECURITY VERSION || die } |