1 |
commit: f3df93a1f27a2fbbf5ac363edb1b439c04769135 |
2 |
Author: Piotr Karbowski <slashbeast <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Aug 23 20:52:54 2021 +0000 |
4 |
Commit: Piotr Karbowski <slashbeast <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Aug 23 20:52:54 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3df93a1 |
7 |
|
8 |
sys-apps/bubblewrap: 0.5.0 version bump |
9 |
|
10 |
Signed-off-by: Piotr Karbowski <slashbeast <AT> gentoo.org> |
11 |
|
12 |
sys-apps/bubblewrap/Manifest | 1 + |
13 |
sys-apps/bubblewrap/bubblewrap-0.5.0.ebuild | 46 +++++++++++++++++++++++++++++ |
14 |
2 files changed, 47 insertions(+) |
15 |
|
16 |
diff --git a/sys-apps/bubblewrap/Manifest b/sys-apps/bubblewrap/Manifest |
17 |
index 7be60f2b870..7c9c4f4eed7 100644 |
18 |
--- a/sys-apps/bubblewrap/Manifest |
19 |
+++ b/sys-apps/bubblewrap/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST bubblewrap-0.4.1.tar.xz 214496 BLAKE2B bdbff50cc4e28c91d83c814df7f2ee15702962d26a9316bd841b1e63bf5976c4549c88e20869e8cc236a8a0c9a065518f945c356fa7a058f8831f5b1e9d4eb0d SHA512 0ff46dc0fda2d0cffbb36cc52ff43951b30cbd835a42cc56806acbbbd827796bfadbb1cfafc84d6b47a72c031ca44abe1c377acc0cc25fe3b33e854f5f687d35 |
22 |
+DIST bubblewrap-0.5.0.tar.xz 137796 BLAKE2B 36aef94335d61ae55076a0a94cd6f2c335a87f8df9900c0c603c7ee870cf84c617a0c2ad99a5979cc1dd22740d652155fa6049e717eb210c9a83afe516daa107 SHA512 b1f5bde9562bf3176c51fdc22304b901e00e1de5189d9b5479aed7b651b84bed5539fc5bb3b1db58a05da4a57d69c9f41c40e15aa5a575746630e015674a02b7 |
23 |
|
24 |
diff --git a/sys-apps/bubblewrap/bubblewrap-0.5.0.ebuild b/sys-apps/bubblewrap/bubblewrap-0.5.0.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..3066ed7e130 |
27 |
--- /dev/null |
28 |
+++ b/sys-apps/bubblewrap/bubblewrap-0.5.0.ebuild |
29 |
@@ -0,0 +1,46 @@ |
30 |
+# Copyright 1999-2021 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=7 |
34 |
+ |
35 |
+inherit bash-completion-r1 linux-info |
36 |
+ |
37 |
+DESCRIPTION="Unprivileged sandboxing tool, namespaces-powered chroot-like solution" |
38 |
+HOMEPAGE="https://github.com/containers/bubblewrap/" |
39 |
+SRC_URI="https://github.com/containers/${PN}/releases/download/v${PV}/${P}.tar.xz" |
40 |
+ |
41 |
+LICENSE="LGPL-2+" |
42 |
+SLOT="0" |
43 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" |
44 |
+IUSE="selinux +suid" |
45 |
+ |
46 |
+RDEPEND=" |
47 |
+ sys-libs/libseccomp |
48 |
+ sys-libs/libcap |
49 |
+ selinux? ( >=sys-libs/libselinux-2.1.9 ) |
50 |
+" |
51 |
+DEPEND="${RDEPEND}" |
52 |
+BDEPEND=" |
53 |
+ app-text/docbook-xml-dtd:4.3 |
54 |
+ app-text/docbook-xsl-stylesheets |
55 |
+ dev-libs/libxslt |
56 |
+ virtual/pkgconfig |
57 |
+" |
58 |
+ |
59 |
+# tests require root priviledge |
60 |
+RESTRICT="test" |
61 |
+ |
62 |
+pkg_setup() { |
63 |
+ if [[ ${MERGE_TYPE} != buildonly ]]; then |
64 |
+ CONFIG_CHECK="~UTS_NS ~IPC_NS ~USER_NS ~PID_NS ~NET_NS" |
65 |
+ linux-info_pkg_setup |
66 |
+ fi |
67 |
+} |
68 |
+ |
69 |
+src_configure() { |
70 |
+ econf \ |
71 |
+ $(use_enable selinux) \ |
72 |
+ "--enable-man" \ |
73 |
+ "--with-bash-completion-dir=$(get_bashcompdir)" \ |
74 |
+ "--with-priv-mode=$(usex suid setuid none)" |
75 |
+} |