diff options
author | Amadeusz Żołnowski <aidecoe@gentoo.org> | 2018-08-15 23:19:07 +0100 |
---|---|---|
committer | Amadeusz Żołnowski <aidecoe@gentoo.org> | 2018-08-15 23:19:29 +0100 |
commit | 53e2adcdae66c154ac662c593c36fb1db04933af (patch) | |
tree | ba9346e00578ca149a7eebb129c2abc50ed9b0bc /sys-apps/firejail/firejail-0.9.54.ebuild | |
parent | dev-db/clickhouse: version bump to 18.10.3 (diff) | |
download | gentoo-53e2adcdae66c154ac662c593c36fb1db04933af.tar.gz gentoo-53e2adcdae66c154ac662c593c36fb1db04933af.tar.bz2 gentoo-53e2adcdae66c154ac662c593c36fb1db04933af.zip |
sys-apps/firejail: Bump version
Diffstat (limited to 'sys-apps/firejail/firejail-0.9.54.ebuild')
-rw-r--r-- | sys-apps/firejail/firejail-0.9.54.ebuild | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/sys-apps/firejail/firejail-0.9.54.ebuild b/sys-apps/firejail/firejail-0.9.54.ebuild new file mode 100644 index 000000000000..0a32135c4611 --- /dev/null +++ b/sys-apps/firejail/firejail-0.9.54.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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 ~x86" +IUSE="apparmor +bind +chroot contrib +file-transfer +network + network-restricted +seccomp suid +userns x11" + +DEPEND="!sys-apps/firejail-lts + apparmor? ( sys-libs/libapparmor )" +RDEPEND="${DEPEND} + x11? ( x11-wm/xpra[client,server] )" + +PATCHES=( "${FILESDIR}/${PV}-contrib-fix.patch" ) + +RESTRICT=test + +src_prepare() { + default + find -name Makefile.in -exec sed -i -r \ + -e '/^\tinstall .*COPYING /d' \ + -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 contrib contrib-install) + $(use_enable file-transfer) + $(use_enable network) + $(use_enable seccomp) + $(use_enable suid) + $(use_enable userns) + $(use_enable x11) + ) + use network-restricted && myeconfargs+=( --enable-network=restricted ) + econf "${myeconfargs[@]}" +} |