diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-08-17 02:58:30 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-08-17 02:58:30 +0000 |
commit | 8134e028ab50eae644ea2104efe9658afe9b1c23 (patch) | |
tree | 05db1595776b573cfd8acbc6418028c72b535586 /sys-apps/sandbox | |
parent | Version bump 0.0.6 (diff) | |
download | historical-8134e028ab50eae644ea2104efe9658afe9b1c23.tar.gz historical-8134e028ab50eae644ea2104efe9658afe9b1c23.tar.bz2 historical-8134e028ab50eae644ea2104efe9658afe9b1c23.zip |
Version bump. Lots o fixes.
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'sys-apps/sandbox')
-rw-r--r-- | sys-apps/sandbox/ChangeLog | 7 | ||||
-rw-r--r-- | sys-apps/sandbox/Manifest | 10 | ||||
-rw-r--r-- | sys-apps/sandbox/sandbox-2.3.ebuild | 106 |
3 files changed, 118 insertions, 5 deletions
diff --git a/sys-apps/sandbox/ChangeLog b/sys-apps/sandbox/ChangeLog index 4f7fc292cc16..4acc6240334f 100644 --- a/sys-apps/sandbox/ChangeLog +++ b/sys-apps/sandbox/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-apps/sandbox # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/sandbox/ChangeLog,v 1.133 2010/08/15 05:22:23 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/sandbox/ChangeLog,v 1.134 2010/08/17 02:58:30 vapier Exp $ + +*sandbox-2.3 (17 Aug 2010) + + 17 Aug 2010; Mike Frysinger <vapier@gentoo.org> +sandbox-2.3.ebuild: + Version bump. Lots o fixes. 15 Aug 2010; Mike Frysinger <vapier@gentoo.org> sandbox-1.6-r2.ebuild, sandbox-2.2.ebuild: diff --git a/sys-apps/sandbox/Manifest b/sys-apps/sandbox/Manifest index 4b542a811f1b..8a8be649fd29 100644 --- a/sys-apps/sandbox/Manifest +++ b/sys-apps/sandbox/Manifest @@ -14,18 +14,20 @@ DIST sandbox-1.2.20alpha2.tar.bz2 278323 RMD160 ebb3ca0963878810f3ac86633f848576 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 +DIST sandbox-2.3.tar.xz 344260 RMD160 929485e4fb51737dc2fc1fe656efc505c3b78eec SHA1 c1eff87f4f608aa613a6905d2111790ac57fe091 SHA256 8670f7508453c2fd300ca29ad2eb457691c3df01c4c22fa27d4a7c880fd291d5 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 2807 RMD160 34f50316548b2e9d98b5dfb70d99e3e380302672 SHA1 bba36e5a8fa8ea20c1e45febc5aeb56296d12cc9 SHA256 0d9c59cc9c328ad90f1ca93130b7975f09c827f55910a590ff2b2c314661b287 EBUILD sandbox-2.1.ebuild 2600 RMD160 f68ab24a24a12f492cbf6e1f8b9a5549178ceb04 SHA1 b5b6716ac51f490c47f3829b5485026d9039b782 SHA256 d78c0e1bf2730b699a0c4a1bc20ea87017b93b46de5ca3581778c32d15108f5d EBUILD sandbox-2.2.ebuild 2754 RMD160 219e1fb4a49b901bfaad5589007415fdca744e44 SHA1 aaba793b314eeddbde69e804ed6ef9fca7f59f85 SHA256 2cbdebb1603c221cb37348c2bd773f0e059bd18c95f47e1f1ac3fcb48870592f -MISC ChangeLog 19021 RMD160 a2a996aa25fa838b32d9225e7946c0476e9847c3 SHA1 a781c681c2b325fb66e33187a166d89ee525629f SHA256 f2e63c7360e1cef3e897cc08a9c9896e14b8c2f17669760570fbfea830a11c89 +EBUILD sandbox-2.3.ebuild 2746 RMD160 3a975b26101dd3175f313476b82565bedd8fa35a SHA1 81ee1093054e565b1b3160e8f4bd8d55d2c879a1 SHA256 df8771967722e54d138bc609a83a82c47088b50d883355ab27698fe3fcccb30d +MISC ChangeLog 19151 RMD160 ecebe4023bf4b1d31b2964c802e6722192b1e467 SHA1 b0c5e09d4da5122ab678881d9e417ae213da8e51 SHA256 51f736f285fd4c9391d2292e73ed943126f85c4ccceadc50e12bd32910704b15 MISC metadata.xml 337 RMD160 c70000494a436cc0f8256d428f86d42b0fdf6017 SHA1 d81a50fa4047e6c0ecf1ab16e4fa6214895c5e9c SHA256 575b378bf8db5526847e6839a3351ec72769d75ed1c5b392559d57f6e6b4294f -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) -iF4EAREIAAYFAkxnehYACgkQTwhj9JtAlp6x7QD9GYMoYet3FBj5Dw8LDh1NyDBs -MZwIiK6hWlye9rs0BDwA/icsrCuImbpJCzhuur+Pg7KPLW8Unq7yspaAPtbtOx+u -=ZGZT +iF4EAREIAAYFAkxp+2oACgkQTwhj9JtAlp4bQgD8CocxFJXjL1XzgQ1FYiKvbnP7 +yFdpNHmA+J2dkmIZYRUBAIfOWjOOYaKUYhYNtQjOmE58xWt1dcHIlUmoETumPao1 +=61oF -----END PGP SIGNATURE----- diff --git a/sys-apps/sandbox/sandbox-2.3.ebuild b/sys-apps/sandbox/sandbox-2.3.ebuild new file mode 100644 index 000000000000..001e2c263583 --- /dev/null +++ b/sys-apps/sandbox/sandbox-2.3.ebuild @@ -0,0 +1,106 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/sandbox/sandbox-2.3.ebuild,v 1.1 2010/08/17 02:58:30 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.xz + http://dev.gentoo.org/~vapier/dist/${P}.tar.xz" + +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-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_unpack() { + unpack ${A} + if [[ ! -d ${S} ]] ; then + # When upgrading from older version, xz unpack may not work #271543 + xz -dc "${DISTDIR}/${A}" | tar xf - || die + fi +} + +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 +} |