diff options
Diffstat (limited to 'app-shells/soapbox')
-rw-r--r-- | app-shells/soapbox/Manifest | 5 | ||||
-rw-r--r-- | app-shells/soapbox/metadata.xml | 5 | ||||
-rw-r--r-- | app-shells/soapbox/soapbox-0.3.1-r2.ebuild | 40 |
3 files changed, 50 insertions, 0 deletions
diff --git a/app-shells/soapbox/Manifest b/app-shells/soapbox/Manifest new file mode 100644 index 000000000000..5173d3ca31a3 --- /dev/null +++ b/app-shells/soapbox/Manifest @@ -0,0 +1,5 @@ +DIST soapbox-0.3.1.tar.bz2 19947 SHA256 fdea8f2e9dc2bff885cfebf60ff95e23fd89442fdbc2cd3b10443c2b21b1f33c SHA512 c74420e6ea7e088347c897c275095fce5ecd093af9eb7f95ece4959d174fcc79e600704b6116ba9f36534fc8139dee70393db33ab22cd8f870cd77c449e2f430 WHIRLPOOL 4d33aac3682d9a483aae0ba43f6847a6e445fb7d915f9c3af9792222f7baeec12df07fb89aa7ba09120c7e9ad538cfbc10771d4d269ca1883ecaff862e2165d2 +EBUILD soapbox-0.3.1-r2.ebuild 916 SHA256 6167fec296bd35e60b1b1968acb3751c61ee81c952bbddd2194044c2319c71f5 SHA512 5392a486acd31086357b3ebb1ac5cbdc616a0c0041341094e4bfb910293ba3a82fe4938c2c8256f012b8b2e094c9b7026a6d39191c0106e7af96d0487ab631d8 WHIRLPOOL 5205ecd201e1dfd6f134c8e294ae79c4cb769c5f2fbbde65cb682e6595aeb417b1018544b7c84eb33efa1c68565804d3f71c76093fdb650d9abe72ef13e4dd29 +MISC ChangeLog 3252 SHA256 53bc2f857b8e7c78e30ef263c7fb136a4cb87c64806b94e20f3619dd75c32f3b SHA512 cb604abee1db3e6af7f569f0ed386f787fd9d3e5c3742c23c5e3f6fb05eff321ff5b61776f248d3d4df57a158fc051b733032f756b865b9a508ab6b190a3684e WHIRLPOOL bdb519943856b30021af28a8b7bc794ccdda8bd18e032f8486b56e584ab4b4a284344e5014fd03e2b49f45caa36c64583af6f74b69ac09df9d5afc04479c22dc +MISC ChangeLog-2015 912 SHA256 ddcdaf8cf5fe07d209a5f41ac3cf9f44c32d0f9c595fd377e65eba48a8abca54 SHA512 13adecad0a336cb28a407b05c8d273a7e5b22edcf0bd2ceba800924f94fa85bd15020de72cb81cfc058d91e432871d0cecaa447fbace2637047acefba7000b5e WHIRLPOOL f764525673b7cff82eba421711851fdef5c863564a6f3f2937e823339410884bbf8286276ad699b42e49ff90e2e652084e8089467cd3a5858446c7e1576fb8ca +MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968 diff --git a/app-shells/soapbox/metadata.xml b/app-shells/soapbox/metadata.xml new file mode 100644 index 000000000000..6f49eba8f496 --- /dev/null +++ b/app-shells/soapbox/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<!-- maintainer-needed --> +</pkgmetadata> diff --git a/app-shells/soapbox/soapbox-0.3.1-r2.ebuild b/app-shells/soapbox/soapbox-0.3.1-r2.ebuild new file mode 100644 index 000000000000..c6bf86aec9bd --- /dev/null +++ b/app-shells/soapbox/soapbox-0.3.1-r2.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +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 ~ppc ~ppc64" +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 +} |