diff options
author | Martin Schlemmer <azarah@gentoo.org> | 2005-05-10 07:20:07 +0000 |
---|---|---|
committer | Martin Schlemmer <azarah@gentoo.org> | 2005-05-10 07:20:07 +0000 |
commit | 509c3c88e616e4e3ad3ec122874ef47ca4ef5500 (patch) | |
tree | 0ec0cfce4a54e4c57038b7ac75f8e5b95947a60c /sys-apps/sandbox | |
parent | version bump (diff) | |
download | historical-509c3c88e616e4e3ad3ec122874ef47ca4ef5500.tar.gz historical-509c3c88e616e4e3ad3ec122874ef47ca4ef5500.tar.bz2 historical-509c3c88e616e4e3ad3ec122874ef47ca4ef5500.zip |
Workaround for tsocks incompatability, bug #91541.
Package-Manager: portage-2.0.51.21-r1
Diffstat (limited to 'sys-apps/sandbox')
-rw-r--r-- | sys-apps/sandbox/ChangeLog | 7 | ||||
-rw-r--r-- | sys-apps/sandbox/Manifest | 18 | ||||
-rw-r--r-- | sys-apps/sandbox/files/digest-sandbox-1.2.6 | 1 | ||||
-rw-r--r-- | sys-apps/sandbox/sandbox-1.2.6.ebuild | 94 |
4 files changed, 111 insertions, 9 deletions
diff --git a/sys-apps/sandbox/ChangeLog b/sys-apps/sandbox/ChangeLog index f9c62923e1fa..6950501cfde7 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.13 2005/05/09 19:36:30 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/sandbox/ChangeLog,v 1.14 2005/05/10 07:20:07 azarah Exp $ + +*sandbox-1.2.6 (10 May 2005) + + 10 May 2005; Martin Schlemmer <azarah@gentoo.org> +sandbox-1.2.6.ebuild: + Workaround for tsocks incompatability, bug #91541. *sandbox-1.2.5-r2 (09 May 2005) diff --git a/sys-apps/sandbox/Manifest b/sys-apps/sandbox/Manifest index 73658622d81a..94447e370298 100644 --- a/sys-apps/sandbox/Manifest +++ b/sys-apps/sandbox/Manifest @@ -1,24 +1,26 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -MD5 2935867762d4c0de1a9eb9c510507744 ChangeLog 2195 +MD5 813090e50aa8df7b117346e9ce749664 ChangeLog 2350 MD5 968e2965b0b6f620634dae6d28d8b4c4 metadata.xml 455 MD5 7ed1125d24e2a98b0832f84d9ab637da sandbox-1.2.4.ebuild 2145 -MD5 3c85f7c72e45afadde1025fc0ef3a205 sandbox-1.2.2.ebuild 2235 -MD5 734eba450db4538f0e38ee876d28dacc sandbox-1.2.3.ebuild 2145 MD5 2dbe688eca05e86a1b4679ede08c45cf sandbox-1.2.5.ebuild 2775 MD5 5f5ad8d4355969da6386462432bcd03c sandbox-1.2.5-r1.ebuild 2316 MD5 19fba09c21526e30a880859a8987c3e3 sandbox-1.2.5-r2.ebuild 2481 -MD5 fb651b249c3214a6d0fa321e1d419e07 files/digest-sandbox-1.2.2 66 -MD5 bf2c5f346fcc11659401c9240b1b8db9 files/digest-sandbox-1.2.3 66 +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 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 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) -iD8DBQFCf7vYArHZZzCEUG0RAm50AJsHGSt8DW+YBCaBr3YTdwc6DBpddwCePF43 -QBHLhYfBahTMKlrg41qETY8= -=M0pX +iD8DBQFCgGH21ZcsMnZjRyIRAtGrAJ9ju+tn8n7OuOwNSFqbaJMq+P129QCfYtNs +iH8DAffG7ROtOOU7OprpRWM= +=W1Jb -----END PGP SIGNATURE----- diff --git a/sys-apps/sandbox/files/digest-sandbox-1.2.6 b/sys-apps/sandbox/files/digest-sandbox-1.2.6 new file mode 100644 index 000000000000..73c6b1f282c9 --- /dev/null +++ b/sys-apps/sandbox/files/digest-sandbox-1.2.6 @@ -0,0 +1 @@ +MD5 bd91a87a6d4efcc42948560968693112 sandbox-1.2.6.tar.bz2 222601 diff --git a/sys-apps/sandbox/sandbox-1.2.6.ebuild b/sys-apps/sandbox/sandbox-1.2.6.ebuild new file mode 100644 index 000000000000..3d0b8c2b5ddf --- /dev/null +++ b/sys-apps/sandbox/sandbox-1.2.6.ebuild @@ -0,0 +1,94 @@ +# 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.6.ebuild,v 1.1 2005/05/10 07:20: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" +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}" +} |