summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2005-08-05 15:13:16 +0000
committerMartin Schlemmer <azarah@gentoo.org>2005-08-05 15:13:16 +0000
commit18259706723a1a039fa14e50cbda96aa030fa3f3 (patch)
treecaca857aa0d409f578d7aa1208b12a38dfb9818d /sys-apps/sandbox
parent. (diff)
downloadhistorical-18259706723a1a039fa14e50cbda96aa030fa3f3.tar.gz
historical-18259706723a1a039fa14e50cbda96aa030fa3f3.tar.bz2
historical-18259706723a1a039fa14e50cbda96aa030fa3f3.zip
New release.
Package-Manager: portage-2.0.51.22-r2
Diffstat (limited to 'sys-apps/sandbox')
-rw-r--r--sys-apps/sandbox/ChangeLog7
-rw-r--r--sys-apps/sandbox/Manifest22
-rw-r--r--sys-apps/sandbox/files/digest-sandbox-1.2.121
-rw-r--r--sys-apps/sandbox/sandbox-1.2.12.ebuild109
4 files changed, 128 insertions, 11 deletions
diff --git a/sys-apps/sandbox/ChangeLog b/sys-apps/sandbox/ChangeLog
index a74a8263fc52..4b989bff1d66 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.38 2005/07/23 12:03:00 matsuu Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/sandbox/ChangeLog,v 1.39 2005/08/05 15:13:16 azarah Exp $
+
+*sandbox-1.2.12 (05 Aug 2005)
+
+ 05 Aug 2005; Martin Schlemmer <azarah@gentoo.org> +sandbox-1.2.12.ebuild:
+ New release.
23 Jul 2005; MATSUU Takuto <matsuu@gentoo.org> sandbox-1.2.11.ebuild:
Stable on sh.
diff --git a/sys-apps/sandbox/Manifest b/sys-apps/sandbox/Manifest
index f343f417f206..fc9bd260b0bc 100644
--- a/sys-apps/sandbox/Manifest
+++ b/sys-apps/sandbox/Manifest
@@ -1,20 +1,22 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-MD5 4a6b419321a7e1ee609c8af41905ff1b metadata.xml 337
+MD5 42654caf9e8783b88919fd8a7160476e sandbox-1.2.9.ebuild 2782
+MD5 451bfdc4c098f0213e5218ef31d06cfe sandbox-1.2.12.ebuild 2805
+MD5 82ada8ab6ebbfb9b1355c23e81bea019 ChangeLog 5380
MD5 974212d07c65c73d3b960840e4322b7b sandbox-1.2.11.ebuild 2793
+MD5 4a6b419321a7e1ee609c8af41905ff1b metadata.xml 337
MD5 df321dbbd5765b57a8f5dcf9ad78721b sandbox-1.2.10.ebuild 2682
-MD5 3ea64bf0c2172c39f60f0840b8f5c169 ChangeLog 5257
-MD5 42654caf9e8783b88919fd8a7160476e sandbox-1.2.9.ebuild 2782
-MD5 76e3fe575f6739c3a9de06eb2dcdd1ac files/sandbox-1.2.9-uclibc-getcwd.patch 508
-MD5 a3b2897eb709807fa36afb0c7b23c01d files/digest-sandbox-1.2.11 67
-MD5 0b9d8a3302f89af8fcb328f02eb16824 files/digest-sandbox-1.2.9 66
MD5 36e3d59477310a00b5b240377e4e47dd files/sandbox-1.2.10-uclibc-getcwd.patch 751
+MD5 a3b2897eb709807fa36afb0c7b23c01d files/digest-sandbox-1.2.11 67
MD5 9fe5eef00b6290f1c9fb750c3bfc1fad files/digest-sandbox-1.2.10 67
+MD5 76e3fe575f6739c3a9de06eb2dcdd1ac files/sandbox-1.2.9-uclibc-getcwd.patch 508
+MD5 97d135bb57b8e72a00cb615055d919cc files/digest-sandbox-1.2.12 67
+MD5 0b9d8a3302f89af8fcb328f02eb16824 files/digest-sandbox-1.2.9 66
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
+Version: GnuPG v1.4.2 (GNU/Linux)
-iD8DBQFC41o5gIKl8Uu19MoRAtaQAJkB9WUkN3wc3wtIZyOy16d3SekiHQCeNY+B
-PYtRqlP2fTQsxtxf/hBrn48=
-=h4sw
+iD8DBQFC84I31ZcsMnZjRyIRArpZAKCsr1OKOHMdu2aTFkrqc5Jb2sOTyQCeMZJv
+myGFMiLD85D58+2VOmGT3j0=
+=14QC
-----END PGP SIGNATURE-----
diff --git a/sys-apps/sandbox/files/digest-sandbox-1.2.12 b/sys-apps/sandbox/files/digest-sandbox-1.2.12
new file mode 100644
index 000000000000..df79a6622451
--- /dev/null
+++ b/sys-apps/sandbox/files/digest-sandbox-1.2.12
@@ -0,0 +1 @@
+MD5 8e6a327a97eeb2e80f6a31d804bab120 sandbox-1.2.12.tar.bz2 222632
diff --git a/sys-apps/sandbox/sandbox-1.2.12.ebuild b/sys-apps/sandbox/sandbox-1.2.12.ebuild
new file mode 100644
index 000000000000..a2271dcab852
--- /dev/null
+++ b/sys-apps/sandbox/sandbox-1.2.12.ebuild
@@ -0,0 +1,109 @@
+# 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.12.ebuild,v 1.1 2005/08/05 15:13:16 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 ppc64 s390 sh sparc x86"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~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
+ cd ${WORKDIR}
+ unpack ${A}
+ 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}"
+
+ keepdir /var/log/sandbox
+ fowners root:portage /var/log/sandbox
+ fperms 0770 /var/log/sandbox
+
+ for x in "${S}-${ABI}"/{AUTHORS,COPYING,ChangeLog,NEWS,README} ; do
+ [[ -f ${x} && $(stat -c "%s" "${x}") -gt 0 ]] && dodoc "${x}"
+ done
+}
+
+pkg_preinst() {
+ chown root:portage ${IMAGE}/var/log/sandbox
+ chmod 0770 ${IMAGE}/var/log/sandbox
+}
+