summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVadim A. Misbakh-Soloviov <git@mva.name>2015-08-08 20:59:24 +0600
committerVadim A. Misbakh-Soloviov <git@mva.name>2015-08-08 20:59:24 +0600
commita9b549ab8096227c0a35051f3cd82ebaaece18c2 (patch)
tree42713a71c9540c3d39bc8a5c9efd507db1aff350
parentapp-emulation/xen-tools: fix --disable-docs (diff)
downloadvirtualization-a9b549ab8096227c0a35051f3cd82ebaaece18c2.tar.gz
virtualization-a9b549ab8096227c0a35051f3cd82ebaaece18c2.tar.bz2
virtualization-a9b549ab8096227c0a35051f3cd82ebaaece18c2.zip
app-emulation/firejail (and friends): added
Signed-off-by: Vadim A. Misbakh-Soloviov <git@mva.name>
-rw-r--r--app-emulation/firejail/Manifest1
-rw-r--r--app-emulation/firejail/firejail-0.9.28.ebuild42
-rw-r--r--app-emulation/firetools/Manifest1
-rw-r--r--app-emulation/firetools/firetools-0.9.26.1.ebuild30
-rw-r--r--app-emulation/fjinit/fjinit-9999.ebuild28
5 files changed, 102 insertions, 0 deletions
diff --git a/app-emulation/firejail/Manifest b/app-emulation/firejail/Manifest
new file mode 100644
index 0000000..f3c87d7
--- /dev/null
+++ b/app-emulation/firejail/Manifest
@@ -0,0 +1 @@
+DIST firejail-0.9.28.tar.bz2 137390 SHA256 bd91888aff9abbfce0d2963c7d28bedf4362fd29976ca8ede80c6f59a3ac4cad SHA512 a0c6715cbaf1043f2ea92b33da5884b6ed0993b3e5d03a3edd181b6663a696a2a60a44e0ad39fc9fcfd50d79eb5acb2f0f33452467bf50912f558ec23ebfc125 WHIRLPOOL 84792b384d4e578347a859354d5639be24c3b370c3c6c07d245bbd35b7d6adcac8f5f382e92dec55a3a53cc68ea00fb7071be01aa390b37df5e0768f00efd90e
diff --git a/app-emulation/firejail/firejail-0.9.28.ebuild b/app-emulation/firejail/firejail-0.9.28.ebuild
new file mode 100644
index 0000000..13d511d
--- /dev/null
+++ b/app-emulation/firejail/firejail-0.9.28.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+#inherit
+
+DESCRIPTION="a SUID sandbox program using linux namespaces"
+HOMEPAGE="https://l3net.wordpress.com/projects/firejail/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+bind +chroot +seccomp"
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+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
+}
+
diff --git a/app-emulation/firetools/Manifest b/app-emulation/firetools/Manifest
new file mode 100644
index 0000000..07306f0
--- /dev/null
+++ b/app-emulation/firetools/Manifest
@@ -0,0 +1 @@
+DIST firetools-0.9.26.1.tar.bz2 90516 SHA256 4a15fead967981e3737549f45ad0f358f2170d0ab317b9dd4f05c6a77f97b550 SHA512 c30c61e408b31450947f1cb71cb14bfe712e4b74905ab20ec50c9214f7853bf9cea38d5465c0a9db3dd527f34f4c98ec278c741bcf9d97aea30d6c117cac1dc3 WHIRLPOOL 4f649956669fbe122016d88b78471fa540a3990fbbc2a2f1984fd85e2d135f61400772cdc1a95dbf1793f84434b077952bfb62b88bd83253f46a4dc95653fc55
diff --git a/app-emulation/firetools/firetools-0.9.26.1.ebuild b/app-emulation/firetools/firetools-0.9.26.1.ebuild
new file mode 100644
index 0000000..86cfefa
--- /dev/null
+++ b/app-emulation/firetools/firetools-0.9.26.1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit qt4-r2
+
+DESCRIPTION="Graphical user interface of app-emulation/firejail"
+HOMEPAGE="https://l3net.wordpress.com/projects/firejail"
+SRC_URI="mirror://sourceforge/${PN/tools/jail}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+ app-emulation/firejail
+ dev-qt/qtcore:4
+ dev-qt/qtgui:4
+ x11-terms/xterm
+"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ sed \
+ -e 's/ strip.*;//' \
+ -i Makefile.in
+}
diff --git a/app-emulation/fjinit/fjinit-9999.ebuild b/app-emulation/fjinit/fjinit-9999.ebuild
new file mode 100644
index 0000000..ad40fff
--- /dev/null
+++ b/app-emulation/fjinit/fjinit-9999.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit git-r3
+
+DESCRIPTION="process reaper intended for use as init-system in app-emulation/firejail"
+HOMEPAGE="https://github.com/ScoreUnder/fjinit"
+SRC_URI=""
+EGIT_REPO_URI="https://github.com/ScoreUnder/${PN}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS=""
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ sed -r \
+ -e 's#^(PREFIX).*#\1=/usr#' \
+ -e "s#^(CFLAGS.*)-Os#\1 ${CFLAGS}#" \
+ -e 's#^(LDFLAGS.*)-s#\1#' \
+ -i config.mk
+}