1 |
commit: 51b5b4f161ff227f0a0d6611e39852047db980a8 |
2 |
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu May 12 02:12:58 2022 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu May 12 02:14:22 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51b5b4f1 |
7 |
|
8 |
sys-apps/bubblewrap: Version bump to 0.6.2 |
9 |
|
10 |
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> |
11 |
|
12 |
sys-apps/bubblewrap/Manifest | 1 + |
13 |
sys-apps/bubblewrap/bubblewrap-0.6.2.ebuild | 58 +++++++++++++++++++++++++++++ |
14 |
2 files changed, 59 insertions(+) |
15 |
|
16 |
diff --git a/sys-apps/bubblewrap/Manifest b/sys-apps/bubblewrap/Manifest |
17 |
index 4711dbc8c871..b3dbbf212867 100644 |
18 |
--- a/sys-apps/bubblewrap/Manifest |
19 |
+++ b/sys-apps/bubblewrap/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST bubblewrap-0.5.0.tar.xz 137796 BLAKE2B 36aef94335d61ae55076a0a94cd6f2c335a87f8df9900c0c603c7ee870cf84c617a0c2ad99a5979cc1dd22740d652155fa6049e717eb210c9a83afe516daa107 SHA512 b1f5bde9562bf3176c51fdc22304b901e00e1de5189d9b5479aed7b651b84bed5539fc5bb3b1db58a05da4a57d69c9f41c40e15aa5a575746630e015674a02b7 |
22 |
DIST bubblewrap-0.6.1.tar.xz 145500 BLAKE2B 8f8f69c5314843be1ac8c52d462ce2b17fc88760274b71837793a3e8dbf87623b80b7ae094131cee896644b53f4761388638d21b1575d1887eb755880bb05845 SHA512 68e07812ff5e01de2b7a0ce66e8386ca3662fd071d4e9b4c4afa611c1589c0ed116e0ebb4c03eae3f707f908d86945e157f8b26ff872c2814889dde92df9c60b |
23 |
+DIST bubblewrap-0.6.2.tar.xz 146312 BLAKE2B bf02e9095cd1e80b84e0439d14ce57fc9bb08f9f0d3596a19eb34a55bd03b9d371368eda75f2b2106d47db29d1c2d9845fe2a12f5d0c554bbb532c9e0e53d368 SHA512 235da019cb370ea6d9328352acb38e6ff368f02f71db1ae85f2dd37655757975bd5b57bbe15f7b419b53a26b8ec3edd81b55893b420d5f42d6a9dab3471d0096 |
24 |
|
25 |
diff --git a/sys-apps/bubblewrap/bubblewrap-0.6.2.ebuild b/sys-apps/bubblewrap/bubblewrap-0.6.2.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..a7941bb7f15f |
28 |
--- /dev/null |
29 |
+++ b/sys-apps/bubblewrap/bubblewrap-0.6.2.ebuild |
30 |
@@ -0,0 +1,58 @@ |
31 |
+# Copyright 1999-2022 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+inherit linux-info meson |
37 |
+ |
38 |
+DESCRIPTION="Unprivileged sandboxing tool, namespaces-powered chroot-like solution" |
39 |
+HOMEPAGE="https://github.com/containers/bubblewrap/" |
40 |
+SRC_URI="https://github.com/containers/${PN}/releases/download/v${PV}/${P}.tar.xz" |
41 |
+ |
42 |
+LICENSE="LGPL-2+" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" |
45 |
+IUSE="selinux +suid" |
46 |
+ |
47 |
+RDEPEND=" |
48 |
+ sys-libs/libseccomp |
49 |
+ sys-libs/libcap |
50 |
+ selinux? ( >=sys-libs/libselinux-2.1.9 ) |
51 |
+" |
52 |
+DEPEND="${RDEPEND}" |
53 |
+BDEPEND=" |
54 |
+ app-text/docbook-xml-dtd:4.3 |
55 |
+ app-text/docbook-xsl-stylesheets |
56 |
+ dev-libs/libxslt |
57 |
+ virtual/pkgconfig |
58 |
+" |
59 |
+ |
60 |
+# tests require root privileges |
61 |
+RESTRICT="test" |
62 |
+ |
63 |
+pkg_setup() { |
64 |
+ if [[ ${MERGE_TYPE} != buildonly ]]; then |
65 |
+ CONFIG_CHECK="~UTS_NS ~IPC_NS ~USER_NS ~PID_NS ~NET_NS" |
66 |
+ linux-info_pkg_setup |
67 |
+ fi |
68 |
+} |
69 |
+ |
70 |
+src_configure() { |
71 |
+ local emesonargs=( |
72 |
+ -Dbash_completion=enabled |
73 |
+ -Dman=enabled |
74 |
+ -Dtests=false |
75 |
+ -Dzsh_completion=enabled |
76 |
+ $(meson_feature selinux) |
77 |
+ ) |
78 |
+ |
79 |
+ meson_src_configure |
80 |
+} |
81 |
+ |
82 |
+src_install() { |
83 |
+ meson_src_install |
84 |
+ |
85 |
+ if use suid; then |
86 |
+ chmod u+s "${ED}"/usr/bin/bwrap |
87 |
+ fi |
88 |
+} |