diff options
Diffstat (limited to 'app-emulation/firejail/firejail-9999.ebuild')
-rw-r--r-- | app-emulation/firejail/firejail-9999.ebuild | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/app-emulation/firejail/firejail-9999.ebuild b/app-emulation/firejail/firejail-9999.ebuild new file mode 100644 index 0000000..7c5c9cb --- /dev/null +++ b/app-emulation/firejail/firejail-9999.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +inherit git-r3 + +DESCRIPTION="a SUID sandbox program using linux namespaces" +HOMEPAGE="https://l3net.wordpress.com/projects/firejail/" + +SRC_URI="" +EGIT_REPO_URI="https://github.com/netblue30/${PN}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="" +IUSE="+bind +chroot +seccomp" + +DEPEND="" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${PN}-${PV/_/-}" + +src_prepare() { + local -a EXTRA_ECONF; + sed \ + -e '/\tstrip/d' \ + -i Makefile.in + sed \ + -e 's#/usr/bin/zsh#/bin/zsh#g' \ + -i \ + src/man/${PN}.txt \ + src/${PN}/usage.c \ + src/${PN}/sandbox.c \ + src/${PN}/main.c +} + +src_configure() { + for flag in ${IUSE}; do + EXTRA_ECONF+=( $(use_enable "${flag/+}") ) + done + EXTRA_ECONF="${EXTRA_ECONF[@]}" + default +} + |