summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-shells/soapbox/ChangeLog10
-rw-r--r--app-shells/soapbox/Manifest3
-rw-r--r--app-shells/soapbox/soapbox-0.3.1-r1.ebuild41
3 files changed, 51 insertions, 3 deletions
diff --git a/app-shells/soapbox/ChangeLog b/app-shells/soapbox/ChangeLog
index 225a9b0d3439..5393ba2978ff 100644
--- a/app-shells/soapbox/ChangeLog
+++ b/app-shells/soapbox/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-shells/soapbox
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-shells/soapbox/ChangeLog,v 1.4 2008/12/30 20:51:13 angelos Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-shells/soapbox/ChangeLog,v 1.5 2010/09/28 18:54:58 jer Exp $
+
+*soapbox-0.3.1-r1 (28 Sep 2010)
+
+ 28 Sep 2010; Jeroen Roovers <jer@gentoo.org> +soapbox-0.3.1-r1.ebuild:
+ Respect LDFLAGS (bug #336834). Fix version in soapbox.sh. Remove empty
+ DEPEND.
30 Dec 2008; Christoph Mende <angelos@gentoo.org> soapbox-0.3.1.ebuild:
QA: Respect CC (bug 243708)
diff --git a/app-shells/soapbox/Manifest b/app-shells/soapbox/Manifest
index 72708633c74a..ed4307948522 100644
--- a/app-shells/soapbox/Manifest
+++ b/app-shells/soapbox/Manifest
@@ -1,4 +1,5 @@
DIST soapbox-0.3.1.tar.bz2 19947 RMD160 4e421515135ca074fcac57059eb53f59b7680af8 SHA1 af4befb592044a5064be547d221a21089c25e210 SHA256 fdea8f2e9dc2bff885cfebf60ff95e23fd89442fdbc2cd3b10443c2b21b1f33c
+EBUILD soapbox-0.3.1-r1.ebuild 1020 RMD160 43513e461df451801856d6f376a25466ded26a00 SHA1 afe93dbf6050828960fa898e17a2b52c905b8806 SHA256 6a8d24b0a4ce9779d8b4a4f6d0b2dc74c5ed6555e677c6760212503710570384
EBUILD soapbox-0.3.1.ebuild 924 RMD160 8a6a4603d73316d226650d255233b190e329ec9f SHA1 c75250aa8ec666964da220edcc1a24b4dc1557eb SHA256 8cc5e9db91441848d718f9aba349d0fd0387d2f7bcad06cc434d878974fbace5
-MISC ChangeLog 640 RMD160 722434fef11ff2deebb8de6364fac8c5aab65cbf SHA1 abba6f266803a066f263d57f3558183d11946d40 SHA256 30f72d280573f817300ce095cc2138d367a0a4629b3b0e6b01991636fa2f7ca8
+MISC ChangeLog 826 RMD160 9475d75fd0cd1f32f221ad5fe60082258b746da8 SHA1 fb4317f608d3267e826c3292878fde5ca7a4f21d SHA256 ec8a532bc449762c0411cb7a9356fc762e07fb62d13cb8ef62855fc2890ed710
MISC metadata.xml 231 RMD160 c13056229989c3d4f448a7c7abcff3f4ee7ce13c SHA1 2d63dfb700b223f8f37c078692a81b2237896bce SHA256 4595c2615fd7c9095517949b1a920d4457f92801eb9d46307b18aafe58ec2a8a
diff --git a/app-shells/soapbox/soapbox-0.3.1-r1.ebuild b/app-shells/soapbox/soapbox-0.3.1-r1.ebuild
new file mode 100644
index 000000000000..5b5898b0bbbb
--- /dev/null
+++ b/app-shells/soapbox/soapbox-0.3.1-r1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-shells/soapbox/soapbox-0.3.1-r1.ebuild,v 1.1 2010/09/28 18:54:58 jer Exp $
+
+EAPI="2"
+
+inherit multilib toolchain-funcs
+
+DESCRIPTION="A preload (sandbox) library to restrict filesystem writes"
+HOMEPAGE="http://dag.wieers.com/home-made/soapbox/"
+SRC_URI="http://dag.wieers.com/home-made/soapbox/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+src_prepare() {
+ sed -i soapbox.sh \
+ -e "s|0.3.0|${PV}|g" \
+ -e "s:/lib:/usr/$(get_libdir):" \
+ || die "sed soapbox.sh"
+ sed -i Makefile \
+ -e 's|$(CFLAGS)|& $(LDFLAGS)|g' \
+ || die "sed Makefile"
+}
+
+src_compile() {
+ emake \
+ CC="$(tc-getCC)" \
+ LD="$(tc-getCC)" \
+ CFLAGS="${CFLAGS} -fPIC" \
+ LDFLAGS="${LDFLAGS}" \
+ || die "emake failed"
+}
+
+src_install() {
+ dolib.so libsoapbox.so || die "soapsox.so"
+ newbin soapbox.sh soapbox || die "soapbox"
+ dodoc AUTHORS BUGS ChangeLog README THANKS TODO
+}