From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- sys-apps/firejail/Manifest | 15 +++++++ sys-apps/firejail/files/0.9.46-contrib-fix.patch | 57 ++++++++++++++++++++++++ sys-apps/firejail/files/0.9.48-contrib-fix.patch | 36 +++++++++++++++ sys-apps/firejail/files/0.9.50-contrib-fix.patch | 36 +++++++++++++++ sys-apps/firejail/firejail-0.9.44.10.ebuild | 46 +++++++++++++++++++ sys-apps/firejail/firejail-0.9.44.8.ebuild | 46 +++++++++++++++++++ sys-apps/firejail/firejail-0.9.46.ebuild | 49 ++++++++++++++++++++ sys-apps/firejail/firejail-0.9.48.ebuild | 49 ++++++++++++++++++++ sys-apps/firejail/firejail-0.9.50.ebuild | 49 ++++++++++++++++++++ sys-apps/firejail/metadata.xml | 39 ++++++++++++++++ 10 files changed, 422 insertions(+) create mode 100644 sys-apps/firejail/Manifest create mode 100644 sys-apps/firejail/files/0.9.46-contrib-fix.patch create mode 100644 sys-apps/firejail/files/0.9.48-contrib-fix.patch create mode 100644 sys-apps/firejail/files/0.9.50-contrib-fix.patch create mode 100644 sys-apps/firejail/firejail-0.9.44.10.ebuild create mode 100644 sys-apps/firejail/firejail-0.9.44.8.ebuild create mode 100644 sys-apps/firejail/firejail-0.9.46.ebuild create mode 100644 sys-apps/firejail/firejail-0.9.48.ebuild create mode 100644 sys-apps/firejail/firejail-0.9.50.ebuild create mode 100644 sys-apps/firejail/metadata.xml (limited to 'sys-apps/firejail') diff --git a/sys-apps/firejail/Manifest b/sys-apps/firejail/Manifest new file mode 100644 index 000000000000..3cfd938933b2 --- /dev/null +++ b/sys-apps/firejail/Manifest @@ -0,0 +1,15 @@ +AUX 0.9.46-contrib-fix.patch 2202 SHA256 f55365d60f8686fbbca7676401fe2552c33a4c844da2eec1596a4929f9fc2239 SHA512 3dd190d7c1551745b9ae980c759659b4f2cf070af4f005c75a550ef6bee9af4b5dee8d612d347619457f6ebaccd1af7a0c6f7e6cb2c0d18a773deef19bf1df77 WHIRLPOOL 4aa4caecbea43d61021f22708d766a285d39aa7ac9bf05a0f8eedb27d2f3356cc2f83744e83e44ddbbb813c4a0afb6558441628cb23b489b916762c30fe2f9a7 +AUX 0.9.48-contrib-fix.patch 1446 SHA256 3d0be28c6cddbf94510c2f64ff8178e37c962e001feeff49098c48ce9b61da31 SHA512 04c88fbaa37c677efef1805c6b0bca6d87742acf5c80b047844e776e51c02c8803d2588a5dde74817b0cbbf6ce9d239ca39a823df1928ef36f232b403fb41889 WHIRLPOOL 4caed8db77b439f4453287f15ef131fc4c1aab88fb1aac0ee2767539a17a4ec54c2504813dfa17a9d5793248f0a740af3567fb926a67b43f5c7bf2dbf70c49de +AUX 0.9.50-contrib-fix.patch 1446 SHA256 3d0be28c6cddbf94510c2f64ff8178e37c962e001feeff49098c48ce9b61da31 SHA512 04c88fbaa37c677efef1805c6b0bca6d87742acf5c80b047844e776e51c02c8803d2588a5dde74817b0cbbf6ce9d239ca39a823df1928ef36f232b403fb41889 WHIRLPOOL 4caed8db77b439f4453287f15ef131fc4c1aab88fb1aac0ee2767539a17a4ec54c2504813dfa17a9d5793248f0a740af3567fb926a67b43f5c7bf2dbf70c49de +DIST firejail-0.9.44.10.tar.xz 216216 SHA256 b21e264a0cbe14b09f8220e79066b1791fd8f2d5a8ceca1e669a7152e0b094a7 SHA512 d9d259c25964eeea87311353a4488e56d1bd65c024aa79f5f2493100f58de4904e081db42132e8d190a05a105fb51dba1d0ac174bf786dc3ec43f356380b3fa6 WHIRLPOOL 34c8beac00a706ed3aea6429f4297421716e473460a9079b2ab9d5796e8ee5e560e5359202ec14beab0f470a076b635513b1082a07dac0f579e86a8113b3a8ee +DIST firejail-0.9.44.8.tar.xz 214624 SHA256 b9fe191771db2d19344bfc8b1117c33793f78ae1ba10a76e948bfafd71b10771 SHA512 5dc56e259b18c1bd853d15b44bd266b59f45b8ede7e370ce59bfeff7e390d7f4a1784c1c0986d039e2f8de6329984748c8ed287a4a715e95886607f0fd91fd4f WHIRLPOOL f679f7f9592b27382b3653042d15bdc6c69d7ee95cb87a9dbcf1022b284901cfde26efc572e6d540ce15332418e6f80456dec2e9cc133b8b85815b57707245f1 +DIST firejail-0.9.46.tar.xz 254748 SHA256 82f5691de90f8652b78803b6a5d8b93e749e107a86fd03518f5a3e2cdbd17b1d SHA512 839f3d6146129ceb9e9a613a51ce76d1d0a8a9ccab85c807bb0e71354b5c25fbc2a76e1004400bba8b70434dd886bc67250a2fe0b0eaa7d1ee65f6472bc9f786 WHIRLPOOL 18e493370072acb71c37ef7dd8ea4d1cdbf102fbf2e91e03519b5e92e1279be733560300294aa353e2ba34f5b9b4e495e973ed5e77b7673e562dfe674c8bd314 +DIST firejail-0.9.48.tar.xz 257592 SHA256 637da4221ff91c351020de15ef07a7b4f72bc015255be74cbbeb898bba254709 SHA512 63d2d8a6e6b3f505c88b132a3528ec5211ca5325e53ad1878b25bfb7d679b63af769443b464375a96ea5278b0edca98bd295256072dfa2e1a9d3ba829579b0b7 WHIRLPOOL 312fb58914a7613e169f1b580f35cd912800c70623faa27cc4216b9198d0e79a65d36b35d67867936e64081a0fa1913951cccf121fc46600a08c1d393d707737 +DIST firejail-0.9.50.tar.xz 279488 SHA256 c15475b7ec8b42ee8707f03207bef9ba92d801fc61fd8d1e0f8cfc03833bb800 SHA512 766fe8a0c65ddc717759f0ea54a4fe72213f43ecf241c385e484eb7e47bebd5896976998c76e6a5ef9c153d4007c2a01e9d942cc9f352c4b085fb02fe708a87d WHIRLPOOL 15df41a85664b160f053b539c27771a6723f1ea2cd67c21b2d393e9776cd713dc1243c0ab4459d0c4d08827241d726ff079d57d0899d0f53ad2ec3316a59dbc3 +EBUILD firejail-0.9.44.10.ebuild 1068 SHA256 f6f7d4f82ef9a9dd6dfbcf51c69996fb04621bf0c8372230d34447b67a9a1429 SHA512 792a626b1396b09e07aee96b24efd0c7833d7909d81fb6c4efb1ba0a7aeea0ce68026befa359ef833ad36d9cc0cbed2896fdb7a3636eb2aa43c05e43bc702a59 WHIRLPOOL 6f3da751adf11300a7c72ccbdcd6bd8cb9ee7af1973523dd9654e3508de98f9f4ccdb48618c15ee01308519d2b5854f8b7b4f957cbd425cc3ba350a8aa8e4ad0 +EBUILD firejail-0.9.44.8.ebuild 1067 SHA256 ac87f0b122e42b4119d3739e23cf180091b0196f76ac65e9fb7116fdf569ca78 SHA512 1bc76ebac0d3f577f816ca12e63f147e91669f0687c9b2555bae500d107aa71f14ef7d3cc0156a57a66ca67444d8e5b537dd0e83cec2959727fbadc9be206404 WHIRLPOOL f078439171b46765a781c81cf11996492579d1e48865deb6cf543e6e8855533d6023f920c879aa95aeecde9a4002a5a8a9681d90389a1e94bd437c30705e034d +EBUILD firejail-0.9.46.ebuild 1167 SHA256 7e2561bb148174efc5e2d1c85964e74fd811bd560f2f761fe2ee26fba89b434a SHA512 d1e8dbf1929a17f297cb6b940d9c4c8fbc9c16218ecc1347969059c861a65299919788509720555ff1a76257028d77dc9e0c7dc3f93e013668e7ab95add40f9d WHIRLPOOL 841baf7f85d49e30a1a10696217a67c766ef25c1362885f8c8df5b6b4a8fa8e8b394507dd88331c7257df201e249a595f34a8f42d53a682c5741637246cad8d3 +EBUILD firejail-0.9.48.ebuild 1167 SHA256 7e2561bb148174efc5e2d1c85964e74fd811bd560f2f761fe2ee26fba89b434a SHA512 d1e8dbf1929a17f297cb6b940d9c4c8fbc9c16218ecc1347969059c861a65299919788509720555ff1a76257028d77dc9e0c7dc3f93e013668e7ab95add40f9d WHIRLPOOL 841baf7f85d49e30a1a10696217a67c766ef25c1362885f8c8df5b6b4a8fa8e8b394507dd88331c7257df201e249a595f34a8f42d53a682c5741637246cad8d3 +EBUILD firejail-0.9.50.ebuild 1167 SHA256 7e2561bb148174efc5e2d1c85964e74fd811bd560f2f761fe2ee26fba89b434a SHA512 d1e8dbf1929a17f297cb6b940d9c4c8fbc9c16218ecc1347969059c861a65299919788509720555ff1a76257028d77dc9e0c7dc3f93e013668e7ab95add40f9d WHIRLPOOL 841baf7f85d49e30a1a10696217a67c766ef25c1362885f8c8df5b6b4a8fa8e8b394507dd88331c7257df201e249a595f34a8f42d53a682c5741637246cad8d3 +MISC ChangeLog 8182 SHA256 6b73b0316c135fceca569336c4cb24c457b9c6e4b9a5cf54445f0af99adb8521 SHA512 bf4711d9273dbc894a7884c1a6bd6d434109bd1efd9df0d41c55dbff0b1603feabff07bb1fb19883b2e205256cf9b8f32bb46b5e271980335513afe09c29f4da WHIRLPOOL 7efe16bcde43b056689294752e9bce9c9384cef7b1dd3fea23c0d14ead695979d956c5c91c6d7af16532d198e282124d2fe7a2a64054042f756969c902810eb2 +MISC metadata.xml 1627 SHA256 5105e917e9bb184dbde51a84adacee6d46eed2e8c88159f9113fa3b266e803f6 SHA512 081d4f02dafd4c82aca839117c52b744ba50d3816b2ee01916c8f5fe60ae914717c7d3a36cdd0d064f3bc2ae1d4a7fa75e946536fce509c6aac37c84832ef946 WHIRLPOOL 1882be7d6816578d16a0af79483091165cd0f78abbe13f58a3a5b7dbbf1b85dadbaacfc0bba5f9a697e455bfde462c8a87093ee22b5c5412471781b9a41e725d diff --git a/sys-apps/firejail/files/0.9.46-contrib-fix.patch b/sys-apps/firejail/files/0.9.46-contrib-fix.patch new file mode 100644 index 000000000000..fc882b4dc6e6 --- /dev/null +++ b/sys-apps/firejail/files/0.9.46-contrib-fix.patch @@ -0,0 +1,57 @@ +diff -Naur firejail-0.9.46/contrib/fix_private-bin.py firejail-0.9.46.new/contrib/fix_private-bin.py +--- firejail-0.9.46/contrib/fix_private-bin.py 2017-05-13 14:44:54.000000000 +0100 ++++ firejail-0.9.46.new/contrib/fix_private-bin.py 2017-05-29 15:25:56.355489307 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/python3 ++#!/usr/bin/env python3 + + __author__ = "KOLANICH" + __copyright__ = """This is free and unencumbered software released into the public domain. +diff -Naur firejail-0.9.46/contrib/fjclip.py firejail-0.9.46.new/contrib/fjclip.py +--- firejail-0.9.46/contrib/fjclip.py 2017-05-13 14:44:54.000000000 +0100 ++++ firejail-0.9.46.new/contrib/fjclip.py 2017-05-29 15:25:39.463236203 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python2 + + import re + import sys +@@ -32,4 +32,4 @@ + else: + display = fjdisplay.getdisplay(sys.argv[2]) + clipout = subprocess.Popen(['xsel','-b','-i','--display',display],stdin=subprocess.PIPE) +- clipout.communicate(clipin) +\ Brak znaku nowej linii na końcu pliku ++ clipout.communicate(clipin) +diff -Naur firejail-0.9.46/contrib/fjdisplay.py firejail-0.9.46.new/contrib/fjdisplay.py +--- firejail-0.9.46/contrib/fjdisplay.py 2017-05-13 14:44:54.000000000 +0100 ++++ firejail-0.9.46.new/contrib/fjdisplay.py 2017-05-29 15:25:47.191351983 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python2 + + import re + import sys +@@ -40,4 +40,4 @@ + if len(sys.argv) == 1: + print(getfirejails()) + if len(sys.argv) == 2: +- print (getdisplay(sys.argv[1])) +\ Brak znaku nowej linii na końcu pliku ++ print (getdisplay(sys.argv[1])) +diff -Naur firejail-0.9.46/contrib/fjresize.py firejail-0.9.46.new/contrib/fjresize.py +--- firejail-0.9.46/contrib/fjresize.py 2017-05-13 14:44:54.000000000 +0100 ++++ firejail-0.9.46.new/contrib/fjresize.py 2017-05-29 15:26:03.728599816 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python2 + + import sys + import fjdisplay +@@ -22,4 +22,4 @@ + out = subprocess.check_output(['xrandr','--display',fjdisplay.getdisplay(sys.argv[1]),'--output','default','--mode',sys.argv[2]]) + print(out) + else: +- print(usage) +\ Brak znaku nowej linii na końcu pliku ++ print(usage) diff --git a/sys-apps/firejail/files/0.9.48-contrib-fix.patch b/sys-apps/firejail/files/0.9.48-contrib-fix.patch new file mode 100644 index 000000000000..7192bba34807 --- /dev/null +++ b/sys-apps/firejail/files/0.9.48-contrib-fix.patch @@ -0,0 +1,36 @@ +diff -Naur firejail-0.9.48/contrib/fix_private-bin.py firejail-0.9.48.new/contrib/fix_private-bin.py +--- firejail-0.9.48/contrib/fix_private-bin.py 2017-05-24 23:01:32.000000000 +0100 ++++ firejail-0.9.48.new/contrib/fix_private-bin.py 2017-08-27 23:19:52.868481040 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/python3 ++#!/usr/bin/env python3 + + __author__ = "KOLANICH" + __copyright__ = """This is free and unencumbered software released into the public domain. +diff -Naur firejail-0.9.48/contrib/fjclip.py firejail-0.9.48.new/contrib/fjclip.py +--- firejail-0.9.48/contrib/fjclip.py 2017-05-24 23:01:32.000000000 +0100 ++++ firejail-0.9.48.new/contrib/fjclip.py 2017-08-27 23:19:58.476562539 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python2 + + import re + import sys +diff -Naur firejail-0.9.48/contrib/fjdisplay.py firejail-0.9.48.new/contrib/fjdisplay.py +--- firejail-0.9.48/contrib/fjdisplay.py 2017-05-24 23:01:32.000000000 +0100 ++++ firejail-0.9.48.new/contrib/fjdisplay.py 2017-08-27 23:20:01.932612762 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python2 + + import re + import sys +diff -Naur firejail-0.9.48/contrib/fjresize.py firejail-0.9.48.new/contrib/fjresize.py +--- firejail-0.9.48/contrib/fjresize.py 2017-05-24 23:01:32.000000000 +0100 ++++ firejail-0.9.48.new/contrib/fjresize.py 2017-08-27 23:20:06.932685422 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python2 + + import sys + import fjdisplay diff --git a/sys-apps/firejail/files/0.9.50-contrib-fix.patch b/sys-apps/firejail/files/0.9.50-contrib-fix.patch new file mode 100644 index 000000000000..7192bba34807 --- /dev/null +++ b/sys-apps/firejail/files/0.9.50-contrib-fix.patch @@ -0,0 +1,36 @@ +diff -Naur firejail-0.9.48/contrib/fix_private-bin.py firejail-0.9.48.new/contrib/fix_private-bin.py +--- firejail-0.9.48/contrib/fix_private-bin.py 2017-05-24 23:01:32.000000000 +0100 ++++ firejail-0.9.48.new/contrib/fix_private-bin.py 2017-08-27 23:19:52.868481040 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/python3 ++#!/usr/bin/env python3 + + __author__ = "KOLANICH" + __copyright__ = """This is free and unencumbered software released into the public domain. +diff -Naur firejail-0.9.48/contrib/fjclip.py firejail-0.9.48.new/contrib/fjclip.py +--- firejail-0.9.48/contrib/fjclip.py 2017-05-24 23:01:32.000000000 +0100 ++++ firejail-0.9.48.new/contrib/fjclip.py 2017-08-27 23:19:58.476562539 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python2 + + import re + import sys +diff -Naur firejail-0.9.48/contrib/fjdisplay.py firejail-0.9.48.new/contrib/fjdisplay.py +--- firejail-0.9.48/contrib/fjdisplay.py 2017-05-24 23:01:32.000000000 +0100 ++++ firejail-0.9.48.new/contrib/fjdisplay.py 2017-08-27 23:20:01.932612762 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python2 + + import re + import sys +diff -Naur firejail-0.9.48/contrib/fjresize.py firejail-0.9.48.new/contrib/fjresize.py +--- firejail-0.9.48/contrib/fjresize.py 2017-05-24 23:01:32.000000000 +0100 ++++ firejail-0.9.48.new/contrib/fjresize.py 2017-08-27 23:20:06.932685422 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python2 + + import sys + import fjdisplay diff --git a/sys-apps/firejail/firejail-0.9.44.10.ebuild b/sys-apps/firejail/firejail-0.9.44.10.ebuild new file mode 100644 index 000000000000..d0e5f64691c2 --- /dev/null +++ b/sys-apps/firejail/firejail-0.9.44.10.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2017 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" +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] )" + +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 file-transfer) + $(use_enable network) + $(use_enable seccomp) + $(use_enable userns) + $(use_enable x11) + ) + use network-restricted && myeconfargs+=( --enable-network=restricted ) + econf "${myeconfargs[@]}" +} 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..6852bac413cc --- /dev/null +++ b/sys-apps/firejail/firejail-0.9.44.8.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2017 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" +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] )" + +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 file-transfer) + $(use_enable network) + $(use_enable seccomp) + $(use_enable userns) + $(use_enable x11) + ) + use network-restricted && myeconfargs+=( --enable-network=restricted ) + econf "${myeconfargs[@]}" +} diff --git a/sys-apps/firejail/firejail-0.9.46.ebuild b/sys-apps/firejail/firejail-0.9.46.ebuild new file mode 100644 index 000000000000..e1943e7842a7 --- /dev/null +++ b/sys-apps/firejail/firejail-0.9.46.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2017 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" +IUSE="apparmor +bind +chroot contrib +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] )" + +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 userns) + $(use_enable x11) + ) + use network-restricted && myeconfargs+=( --enable-network=restricted ) + econf "${myeconfargs[@]}" +} diff --git a/sys-apps/firejail/firejail-0.9.48.ebuild b/sys-apps/firejail/firejail-0.9.48.ebuild new file mode 100644 index 000000000000..e1943e7842a7 --- /dev/null +++ b/sys-apps/firejail/firejail-0.9.48.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2017 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" +IUSE="apparmor +bind +chroot contrib +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] )" + +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 userns) + $(use_enable x11) + ) + use network-restricted && myeconfargs+=( --enable-network=restricted ) + econf "${myeconfargs[@]}" +} diff --git a/sys-apps/firejail/firejail-0.9.50.ebuild b/sys-apps/firejail/firejail-0.9.50.ebuild new file mode 100644 index 000000000000..e1943e7842a7 --- /dev/null +++ b/sys-apps/firejail/firejail-0.9.50.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2017 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" +IUSE="apparmor +bind +chroot contrib +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] )" + +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 userns) + $(use_enable x11) + ) + use network-restricted && myeconfargs+=( --enable-network=restricted ) + econf "${myeconfargs[@]}" +} diff --git a/sys-apps/firejail/metadata.xml b/sys-apps/firejail/metadata.xml new file mode 100644 index 000000000000..395160fe3935 --- /dev/null +++ b/sys-apps/firejail/metadata.xml @@ -0,0 +1,39 @@ + + + + + aidecoe@gentoo.org + Amadeusz Żołnowski + + + Firejail is a SUID program that reduces the risk of security breaches + by restricting the running environment of untrusted applications using + Linux namespaces and seccomp-bpf. It allows a process and all its + descendants to have their own private view of the globally shared + kernel resources, such as the network stack, process table, mount + table. + + This is bleeding edge branch. For long term support version see + sys-apps/firejail-lts. + + + firejail + + + Enable support for custom AppArmor + profiles + Enable custom bind mounts + Enable chrooting to custom directory + Install contrib scripts + Enable file transfers between sandboxes and + the host system + Enable networking features + Grant access to --interface, + --net=ethXXX and --netfilter only to root user; regular users are + only allowed --net=none + Enable system call filtering + Enable attaching a new user namespace to a + sandbox (--noroot option) + Enable X11 sandboxing + + -- cgit v1.2.3