summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-03-12 13:13:44 +0000
committerMike Frysinger <vapier@gentoo.org>2009-03-12 13:13:44 +0000
commitebc33f6d24f69fc20b11086e0fe4f496b60530df (patch)
treee238a980bf6bf493646c74dbb427b5b697375409 /sys-apps/sandbox
parentSimplify hardened support (diff)
downloadhistorical-ebc33f6d24f69fc20b11086e0fe4f496b60530df.tar.gz
historical-ebc33f6d24f69fc20b11086e0fe4f496b60530df.tar.bz2
historical-ebc33f6d24f69fc20b11086e0fe4f496b60530df.zip
Version bump.
Package-Manager: portage-2.2_rc23/cvs/Linux x86_64
Diffstat (limited to 'sys-apps/sandbox')
-rw-r--r--sys-apps/sandbox/ChangeLog7
-rw-r--r--sys-apps/sandbox/Manifest10
-rw-r--r--sys-apps/sandbox/sandbox-1.6.ebuild91
3 files changed, 103 insertions, 5 deletions
diff --git a/sys-apps/sandbox/ChangeLog b/sys-apps/sandbox/ChangeLog
index 6c7561b68f52..8d125f1b9d36 100644
--- a/sys-apps/sandbox/ChangeLog
+++ b/sys-apps/sandbox/ChangeLog
@@ -1,6 +1,11 @@
# 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.108 2009/03/11 16:24:14 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/sandbox/ChangeLog,v 1.109 2009/03/12 13:13:44 vapier Exp $
+
+*sandbox-1.6 (12 Mar 2009)
+
+ 12 Mar 2009; Mike Frysinger <vapier@gentoo.org> +sandbox-1.6.ebuild:
+ Version bump.
*sandbox-1.5 (11 Mar 2009)
diff --git a/sys-apps/sandbox/Manifest b/sys-apps/sandbox/Manifest
index b5dfdc3dda8c..3979dc344b67 100644
--- a/sys-apps/sandbox/Manifest
+++ b/sys-apps/sandbox/Manifest
@@ -21,6 +21,7 @@ DIST sandbox-1.3.8.tar.lzma 297129 RMD160 495a6e1ccad586942ae70978bc6f32b78f2ca9
DIST sandbox-1.3.9.tar.lzma 297311 RMD160 f7d2df581d8eaec3cd2a08934ba502340471f7a5 SHA1 41a57979ab70e8916237cff40d64cccb59fa4216 SHA256 d466bb67e44869955f7e36bc6e03592f24e758088bfd90fc6cad64f41587d204
DIST sandbox-1.4.tar.lzma 300241 RMD160 bbe40e4db412527b9c38e9fee5c4c2f7f3c45166 SHA1 1964207f0c1315238e71e186d97891569c1b5789 SHA256 952cc8048476090e4e4e0387a2e8097279e83b00a8ea5d61d264b85a47db3fc1
DIST sandbox-1.5.tar.lzma 304870 RMD160 09077a94c87682292f6712f6c62308151868e563 SHA1 a10c08b4880f4850caca5de706ce4d1de8a3e775 SHA256 cd11845a5d9070c3764c134bd7d1bd92c4faa045951173b3c0509716db8f7b69
+DIST sandbox-1.6.tar.lzma 307014 RMD160 abdcfbbf137304f87c2cb184a4650bf652555ef6 SHA1 e1041d764e3fb326fe195ab39c8676227500f292 SHA256 52cfd286da3d5d51f3b6e012e409e931b21e32b4f2f16ba5677e46328680f4f4
EBUILD sandbox-1.2.18.1-r2.ebuild 3067 RMD160 a8a3f73bdf844a5592773c8b725cd076142a6e69 SHA1 92004faddc5a2523aa8b3e0c73b4f874a9a16424 SHA256 24f338c7f190d28deac851cbd389e2e2c4b41d8f434f64b5e358f2d853512b8a
EBUILD sandbox-1.2.18.1-r3.ebuild 3227 RMD160 23b09c7fb81be43b4600150c7751004ccf36a86c SHA1 0006fd5618326e904172b5ab22a5c03a2c6f7263 SHA256 1e687890ee2fc538dfa9e8f3e24967a25b409728d77704bbb76f0309fb1f079b
EBUILD sandbox-1.2.20_alpha2-r1.ebuild 2645 RMD160 6d77bede4eea1f89f36acb0e1a6161856f8ed185 SHA1 df582c7e2836c18c60c922bc144524577c9650ba SHA256 6eccca3840b24fcf576129cd02a6f7c4c4e670e3e67cf402883f2d6bc5dfa58a
@@ -36,12 +37,13 @@ EBUILD sandbox-1.3.8.ebuild 2364 RMD160 d23df063e264ba3ba77c68f25eede0c0ac3e6eb1
EBUILD sandbox-1.3.9.ebuild 2364 RMD160 cd69c17113bdbbe09746690e749d38eae1397b70 SHA1 3b8aa50aacc4157274292baf3a00b6dcc4ff124d SHA256 be98343bdc7ebebba584d7795e8345a42f1cbd6f94c0405a693b6e4ebdc46ca8
EBUILD sandbox-1.4.ebuild 2362 RMD160 2bafc94c0fd0ca48c8f68c33500ff56c3aa13c9c SHA1 eb9ab5b10e1ff8bc65acbc9b724c96c1d8986d23 SHA256 e2f526f79ae4f7402a9aff0080b85c03138cdf411fbe213c65a05bf078a42f5f
EBUILD sandbox-1.5.ebuild 2362 RMD160 13dfa1a059849a5c7b37d9b1581c5dbbca6c2fb0 SHA1 c76714a764cea29da0e0ee386ae0ba10e9871c49 SHA256 a000e315deef9dacb7b6144ff7ff9cf6a0675e74aceba33812d93acc2b088142
-MISC ChangeLog 14985 RMD160 80330f99fa1f5399c934f8beec48635326842b2b SHA1 de631852d574647eea8da69141fa71198f1a6973 SHA256 f2eeb3919546b5372f149508beb254c21d31f32b6070a281eaed0e30993c6c3d
+EBUILD sandbox-1.6.ebuild 2362 RMD160 3d43d21529bc6b89b0f38150dad91fb4b4b21529 SHA1 0b75b36570fb7111d417308f21c8e6cd1b6a61a4 SHA256 4965d3b1b9572dacdcf77c83022cb05f6917d32107f944433d0a2797210cb063
+MISC ChangeLog 15101 RMD160 7cd9c2d48a235760d03d49a675ed1d7b4f5cd14e SHA1 5d1f809abb01e3e5be33b16f747c1305f67e526b SHA256 25d4db6854771f41dd23009d193475520351ef588a12a600e7fece621e9eeabd
MISC metadata.xml 337 RMD160 c70000494a436cc0f8256d428f86d42b0fdf6017 SHA1 d81a50fa4047e6c0ecf1ab16e4fa6214895c5e9c SHA256 575b378bf8db5526847e6839a3351ec72769d75ed1c5b392559d57f6e6b4294f
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.10 (GNU/Linux)
-iEYEARECAAYFAkm35bQACgkQn/5bYzqsSmHYzQCgtcArAAMy2YTXqbhVGAerXAJH
-yIUAoLTW4dOz6wy1aMWmCHNqeq/gK1fe
-=qqbc
+iEYEARECAAYFAkm5Co4ACgkQn/5bYzqsSmG5CgCbBSnvsdqYLna0cf9FuQzUWuI6
+FvsAoIDTzd5IqLFbLBR2OnFTMK1JfeiD
+=KesY
-----END PGP SIGNATURE-----
diff --git a/sys-apps/sandbox/sandbox-1.6.ebuild b/sys-apps/sandbox/sandbox-1.6.ebuild
new file mode 100644
index 000000000000..2b16060dbd85
--- /dev/null
+++ b/sys-apps/sandbox/sandbox-1.6.ebuild
@@ -0,0 +1,91 @@
+# 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-1.6.ebuild,v 1.1 2009/03/12 13:13:44 vapier Exp $
+
+#
+# don't monkey with this ebuild unless contacting portage devs.
+# period.
+#
+
+inherit eutils flag-o-matic eutils 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 ~sparc-fbsd ~x86 ~x86-fbsd"
+IUSE=""
+
+DEPEND="app-arch/lzma-utils"
+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"
+}
+
+src_compile() {
+ filter-lfs-flags #90228
+
+ local OABI=${ABI}
+ for ABI in $(get_install_abis) ; do
+ mkdir "${WORKDIR}/build-${ABI}"
+ cd "${WORKDIR}/build-${ABI}"
+
+ 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 $(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 $(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
+}