diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-04-27 03:12:53 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-04-27 03:12:53 +0000 |
commit | 50e333eef6625e0c8bf8fec5c9efdb5762b1fbfa (patch) | |
tree | 8aa58caab6fa0bf245591cc348911fd80ab50884 /app-shells | |
parent | old (diff) | |
download | gentoo-2-50e333eef6625e0c8bf8fec5c9efdb5762b1fbfa.tar.gz gentoo-2-50e333eef6625e0c8bf8fec5c9efdb5762b1fbfa.tar.bz2 gentoo-2-50e333eef6625e0c8bf8fec5c9efdb5762b1fbfa.zip |
Newer sandboxes install into /usr/lib instead of /lib.
(Portage version: 2.0.51.20-r4)
Diffstat (limited to 'app-shells')
-rw-r--r-- | app-shells/sandboxshell/ChangeLog | 10 | ||||
-rw-r--r-- | app-shells/sandboxshell/files/digest-sandboxshell-0.1-r2 | 0 | ||||
-rw-r--r-- | app-shells/sandboxshell/files/sandboxshell | 9 | ||||
-rw-r--r-- | app-shells/sandboxshell/sandboxshell-0.1-r2.ebuild | 25 |
4 files changed, 39 insertions, 5 deletions
diff --git a/app-shells/sandboxshell/ChangeLog b/app-shells/sandboxshell/ChangeLog index 0a45b260c24e..8d5b7e720a01 100644 --- a/app-shells/sandboxshell/ChangeLog +++ b/app-shells/sandboxshell/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-shells/sandboxshell -# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-shells/sandboxshell/ChangeLog,v 1.5 2005/01/01 15:59:45 eradicator Exp $ +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-shells/sandboxshell/ChangeLog,v 1.6 2005/04/27 03:12:53 vapier Exp $ + +*sandboxshell-0.1-r2 (27 Apr 2005) + + 27 Apr 2005; Mike Frysinger <vapier@gentoo.org> files/sandboxshell, + +sandboxshell-0.1-r2.ebuild: + Newer sandboxes install into /usr/lib instead of /lib. *sandboxshell-0.1-r1 (23 Jun 2004) diff --git a/app-shells/sandboxshell/files/digest-sandboxshell-0.1-r2 b/app-shells/sandboxshell/files/digest-sandboxshell-0.1-r2 new file mode 100644 index 000000000000..e69de29bb2d1 --- /dev/null +++ b/app-shells/sandboxshell/files/digest-sandboxshell-0.1-r2 diff --git a/app-shells/sandboxshell/files/sandboxshell b/app-shells/sandboxshell/files/sandboxshell index 68bd3fb22cee..9ba530b05096 100644 --- a/app-shells/sandboxshell/files/sandboxshell +++ b/app-shells/sandboxshell/files/sandboxshell @@ -1,7 +1,7 @@ #!/bin/bash # Written by vapier@gentoo.org # public-domain code ... z0r ... -# $Header: /var/cvsroot/gentoo-x86/app-shells/sandboxshell/files/sandboxshell,v 1.1 2003/07/09 14:53:39 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-shells/sandboxshell/files/sandboxshell,v 1.2 2005/04/27 03:12:53 vapier Exp $ . /sbin/functions.sh . /etc/profile @@ -12,8 +12,11 @@ cd ${PWD} || { exit 1 } -export LD_PRELOAD=/lib/libsandbox.so -export SANDBOX_LIB=/lib/libsandbox.so +for SANDBOX_LIB in /lib /usr/lib ; do + SANDBOX_LIB=${SANDBOX_LIB}/libsandbox.so + [ -e ${SANDBOX_LIB} ] && break +done +export LD_PRELOAD=${SANDBOX_LIB} export SANDBOX_LOG="/tmp/sandboxme-$(date '+%d.%m.%Y-%H.%M.%S').log" export SANDBOX_DEBUG_LOG="${SANDBOX_LOG}.debug" export SANDBOX_DENY="" diff --git a/app-shells/sandboxshell/sandboxshell-0.1-r2.ebuild b/app-shells/sandboxshell/sandboxshell-0.1-r2.ebuild new file mode 100644 index 000000000000..a2791771288e --- /dev/null +++ b/app-shells/sandboxshell/sandboxshell-0.1-r2.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-shells/sandboxshell/sandboxshell-0.1-r2.ebuild,v 1.1 2005/04/27 03:12:53 vapier Exp $ + +DESCRIPTION="launch a sandboxed shell ... useful for debugging ebuilds" +HOMEPAGE="http://wh0rd.org/" +SRC_URI="" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 s390 sparc x86" +IUSE="" + +DEPEND="" +RDEPEND="sys-apps/portage + app-shells/bash" + +S=${WORKDIR} + +src_install() { + dobin ${FILESDIR}/sandboxshell || die + doman ${FILESDIR}/sandboxshell.1 + insinto /etc + doins ${FILESDIR}/sandboxshell.conf +} |