summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Raschbacher <lordvan@gentoo.org>2007-05-14 10:39:24 +0000
committerThomas Raschbacher <lordvan@gentoo.org>2007-05-14 10:39:24 +0000
commit4f48e0b14dacd9d1fa176391d29558b8c038613c (patch)
tree0d22e7c18f7729721765cd09c5fe0a890dd38ec5 /app-arch
parentKeyworded ~amd64 (diff)
downloadgentoo-2-4f48e0b14dacd9d1fa176391d29558b8c038613c.tar.gz
gentoo-2-4f48e0b14dacd9d1fa176391d29558b8c038613c.tar.bz2
gentoo-2-4f48e0b14dacd9d1fa176391d29558b8c038613c.zip
fixes VARPREFIX sandbox violation problem (bug #174095)
(Portage version: 2.1.2.6)
Diffstat (limited to 'app-arch')
-rw-r--r--app-arch/alien/ChangeLog5
-rw-r--r--app-arch/alien/alien-8.66.ebuild3
2 files changed, 6 insertions, 2 deletions
diff --git a/app-arch/alien/ChangeLog b/app-arch/alien/ChangeLog
index 9449ad2429bc..aaa1c9619b3b 100644
--- a/app-arch/alien/ChangeLog
+++ b/app-arch/alien/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-arch/alien
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/alien/ChangeLog,v 1.18 2007/05/13 22:40:26 lordvan Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/alien/ChangeLog,v 1.19 2007/05/14 10:39:24 lordvan Exp $
+
+ 14 May 2007; Thomas Raschbacher <lordvan@gentoo.org> alien-8.66.ebuild:
+ fixed bug where alien violates sandbox trying to write to /var/lib/alien
*alien-8.66 (13 May 2007)
diff --git a/app-arch/alien/alien-8.66.ebuild b/app-arch/alien/alien-8.66.ebuild
index 7b6c00c9beb8..3aa6ea1db59e 100644
--- a/app-arch/alien/alien-8.66.ebuild
+++ b/app-arch/alien/alien-8.66.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/alien/alien-8.66.ebuild,v 1.1 2007/05/13 22:40:26 lordvan Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/alien/alien-8.66.ebuild,v 1.2 2007/05/14 10:39:24 lordvan Exp $
inherit perl-app
@@ -21,6 +21,7 @@ DEPEND=">=dev-lang/perl-5.6.0
S=${WORKDIR}/${PN}
src_compile() {
+ sed -i s%'$(VARPREFIX)'%${D}% ${S}/Makefile.PL # Extutils::MakeMaker does not accept VARPREFIX
perl Makefile.PL PREFIX="${D}/usr" || die "configuration failed"
emake || die "emake failed."
} \ No newline at end of file