summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2005-12-02 12:48:51 +0000
committerMartin Schlemmer <azarah@gentoo.org>2005-12-02 12:48:51 +0000
commit6c0ac16c7c474e2516dcf5ea2ab387761b716243 (patch)
tree6a7c00660043d23ca016a37aeebeb420c72c1097 /sys-apps/sandbox
parentAdded check for ogg flag on media-libs/flac, to be more informative (see bug ... (diff)
downloadhistorical-6c0ac16c7c474e2516dcf5ea2ab387761b716243.tar.gz
historical-6c0ac16c7c474e2516dcf5ea2ab387761b716243.tar.bz2
historical-6c0ac16c7c474e2516dcf5ea2ab387761b716243.zip
New release.
Package-Manager: portage-2.0.53
Diffstat (limited to 'sys-apps/sandbox')
-rw-r--r--sys-apps/sandbox/ChangeLog7
-rw-r--r--sys-apps/sandbox/Manifest40
-rw-r--r--sys-apps/sandbox/files/digest-sandbox-1.2.161
-rw-r--r--sys-apps/sandbox/sandbox-1.2.16.ebuild118
4 files changed, 151 insertions, 15 deletions
diff --git a/sys-apps/sandbox/ChangeLog b/sys-apps/sandbox/ChangeLog
index 9fc2750fc904..f3850bbbc1d6 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.51 2005/12/01 18:21:46 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/sandbox/ChangeLog,v 1.52 2005/12/02 12:48:51 azarah Exp $
+
+*sandbox-1.2.16 (02 Dec 2005)
+
+ 02 Dec 2005; Martin Schlemmer <azarah@gentoo.org> +sandbox-1.2.16.ebuild:
+ New release.
*sandbox-1.2.15 (01 Dec 2005)
diff --git a/sys-apps/sandbox/Manifest b/sys-apps/sandbox/Manifest
index cd7d9aabd7c0..fdfdfee8dd2a 100644
--- a/sys-apps/sandbox/Manifest
+++ b/sys-apps/sandbox/Manifest
@@ -1,18 +1,30 @@
-MD5 e41b4d1bf0b65a813658e2592af765b1 sandbox-1.2.13.ebuild 3001
-MD5 3bd9114811a6ab32056c15562df7c540 sandbox-1.2.12.ebuild 3160
-MD5 4a6b419321a7e1ee609c8af41905ff1b metadata.xml 337
-MD5 41d4e62b633477ef141bb1a03ebb241b sandbox-1.2.11.ebuild 3020
-MD5 93c2db7fef4c24386baf4d5be753be05 sandbox-1.2.10.ebuild 2910
-MD5 2d8462f23197a05dc7198d1d43d7c7ae sandbox-1.2.9.ebuild 3009
-MD5 d62444e78833e7a4211da4277e354b00 sandbox-1.2.15.ebuild 3109
-MD5 b5989dcaf0f9e4fc2b8ce0e3d5bc1b60 ChangeLog 6848
-MD5 d46fbf5423a7d3a32640dbb24234a0e7 sandbox-1.2.14.ebuild 3001
-MD5 0b9d8a3302f89af8fcb328f02eb16824 files/digest-sandbox-1.2.9 66
-MD5 598f16a521987f565cbe705e579e3f22 files/digest-sandbox-1.2.14 67
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 0703fccf974600fa3180849ea64813f9 ChangeLog 6971
MD5 9fe5eef00b6290f1c9fb750c3bfc1fad files/digest-sandbox-1.2.10 67
-MD5 7852810ce451643fbd3d9b0deb2dba92 files/digest-sandbox-1.2.15 67
+MD5 a3b2897eb709807fa36afb0c7b23c01d files/digest-sandbox-1.2.11 67
MD5 97d135bb57b8e72a00cb615055d919cc files/digest-sandbox-1.2.12 67
MD5 b82ec2a608295a15c019aa485cfceb37 files/digest-sandbox-1.2.13 67
-MD5 a3b2897eb709807fa36afb0c7b23c01d files/digest-sandbox-1.2.11 67
-MD5 76e3fe575f6739c3a9de06eb2dcdd1ac files/sandbox-1.2.9-uclibc-getcwd.patch 508
+MD5 598f16a521987f565cbe705e579e3f22 files/digest-sandbox-1.2.14 67
+MD5 7852810ce451643fbd3d9b0deb2dba92 files/digest-sandbox-1.2.15 67
+MD5 ed12f6dab5b8d733c60a6495cbaa43a9 files/digest-sandbox-1.2.16 67
+MD5 0b9d8a3302f89af8fcb328f02eb16824 files/digest-sandbox-1.2.9 66
MD5 36e3d59477310a00b5b240377e4e47dd files/sandbox-1.2.10-uclibc-getcwd.patch 751
+MD5 76e3fe575f6739c3a9de06eb2dcdd1ac files/sandbox-1.2.9-uclibc-getcwd.patch 508
+MD5 4a6b419321a7e1ee609c8af41905ff1b metadata.xml 337
+MD5 93c2db7fef4c24386baf4d5be753be05 sandbox-1.2.10.ebuild 2910
+MD5 41d4e62b633477ef141bb1a03ebb241b sandbox-1.2.11.ebuild 3020
+MD5 3bd9114811a6ab32056c15562df7c540 sandbox-1.2.12.ebuild 3160
+MD5 e41b4d1bf0b65a813658e2592af765b1 sandbox-1.2.13.ebuild 3001
+MD5 d46fbf5423a7d3a32640dbb24234a0e7 sandbox-1.2.14.ebuild 3001
+MD5 d62444e78833e7a4211da4277e354b00 sandbox-1.2.15.ebuild 3109
+MD5 59a25aeec8104a87a4e1757f339e4efd sandbox-1.2.16.ebuild 3106
+MD5 2d8462f23197a05dc7198d1d43d7c7ae sandbox-1.2.9.ebuild 3009
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.2 (GNU/Linux)
+
+iD8DBQFDkEPi1ZcsMnZjRyIRAijTAKCmgrNPFcsvTHiMl3GST22jNfqnmwCdGDE7
+DgdSrB/Xv7ntTSRxQdDiGC4=
+=8Po4
+-----END PGP SIGNATURE-----
diff --git a/sys-apps/sandbox/files/digest-sandbox-1.2.16 b/sys-apps/sandbox/files/digest-sandbox-1.2.16
new file mode 100644
index 000000000000..c378adf79bd6
--- /dev/null
+++ b/sys-apps/sandbox/files/digest-sandbox-1.2.16
@@ -0,0 +1 @@
+MD5 033cccff5ca8bcd681a7dccc0f313358 sandbox-1.2.16.tar.bz2 232260
diff --git a/sys-apps/sandbox/sandbox-1.2.16.ebuild b/sys-apps/sandbox/sandbox-1.2.16.ebuild
new file mode 100644
index 000000000000..2a64ad33e30b
--- /dev/null
+++ b/sys-apps/sandbox/sandbox-1.2.16.ebuild
@@ -0,0 +1,118 @@
+# 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.16.ebuild,v 1.1 2005/12/02 12:48:51 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 CHOST_amd64="x86_64-pc-linux-gnu"
+ export CHOST_x86="i686-pc-linux-gnu"
+ export LIBDIR_amd64=${LIBDIR_amd64-${CONF_LIBDIR}}
+ export LIBDIR_x86=${LIBDIR_x86-${CONF_MULTILIBDIR}}
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+}
+
+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() {
+ local myconf
+ local iscross=0
+
+ setup_multilib
+
+ filter-lfs-flags #90228
+
+ has_multilib_profile && myconf="--enable-multilib"
+
+ ewarn "If configure fails with a 'cannot run C compiled programs' error, try this:"
+ ewarn "FEATURES=-sandbox emerge sandbox"
+
+ [[ -n ${CBUILD} && ${CBUILD} != ${CHOST} ]] && iscross=1
+
+ OABI="${ABI}"
+ OCHOST="${CHOST}"
+ for ABI in $(get_install_abis); do
+ mkdir "${WORKDIR}/build-${ABI}-${OCHOST}"
+ cd "${WORKDIR}/build-${ABI}-${OCHOST}"
+
+ # Needed for older broken portage versions (bug #109036)
+ portageq has_version "${ROOT}" '<portage-2.0.51.22' && \
+ unset EXTRA_ECONF
+
+ export ABI
+ export CHOST=$(get_abi_CHOST)
+ [[ ${iscross} == 0 ]] && export CBUILD=${CHOST}
+
+ einfo "Configuring sandbox for ABI=${ABI}..."
+ ECONF_SOURCE="../${P}/" \
+ econf --libdir="/usr/$(get_libdir)" ${myconf}
+ 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
+ cd "${WORKDIR}/build-${ABI}-${CHOST}"
+ 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}"/{AUTHORS,COPYING,ChangeLog,NEWS,README} ; do
+ [[ -s ${x} ]] && dodoc "${x}"
+ done
+}
+
+pkg_preinst() {
+ chown root:portage ${IMAGE}/var/log/sandbox
+ chmod 0770 ${IMAGE}/var/log/sandbox
+}