summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-10-26 07:05:48 +0000
committerMike Frysinger <vapier@gentoo.org>2009-10-26 07:05:48 +0000
commita89c91212a08f3519f83e42614e611ace5bc7af0 (patch)
tree2e1077d9bff7e05a2bed9ca926f2edab3134dc70 /sys-apps
parentfix spelling (diff)
downloadhistorical-a89c91212a08f3519f83e42614e611ace5bc7af0.tar.gz
historical-a89c91212a08f3519f83e42614e611ace5bc7af0.tar.bz2
historical-a89c91212a08f3519f83e42614e611ace5bc7af0.zip
Version bump (includes fixes for #202765 #288227 #288863 and SPARC ptrace).
Package-Manager: portage-2.2_rc46/cvs/Linux x86_64
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/sandbox/ChangeLog8
-rw-r--r--sys-apps/sandbox/Manifest12
-rw-r--r--sys-apps/sandbox/sandbox-2.2.ebuild98
3 files changed, 112 insertions, 6 deletions
diff --git a/sys-apps/sandbox/ChangeLog b/sys-apps/sandbox/ChangeLog
index 931de38c0829..99ff2dd6a365 100644
--- a/sys-apps/sandbox/ChangeLog
+++ b/sys-apps/sandbox/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-apps/sandbox
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/sandbox/ChangeLog,v 1.130 2009/09/27 05:38:54 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/sandbox/ChangeLog,v 1.131 2009/10/26 07:05:48 vapier Exp $
+
+*sandbox-2.2 (26 Oct 2009)
+
+ 26 Oct 2009; Mike Frysinger <vapier@gentoo.org> +sandbox-2.2.ebuild:
+ Version bump (includes fixes for #202765 #288227 #288863 and SPARC
+ ptrace).
27 Sep 2009; Mike Frysinger <vapier@gentoo.org> sandbox-2.1.ebuild:
Fix new multilib code on non-multilib systems #286599 by Norman Yarvin.
diff --git a/sys-apps/sandbox/Manifest b/sys-apps/sandbox/Manifest
index 8e45611b8d1e..18c9b01c7ae6 100644
--- a/sys-apps/sandbox/Manifest
+++ b/sys-apps/sandbox/Manifest
@@ -13,17 +13,19 @@ DIST sandbox-1.2.18.1.tar.bz2 236755 RMD160 62e1e33d7f64db14d9c34d103d50256934a6
DIST sandbox-1.2.20alpha2.tar.bz2 278323 RMD160 ebb3ca0963878810f3ac86633f848576fddb225e SHA1 3cd2262e9de3ad642b6e021eab26b50d6202ef41 SHA256 19f7148e259cf5212b8e587789b61c33cd4053c1947219a22749e7fb750b21d3
DIST sandbox-1.6.tar.lzma 307014 RMD160 abdcfbbf137304f87c2cb184a4650bf652555ef6 SHA1 e1041d764e3fb326fe195ab39c8676227500f292 SHA256 52cfd286da3d5d51f3b6e012e409e931b21e32b4f2f16ba5677e46328680f4f4
DIST sandbox-2.1.tar.lzma 312000 RMD160 15b693bc815c7c5c440678612d44fa2b75a7ad22 SHA1 131257f444416d138ed4d2ae0b6a51533aa99476 SHA256 da1206a538a0d1311130f5bd85b99220eb1d117f992cd1f501191f5cf5666bd4
+DIST sandbox-2.2.tar.lzma 334751 RMD160 f6214009295df0a05e171329f0070eecc3b90f4f SHA1 be2e8608c7a3c9e19c06b8d0b839e25b7cbeed1b SHA256 f05ee6c2579b10c6f0d79d8dfafefc6ce3182f05d023e573bcd11abad2868331
EBUILD sandbox-1.2.18.1-r2.ebuild 3060 RMD160 e9c70adcff5a8fcb6d2f859d3b94629f2dd43392 SHA1 6a97f8384cf8a8dfa09ac86610464c831c9ba154 SHA256 24b164abace873d2483cb95fcafc6ef0cd47e356d9fbabbc2a23641dd2e8c167
EBUILD sandbox-1.2.18.1-r3.ebuild 3219 RMD160 3b3a08f69aaf4b09458ddad1196ccbda14b2f57c SHA1 f01b174bf4055ff414a009c2b8fbb100713f39cb SHA256 c8ad82468d13716809f8c4667c316da5b9784e92100a6e7fe483d948bd8da85e
EBUILD sandbox-1.2.20_alpha2-r1.ebuild 2638 RMD160 e0b26ffd54aa036168678bac8388a326de51deac SHA1 9a4e6f3b05d17e4d2893bbfe427ef3a2840f34c5 SHA256 7f64e7626f9d197c2d0d54254f19e902e8bf49561e2fb5d332e4ff727a69bad5
EBUILD sandbox-1.6-r2.ebuild 2684 RMD160 bad88e734075d6c7316047dac19096b5dbc8a24a SHA1 799dbdcffcd7468329eccfb070b14e0b528182f2 SHA256 889e561b9e71a30867cb8f9abb543c5a220ea1870905c333a5ae003b54b35878
EBUILD sandbox-2.1.ebuild 2600 RMD160 f68ab24a24a12f492cbf6e1f8b9a5549178ceb04 SHA1 b5b6716ac51f490c47f3829b5485026d9039b782 SHA256 d78c0e1bf2730b699a0c4a1bc20ea87017b93b46de5ca3581778c32d15108f5d
-MISC ChangeLog 18549 RMD160 038f9e39f20ac2adb0dc1170eabd2aec4dbc8b08 SHA1 84b530c9be139bf815f992f3bf21eb6c36f061b4 SHA256 701339d67b2a37c6b0e20a8391b18bfa01dde902d4b9d8f7b4e6bb8765b32abc
+EBUILD sandbox-2.2.ebuild 2600 RMD160 41bee9e6271bd41016570a953a5fa0ae70912fac SHA1 a587273c7adec9be73a09136bf78a31af653253c SHA256 f28a69117d3f7bd3a5db1c6ff2143be06b6622e2f5913e0e10bc21589146682e
+MISC ChangeLog 18729 RMD160 33d8a8b5145f1a5d8b80987163bd736cf180ed1c SHA1 b487d6a85b361794c5d0781b5da0c33bc21b3fa1 SHA256 e508e8cf56bc90324fd73964da0dbd8297309d78d8cb0c17f8d0ba267e8c4d31
MISC metadata.xml 337 RMD160 c70000494a436cc0f8256d428f86d42b0fdf6017 SHA1 d81a50fa4047e6c0ecf1ab16e4fa6214895c5e9c SHA256 575b378bf8db5526847e6839a3351ec72769d75ed1c5b392559d57f6e6b4294f
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.11 (GNU/Linux)
+Version: GnuPG v2.0.13 (GNU/Linux)
-iEYEARECAAYFAkq++nQACgkQlPl3HsVfCDps/QCfV3K46Q4TeceXy+qC9dQx6DeX
-1Y0AnAjlVXBQhrR8iFMhDut9Zo+icXsH
-=8bCO
+iEYEARECAAYFAkrlSlIACgkQlPl3HsVfCDru3gCcCE4zw5qMudZUBPAqzZ2C8Dao
+VroAn0b23OET7OMbxNxnPa24Zs8MiPtq
+=qnE/
-----END PGP SIGNATURE-----
diff --git a/sys-apps/sandbox/sandbox-2.2.ebuild b/sys-apps/sandbox/sandbox-2.2.ebuild
new file mode 100644
index 000000000000..f35d79c8667e
--- /dev/null
+++ b/sys-apps/sandbox/sandbox-2.2.ebuild
@@ -0,0 +1,98 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/sandbox/sandbox-2.2.ebuild,v 1.1 2009/10/26 07:05:48 vapier Exp $
+
+#
+# don't monkey with this ebuild unless contacting portage devs.
+# period.
+#
+
+inherit eutils flag-o-matic toolchain-funcs multilib
+
+DESCRIPTION="sandbox'd LD_PRELOAD hack"
+HOMEPAGE="http://www.gentoo.org/"
+SRC_URI="mirror://gentoo/${P}.tar.lzma
+ http://dev.gentoo.org/~vapier/dist/${P}.tar.lzma"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd -x86-fbsd"
+IUSE="multilib"
+
+DEPEND="|| ( app-arch/xz-utils app-arch/lzma-utils )
+ >=app-misc/pax-utils-0.1.19" #265376
+RDEPEND=""
+
+EMULTILIB_PKG="true"
+has sandbox_death_notice ${EBUILD_DEATH_HOOKS} || EBUILD_DEATH_HOOKS="${EBUILD_DEATH_HOOKS} sandbox_death_notice"
+
+sandbox_death_notice() {
+ ewarn "If configure failed with a 'cannot run C compiled programs' error, try this:"
+ ewarn "FEATURES=-sandbox emerge sandbox"
+}
+
+sb_get_install_abis() { use multilib && get_install_abis || echo ${ABI:-default} ; }
+
+src_compile() {
+ filter-lfs-flags #90228
+
+ local OABI=${ABI}
+ for ABI in $(sb_get_install_abis) ; do
+ mkdir "${WORKDIR}/build-${ABI}"
+ cd "${WORKDIR}/build-${ABI}"
+
+ use multilib && multilib_toolchain_setup ${ABI}
+
+ einfo "Configuring sandbox for ABI=${ABI}..."
+ ECONF_SOURCE="../${P}/" \
+ econf ${myconf} || die
+ einfo "Building sandbox for ABI=${ABI}..."
+ emake || die
+ done
+ ABI=${OABI}
+}
+
+src_test() {
+ local OABI=${ABI}
+ for ABI in $(sb_get_install_abis) ; do
+ cd "${WORKDIR}/build-${ABI}"
+ einfo "Checking sandbox for ABI=${ABI}..."
+ emake check || die "make check failed for ${ABI}"
+ done
+ ABI=${OABI}
+}
+
+src_install() {
+ local OABI=${ABI}
+ for ABI in $(sb_get_install_abis) ; do
+ cd "${WORKDIR}/build-${ABI}"
+ einfo "Installing sandbox for ABI=${ABI}..."
+ emake DESTDIR="${D}" install || die "make install failed for ${ABI}"
+ done
+ ABI=${OABI}
+
+ doenvd "${FILESDIR}"/09sandbox
+
+ keepdir /var/log/sandbox
+ fowners root:portage /var/log/sandbox
+ fperms 0770 /var/log/sandbox
+
+ cd "${S}"
+ dodoc AUTHORS ChangeLog* NEWS README
+}
+
+pkg_preinst() {
+ chown root:portage "${D}"/var/log/sandbox
+ chmod 0770 "${D}"/var/log/sandbox
+
+ local old=$(find "${ROOT}"/lib* -maxdepth 1 -name 'libsandbox*')
+ if [[ -n ${old} ]] ; then
+ elog "Removing old sandbox libraries for you:"
+ elog ${old//${ROOT}}
+ find "${ROOT}"/lib* -maxdepth 1 -name 'libsandbox*' -exec rm -fv {} \;
+ fi
+}
+
+pkg_postinst() {
+ chmod 0755 "${ROOT}"/etc/sandbox.d #265376
+}