summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2005-07-03 19:06:07 +0000
committerMartin Schlemmer <azarah@gentoo.org>2005-07-03 19:06:07 +0000
commitddbfd5a05b2ff695579ced3e0d635ab13bccad66 (patch)
treea1884582bd8e6a2910c117b7b64deb381e9041da /sys-apps/sandbox
parentVersion bump per #80003. Install things into MY_CGIBINDIR. (diff)
downloadhistorical-ddbfd5a05b2ff695579ced3e0d635ab13bccad66.tar.gz
historical-ddbfd5a05b2ff695579ced3e0d635ab13bccad66.tar.bz2
historical-ddbfd5a05b2ff695579ced3e0d635ab13bccad66.zip
Update version.
Package-Manager: portage-2.0.51.22-r1
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/files/digest-sandbox-1.2.101
-rw-r--r--sys-apps/sandbox/sandbox-1.2.10.ebuild99
4 files changed, 112 insertions, 5 deletions
diff --git a/sys-apps/sandbox/ChangeLog b/sys-apps/sandbox/ChangeLog
index 87648c152e81..e5d65ba17f3d 100644
--- a/sys-apps/sandbox/ChangeLog
+++ b/sys-apps/sandbox/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-apps/sandbox
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/sandbox/ChangeLog,v 1.17 2005/06/09 17:34:43 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/sandbox/ChangeLog,v 1.18 2005/07/03 19:06:07 azarah Exp $
+
+*sandbox-1.2.10 (03 Jul 2005)
+
+ 03 Jul 2005; Martin Schlemmer <azarah@gentoo.org> +sandbox-1.2.10.ebuild:
+ Update version.
*sandbox-1.2.9 (09 Jun 2005)
diff --git a/sys-apps/sandbox/Manifest b/sys-apps/sandbox/Manifest
index 214ca68172f3..a966dbe49d2f 100644
--- a/sys-apps/sandbox/Manifest
+++ b/sys-apps/sandbox/Manifest
@@ -6,15 +6,17 @@ MD5 924266160e07f32460078d11d3fd5158 sandbox-1.2.9.ebuild 2628
MD5 ee87d170e367ddf5ba6081fdb9ec4029 sandbox-1.2.3.ebuild 2179
MD5 d0f1b6c62fb060151edd8b40821f8b65 sandbox-1.2.5.ebuild 2809
MD5 d211e8c2cefc10cc574350b9f7217951 sandbox-1.2.6.ebuild 2488
-MD5 b8c108ad8c977ff7935db297bd759d43 ChangeLog 2817
+MD5 a2948cad108ed3c23dcaf5be58cf89d4 ChangeLog 2943
MD5 116ce687147fd402fa759e706e1bb1bc sandbox-1.2.4.ebuild 2179
MD5 6830bdd58e02ad79d41b52ed31b24b7d sandbox-1.2.5-r2.ebuild 2510
MD5 1df3499c0be95c0a47fb7a9cf20bbe20 sandbox-1.2.5-r1.ebuild 2345
MD5 968e2965b0b6f620634dae6d28d8b4c4 metadata.xml 455
+MD5 712a227c38e91acbf46935ca02c8f9a8 sandbox-1.2.10.ebuild 2629
MD5 90bdd4a5588570acdc12d14e10560c50 sandbox-1.2.7.ebuild 2550
MD5 608efd4e5027f32ca42a16add8823ca2 sandbox-1.2.8.ebuild 2628
MD5 54b60d2b6f5d3b74312b47c02e3f169e files/digest-sandbox-1.2.5-r1 66
MD5 bf2c5f346fcc11659401c9240b1b8db9 files/digest-sandbox-1.2.3 66
+MD5 9fe5eef00b6290f1c9fb750c3bfc1fad files/digest-sandbox-1.2.10 67
MD5 608cba289865ac916fb83ba5dc9daa2f files/digest-sandbox-1.2.4 66
MD5 ccaf432074b58217f8f1750228923978 files/digest-sandbox-1.2.7 66
MD5 fb651b249c3214a6d0fa321e1d419e07 files/digest-sandbox-1.2.2 66
@@ -26,7 +28,7 @@ MD5 0b9d8a3302f89af8fcb328f02eb16824 files/digest-sandbox-1.2.9 66
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
-iD8DBQFCqH3p1ZcsMnZjRyIRAqgvAKCMwFr+dXBIYaf2zj9cGFzv9z1ozwCfY6TX
-3ivtoGmRXsqYRYW/PUclaY4=
-=u6JO
+iD8DBQFCyDeX1ZcsMnZjRyIRAhouAKCmcXRQeoNpa/A62LD7jUDILugxnQCfdSAS
+4E/QQWFjkcbqKw4yNMG4HqA=
+=3S83
-----END PGP SIGNATURE-----
diff --git a/sys-apps/sandbox/files/digest-sandbox-1.2.10 b/sys-apps/sandbox/files/digest-sandbox-1.2.10
new file mode 100644
index 000000000000..f60e0940b0f7
--- /dev/null
+++ b/sys-apps/sandbox/files/digest-sandbox-1.2.10
@@ -0,0 +1 @@
+MD5 ff0847f817dbb0022c1c96c42dab350e sandbox-1.2.10.tar.bz2 227184
diff --git a/sys-apps/sandbox/sandbox-1.2.10.ebuild b/sys-apps/sandbox/sandbox-1.2.10.ebuild
new file mode 100644
index 000000000000..61b5f80d5f5f
--- /dev/null
+++ b/sys-apps/sandbox/sandbox-1.2.10.ebuild
@@ -0,0 +1,99 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/sandbox/sandbox-1.2.10.ebuild,v 1.1 2005/07/03 19:06:07 azarah 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.bz2
+ http://dev.gentoo.org/~azarah/sandbox/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+#KEYWORDS=" alpha amd64 arm hppa ia64 m68k mips ppc ppc-macos ppc64 s390 sh sparc x86"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc-macos ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE=""
+RESTRICT="multilib-pkg-force"
+
+DEPEND=""
+
+setup_multilib() {
+ if use amd64 && has_m32 && [[ ${CONF_MULTILIBDIR} == "lib32" ]]; then
+ export DEFAULT_ABI="amd64"
+ export MULTILIB_ABIS="x86 amd64"
+ export CFLAGS_amd64=${CFLAGS_amd64:-"-m64"}
+ export CFLAGS_x86=${CFLAGS_x86-"-m32 -L/emul/linux/x86/lib -L/emul/linux/x86/usr/lib"}
+ export LIBDIR_amd64=${LIBDIR_amd64-${CONF_LIBDIR}}
+ export LIBDIR_x86=${LIBDIR_x86-${CONF_MULTILIBDIR}}
+ fi
+}
+
+src_unpack() {
+ setup_multilib
+ for ABI in $(get_install_abis) ; do
+ unpack ${A}
+ cd ${WORKDIR}
+ einfo "Unpacking sandbox for ABI=${ABI}..."
+ mv ${S} ${S%/}-${ABI} || die "failed moving \$S to ${ABI}"
+ done
+}
+
+abi_fail_check() {
+ local ABI=$1
+ if [[ ${ABI} == "x86" ]] ; then
+ echo
+ eerror "Building failed for ABI=x86!. This usually means a broken"
+ eerror "multilib setup. Please fix that before filling a bugreport"
+ eerror "against sandbox."
+ echo
+ fi
+}
+
+src_compile() {
+ setup_multilib
+
+ filter-lfs-flags #90228
+
+ has_multilib_profile && append-flags -DSB_HAVE_64BIT_ARCH
+
+ ewarn "If configure fails with a 'cannot run C compiled programs' error, try this:"
+ ewarn "FEATURES=-sandbox emerge sandbox"
+
+ OABI="${ABI}"
+ for ABI in $(get_install_abis); do
+ export ABI
+ cd ${S}-${ABI}
+
+ einfo "Configuring sandbox for ABI=${ABI}..."
+ econf --libdir="/usr/$(get_libdir)"
+ einfo "Building sandbox for ABI=${ABI}..."
+ emake || {
+ abi_fail_check "${ABI}"
+ die "emake failed for ${ABI}"
+ }
+ done
+ ABI="${OABI}"
+}
+
+src_install() {
+ setup_multilib
+
+ OABI="${ABI}"
+ for ABI in $(get_install_abis); do
+ export ABI
+ cd ${S}-${ABI}
+ einfo "Installing sandbox for ABI=${ABI}..."
+ make DESTDIR="${D}" install || die "make install failed for ${ABI}"
+ done
+ ABI="${OABI}"
+
+ for x in "${S}-${ABI}"/{AUTHORS,COPYING,ChangeLog,NEWS,README} ; do
+ [[ -f ${x} && $(stat -c "%s" "${x}") -gt 0 ]] && dodoc "${x}"
+ done
+}