summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmadeusz Żołnowski <aidecoe@gentoo.org>2017-01-27 21:20:52 +0000
committerAmadeusz Żołnowski <aidecoe@gentoo.org>2017-01-27 22:20:13 +0000
commit863ed56415590683d865e86f6c2d94f5f028d107 (patch)
tree5ecf7954b8c868f45593c0e1d0155caf1f572717 /sys-apps/firejail
parentnet-fs/samba: Bump to version 4.6.0_rc2. Removed old. (diff)
downloadgentoo-863ed56415590683d865e86f6c2d94f5f028d107.tar.gz
gentoo-863ed56415590683d865e86f6c2d94f5f028d107.tar.bz2
gentoo-863ed56415590683d865e86f6c2d94f5f028d107.zip
sys-apps/firejail: Bump version
Gentoo-Bug: 607382 Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'sys-apps/firejail')
-rw-r--r--sys-apps/firejail/Manifest1
-rw-r--r--sys-apps/firejail/firejail-0.9.44.8.ebuild44
2 files changed, 45 insertions, 0 deletions
diff --git a/sys-apps/firejail/Manifest b/sys-apps/firejail/Manifest
index 251939e87d9e..578867418e5b 100644
--- a/sys-apps/firejail/Manifest
+++ b/sys-apps/firejail/Manifest
@@ -1 +1,2 @@
DIST firejail-0.9.44.4.tar.xz 213648 SHA256 2d70a2cd554835db0e2eba201c0466e247fbaa2b60c86abd34b9170e0eebc10f SHA512 222567db00fd85f468fff380dbc875b10fe4eb94ff95669e15adc4db55b36208eaef5ceb65bd2d05d79f8f9230552fb0f597fb6b7bf06bb47537321c9c02a3be WHIRLPOOL 8f19f2bda316cca29057d547d9deb357a55db3ffe3ef0ef02f948bd975e2e66f34a91f121363c15b5f6012fb3bde08fa10d2bc90233a14662406effbaff9fe37
+DIST firejail-0.9.44.8.tar.xz 214624 SHA256 b9fe191771db2d19344bfc8b1117c33793f78ae1ba10a76e948bfafd71b10771 SHA512 5dc56e259b18c1bd853d15b44bd266b59f45b8ede7e370ce59bfeff7e390d7f4a1784c1c0986d039e2f8de6329984748c8ed287a4a715e95886607f0fd91fd4f WHIRLPOOL f679f7f9592b27382b3653042d15bdc6c69d7ee95cb87a9dbcf1022b284901cfde26efc572e6d540ce15332418e6f80456dec2e9cc133b8b85815b57707245f1
diff --git a/sys-apps/firejail/firejail-0.9.44.8.ebuild b/sys-apps/firejail/firejail-0.9.44.8.ebuild
new file mode 100644
index 000000000000..a905b9b77f1d
--- /dev/null
+++ b/sys-apps/firejail/firejail-0.9.44.8.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit eutils
+
+DESCRIPTION="Security sandbox for any type of processes"
+HOMEPAGE="https://firejail.wordpress.com/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="apparmor +bind +chroot +file-transfer +network
+ network-restricted +seccomp +userns x11"
+
+DEPEND="!sys-apps/firejail-lts
+ apparmor? ( sys-libs/libapparmor )"
+RDEPEND="${DEPEND}
+ x11? ( x11-wm/xpra[client,server] )"
+
+src_prepare() {
+ default
+ find -name Makefile.in -exec sed -i -r \
+ -e '/CFLAGS/s: (-O2|-ggdb) : :g' \
+ -e '1iCC=@CC@' {} + || die
+}
+
+src_configure() {
+ local myeconfargs=(
+ $(use_enable apparmor)
+ $(use_enable bind)
+ $(use_enable chroot)
+ $(use_enable file-transfer)
+ $(use_enable network)
+ $(use_enable seccomp)
+ $(use_enable userns)
+ $(use_enable x11)
+ )
+ use network-restricted && myeconfargs+=( --enable-network=restricted )
+ econf "${myeconfargs[@]}"
+}