summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-apps/sandbox/ChangeLog7
-rw-r--r--sys-apps/sandbox/Manifest10
-rw-r--r--sys-apps/sandbox/sandbox-1.4.ebuild91
3 files changed, 103 insertions, 5 deletions
diff --git a/sys-apps/sandbox/ChangeLog b/sys-apps/sandbox/ChangeLog
index 6e7d3fc3dc6e..1d5446893788 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.106 2009/03/05 04:55:05 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/sandbox/ChangeLog,v 1.107 2009/03/08 13:21:34 vapier Exp $
+
+*sandbox-1.4 (08 Mar 2009)
+
+ 08 Mar 2009; Mike Frysinger <vapier@gentoo.org> +sandbox-1.4.ebuild:
+ Version bump.
*sandbox-1.3.9 (05 Mar 2009)
diff --git a/sys-apps/sandbox/Manifest b/sys-apps/sandbox/Manifest
index 7973a508d626..39a3a46ac1a3 100644
--- a/sys-apps/sandbox/Manifest
+++ b/sys-apps/sandbox/Manifest
@@ -19,6 +19,7 @@ DIST sandbox-1.3.6.tar.lzma 291825 RMD160 a3a2c93e4112ffa61a7dd084e6f5a9be1348da
DIST sandbox-1.3.7.tar.lzma 293495 RMD160 67368884a2236e46bb015c8a9bac214061d321eb SHA1 bd305f4f30502c266a08cd3c04348770eaba59f0 SHA256 801977741714f0d6da9e80ab842b50c21cae11ca68e53e1f9fe2a7d7c5356813
DIST sandbox-1.3.8.tar.lzma 297129 RMD160 495a6e1ccad586942ae70978bc6f32b78f2ca9ae SHA1 1c389f951ce08ef7f29e503f00214549b5ba5975 SHA256 33f795d760586cfa517dd7f8b367365311bd6a0d1809f6ad9c470258f2384c5d
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
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
@@ -32,12 +33,13 @@ EBUILD sandbox-1.3.6.ebuild 2364 RMD160 b9e97bbfdcc9fcc9f265565aab9a2ed78ae4b3e9
EBUILD sandbox-1.3.7.ebuild 2364 RMD160 051c80f028c65986b4cad9775173b3f068238649 SHA1 dbc2a1f4e8a2def297a7965e9370970b41ec4e07 SHA256 dbf7d021e8380b248c01ac59e7e13d894468c6bc0f0a7f9508a0f4d973bd48da
EBUILD sandbox-1.3.8.ebuild 2364 RMD160 d23df063e264ba3ba77c68f25eede0c0ac3e6eb1 SHA1 bfb5b1cee12a9e016b18e95a1df9c929032e266e SHA256 86817c90ab69f9752e53a4935191034163a4b9f16f7b4df4860c401970581648
EBUILD sandbox-1.3.9.ebuild 2364 RMD160 cd69c17113bdbbe09746690e749d38eae1397b70 SHA1 3b8aa50aacc4157274292baf3a00b6dcc4ff124d SHA256 be98343bdc7ebebba584d7795e8345a42f1cbd6f94c0405a693b6e4ebdc46ca8
-MISC ChangeLog 14753 RMD160 c81cd13f939676138bee68faf0ae6d4484bfe048 SHA1 1259c261f3dba4954b6a17d6b733e8aaba3bf99a SHA256 5ba947bb9527176ee904a1270660dc443ead15054b509ceaf697c754302d68a8
+EBUILD sandbox-1.4.ebuild 2362 RMD160 2bafc94c0fd0ca48c8f68c33500ff56c3aa13c9c SHA1 eb9ab5b10e1ff8bc65acbc9b724c96c1d8986d23 SHA256 e2f526f79ae4f7402a9aff0080b85c03138cdf411fbe213c65a05bf078a42f5f
+MISC ChangeLog 14869 RMD160 2ce4f7cf85097a7c92969a524f7c5ffde96a2645 SHA1 40f16df4e02e854960249514a5a557bd14b3644a SHA256 2421f1f6b9781bb3e0a2fb9ade3ae275e4e139548df62034ae718f4ebc7b6818
MISC metadata.xml 337 RMD160 c70000494a436cc0f8256d428f86d42b0fdf6017 SHA1 d81a50fa4047e6c0ecf1ab16e4fa6214895c5e9c SHA256 575b378bf8db5526847e6839a3351ec72769d75ed1c5b392559d57f6e6b4294f
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.10 (GNU/Linux)
-iEYEARECAAYFAkmvWy8ACgkQn/5bYzqsSmH96wCghmNSL9ls4xuxZorPbx7OIurU
-CgIAoKofuQ1soUsniKdWrzqYNWjwWWHH
-=P7/g
+iEYEARECAAYFAkmzxmQACgkQn/5bYzqsSmFqXgCZAZ7oDsacd1YWQM2Awn8rh1Qd
+QXgAn2grSQPburzvtoMPHKmda+twfxwK
+=XPKs
-----END PGP SIGNATURE-----
diff --git a/sys-apps/sandbox/sandbox-1.4.ebuild b/sys-apps/sandbox/sandbox-1.4.ebuild
new file mode 100644
index 000000000000..8ba0e28a0d08
--- /dev/null
+++ b/sys-apps/sandbox/sandbox-1.4.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.4.ebuild,v 1.1 2009/03/08 13:21:34 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
+}