diff options
author | Martin Schlemmer <azarah@gentoo.org> | 2005-05-12 08:48:12 +0000 |
---|---|---|
committer | Martin Schlemmer <azarah@gentoo.org> | 2005-05-12 08:48:12 +0000 |
commit | 5ba2ff4d8d665bdc1494aa2a067ecae93cd59e3a (patch) | |
tree | 7a9ee9c1b2b277494cdba69b7de88916ab6e94c1 /sys-apps | |
parent | -alpha as configure is broken. (diff) | |
download | gentoo-2-5ba2ff4d8d665bdc1494aa2a067ecae93cd59e3a.tar.gz gentoo-2-5ba2ff4d8d665bdc1494aa2a067ecae93cd59e3a.tar.bz2 gentoo-2-5ba2ff4d8d665bdc1494aa2a067ecae93cd59e3a.zip |
Lots of cleanups and fixes - see ChangeLog in /usr/share/doc.
(Portage version: 2.0.51.21-r1)
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/sandbox/ChangeLog | 7 | ||||
-rw-r--r-- | sys-apps/sandbox/Manifest | 12 | ||||
-rw-r--r-- | sys-apps/sandbox/files/digest-sandbox-1.2.7 | 1 | ||||
-rw-r--r-- | sys-apps/sandbox/sandbox-1.2.7.ebuild | 97 |
4 files changed, 106 insertions, 11 deletions
diff --git a/sys-apps/sandbox/ChangeLog b/sys-apps/sandbox/ChangeLog index 6950501cfde7..4c3fab010854 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.14 2005/05/10 07:20:07 azarah Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/sandbox/ChangeLog,v 1.15 2005/05/12 08:48:11 azarah Exp $ + +*sandbox-1.2.7 (12 May 2005) + + 12 May 2005; Martin Schlemmer <azarah@gentoo.org> +sandbox-1.2.7.ebuild: + Lots of cleanups and fixes - see ChangeLog in /usr/share/doc. *sandbox-1.2.6 (10 May 2005) diff --git a/sys-apps/sandbox/Manifest b/sys-apps/sandbox/Manifest index 94447e370298..a3ee31accaa9 100644 --- a/sys-apps/sandbox/Manifest +++ b/sys-apps/sandbox/Manifest @@ -1,6 +1,3 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - MD5 813090e50aa8df7b117346e9ce749664 ChangeLog 2350 MD5 968e2965b0b6f620634dae6d28d8b4c4 metadata.xml 455 MD5 7ed1125d24e2a98b0832f84d9ab637da sandbox-1.2.4.ebuild 2145 @@ -10,6 +7,7 @@ MD5 19fba09c21526e30a880859a8987c3e3 sandbox-1.2.5-r2.ebuild 2481 MD5 cf204fe7e04306977762e02426cd7469 sandbox-1.2.6.ebuild 2455 MD5 3c85f7c72e45afadde1025fc0ef3a205 sandbox-1.2.2.ebuild 2235 MD5 734eba450db4538f0e38ee876d28dacc sandbox-1.2.3.ebuild 2145 +MD5 cf204fe7e04306977762e02426cd7469 sandbox-1.2.7.ebuild 2455 MD5 608cba289865ac916fb83ba5dc9daa2f files/digest-sandbox-1.2.4 66 MD5 54b60d2b6f5d3b74312b47c02e3f169e files/digest-sandbox-1.2.5 66 MD5 54b60d2b6f5d3b74312b47c02e3f169e files/digest-sandbox-1.2.5-r1 66 @@ -17,10 +15,4 @@ MD5 54b60d2b6f5d3b74312b47c02e3f169e files/digest-sandbox-1.2.5-r2 66 MD5 150aaffe0c9c0c8eb503c3f616d985f2 files/digest-sandbox-1.2.6 66 MD5 fb651b249c3214a6d0fa321e1d419e07 files/digest-sandbox-1.2.2 66 MD5 bf2c5f346fcc11659401c9240b1b8db9 files/digest-sandbox-1.2.3 66 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.1 (GNU/Linux) - -iD8DBQFCgGH21ZcsMnZjRyIRAtGrAJ9ju+tn8n7OuOwNSFqbaJMq+P129QCfYtNs -iH8DAffG7ROtOOU7OprpRWM= -=W1Jb ------END PGP SIGNATURE----- +MD5 ccaf432074b58217f8f1750228923978 files/digest-sandbox-1.2.7 66 diff --git a/sys-apps/sandbox/files/digest-sandbox-1.2.7 b/sys-apps/sandbox/files/digest-sandbox-1.2.7 new file mode 100644 index 000000000000..6195a423628a --- /dev/null +++ b/sys-apps/sandbox/files/digest-sandbox-1.2.7 @@ -0,0 +1 @@ +MD5 c7f07f1a2a77813c69066cfd80e891cd sandbox-1.2.7.tar.bz2 221950 diff --git a/sys-apps/sandbox/sandbox-1.2.7.ebuild b/sys-apps/sandbox/sandbox-1.2.7.ebuild new file mode 100644 index 000000000000..d7c831076a70 --- /dev/null +++ b/sys-apps/sandbox/sandbox-1.2.7.ebuild @@ -0,0 +1,97 @@ +# 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.7.ebuild,v 1.1 2005/05/12 08:48:12 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" +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 mips ppc ppc-macos ppc64 s390 sh sparc x86" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc-macos ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="" +RESTRICT="multilib-pkg-force" + +DEPEND="virtual/libc" + +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}" + + cd ${S}-${ABI} + dodoc AUTHORS COPYING ChangeLog NEWS README +} |