summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2005-09-12 07:19:04 +0000
committerMartin Schlemmer <azarah@gentoo.org>2005-09-12 07:19:04 +0000
commitfa50cc84394781cc4958a7ff320dc1071a509a8e (patch)
tree8eb962de2628b20cc8d73ea2d8b7aeb05f9949f4
parentCreating lock directory in a different way (see bug #105429) (diff)
downloadgentoo-2-fa50cc84394781cc4958a7ff320dc1071a509a8e.tar.gz
gentoo-2-fa50cc84394781cc4958a7ff320dc1071a509a8e.tar.bz2
gentoo-2-fa50cc84394781cc4958a7ff320dc1071a509a8e.zip
New release.
(Portage version: 2.0.52-r1)
-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.131
-rw-r--r--sys-apps/sandbox/sandbox-1.2.13.ebuild109
4 files changed, 123 insertions, 16 deletions
diff --git a/sys-apps/sandbox/ChangeLog b/sys-apps/sandbox/ChangeLog
index e7a9389e0776..38fa09519555 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.45 2005/08/30 23:47:16 ferdy Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/sandbox/ChangeLog,v 1.46 2005/09/12 07:19:03 azarah Exp $
+
+*sandbox-1.2.13 (12 Sep 2005)
+
+ 12 Sep 2005; Martin Schlemmer <azarah@gentoo.org> +sandbox-1.2.13.ebuild:
+ New release.
30 Aug 2005; Fernando J. Pereda <ferdy@gentoo.org> sandbox-1.2.12.ebuild:
stable on alpha wrt bug #101433
diff --git a/sys-apps/sandbox/Manifest b/sys-apps/sandbox/Manifest
index 51ad3d9c9180..a67cdcd11ae0 100644
--- a/sys-apps/sandbox/Manifest
+++ b/sys-apps/sandbox/Manifest
@@ -1,22 +1,14 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
MD5 42654caf9e8783b88919fd8a7160476e sandbox-1.2.9.ebuild 2782
-MD5 df321dbbd5765b57a8f5dcf9ad78721b sandbox-1.2.10.ebuild 2682
MD5 82fc3a9b300d66fe64bfa790eaf66683 sandbox-1.2.12.ebuild 2792
MD5 e028779b81c4e77fe3bc956d615e3a24 ChangeLog 6005
MD5 974212d07c65c73d3b960840e4322b7b sandbox-1.2.11.ebuild 2793
+MD5 bcc058db0299613149d1a7a6ab482be1 sandbox-1.2.13.ebuild 2804
MD5 4a6b419321a7e1ee609c8af41905ff1b metadata.xml 337
-MD5 0b9d8a3302f89af8fcb328f02eb16824 files/digest-sandbox-1.2.9 66
-MD5 76e3fe575f6739c3a9de06eb2dcdd1ac files/sandbox-1.2.9-uclibc-getcwd.patch 508
-MD5 9fe5eef00b6290f1c9fb750c3bfc1fad files/digest-sandbox-1.2.10 67
+MD5 df321dbbd5765b57a8f5dcf9ad78721b sandbox-1.2.10.ebuild 2682
+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 36e3d59477310a00b5b240377e4e47dd files/sandbox-1.2.10-uclibc-getcwd.patch 751
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2 (GNU/Linux)
-
-iD8DBQFDFPAXViELBEf1JB0RAtMVAJ4zynipKPXJ3I7a6s/2XwcV7J6arQCfT75V
-Fh2Sbg7NbjFA7TvdSqMYnQo=
-=p7af
------END PGP SIGNATURE-----
+MD5 b82ec2a608295a15c019aa485cfceb37 files/digest-sandbox-1.2.13 67
+MD5 0b9d8a3302f89af8fcb328f02eb16824 files/digest-sandbox-1.2.9 66
diff --git a/sys-apps/sandbox/files/digest-sandbox-1.2.13 b/sys-apps/sandbox/files/digest-sandbox-1.2.13
new file mode 100644
index 000000000000..96b963c08463
--- /dev/null
+++ b/sys-apps/sandbox/files/digest-sandbox-1.2.13
@@ -0,0 +1 @@
+MD5 3e27aaf27a44855ef12c97d2d1a5a359 sandbox-1.2.13.tar.bz2 223344
diff --git a/sys-apps/sandbox/sandbox-1.2.13.ebuild b/sys-apps/sandbox/sandbox-1.2.13.ebuild
new file mode 100644
index 000000000000..f2ca466b8652
--- /dev/null
+++ b/sys-apps/sandbox/sandbox-1.2.13.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.13.ebuild,v 1.1 2005/09/12 07:19:03 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
+}
+