1 |
commit: e3a44ee8d1d0c4527a25ac201e6d51d974de1bbc |
2 |
Author: Piotr Karbowski <slashbeast <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri May 1 21:28:21 2020 +0000 |
4 |
Commit: Piotr Karbowski <slashbeast <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri May 1 21:29:51 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3a44ee8 |
7 |
|
8 |
sys-apps/bubblewrap-0.4.1: bump |
9 |
|
10 |
- updated github URL to the new one. |
11 |
- Joining as maintainer |
12 |
|
13 |
Signed-off-by: Piotr Karbowski <slashbeast <AT> gentoo.org> |
14 |
|
15 |
sys-apps/bubblewrap/Manifest | 1 + |
16 |
sys-apps/bubblewrap/bubblewrap-0.4.1.ebuild | 48 +++++++++++++++++++++++++++++ |
17 |
sys-apps/bubblewrap/metadata.xml | 6 +++- |
18 |
3 files changed, 54 insertions(+), 1 deletion(-) |
19 |
|
20 |
diff --git a/sys-apps/bubblewrap/Manifest b/sys-apps/bubblewrap/Manifest |
21 |
index 5ae1117bc2e..3d92b6d655b 100644 |
22 |
--- a/sys-apps/bubblewrap/Manifest |
23 |
+++ b/sys-apps/bubblewrap/Manifest |
24 |
@@ -1 +1,2 @@ |
25 |
DIST bubblewrap-0.3.1.tar.xz 209924 BLAKE2B bacc4080106cd9876bf0e1ad866a7397d7d232e61a720b52b5a6b9b0d860e625511ed15ac630aa71003fb9fa145ffa9d08ae2e6ba6d1411fd75e7d9568312717 SHA512 74e36caa56540a956158445f5f38c7ac5f7ff3c733ecaf85893de4607900e1fe4050db86a4435cbe18d722e90c5b39c466c555ea8ea8d4944da6207ef1011d67 |
26 |
+DIST bubblewrap-0.4.1.tar.xz 214496 BLAKE2B bdbff50cc4e28c91d83c814df7f2ee15702962d26a9316bd841b1e63bf5976c4549c88e20869e8cc236a8a0c9a065518f945c356fa7a058f8831f5b1e9d4eb0d SHA512 0ff46dc0fda2d0cffbb36cc52ff43951b30cbd835a42cc56806acbbbd827796bfadbb1cfafc84d6b47a72c031ca44abe1c377acc0cc25fe3b33e854f5f687d35 |
27 |
|
28 |
diff --git a/sys-apps/bubblewrap/bubblewrap-0.4.1.ebuild b/sys-apps/bubblewrap/bubblewrap-0.4.1.ebuild |
29 |
new file mode 100644 |
30 |
index 00000000000..7090c2e8314 |
31 |
--- /dev/null |
32 |
+++ b/sys-apps/bubblewrap/bubblewrap-0.4.1.ebuild |
33 |
@@ -0,0 +1,48 @@ |
34 |
+# Copyright 1999-2020 Gentoo Authors |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI=7 |
38 |
+ |
39 |
+inherit bash-completion-r1 linux-info |
40 |
+ |
41 |
+DESCRIPTION="Unprivileged sandboxing tool, namespaces-powered chroot-like solution" |
42 |
+HOMEPAGE="https://github.com/containers/bubblewrap/" |
43 |
+SRC_URI="https://github.com/containers/${PN}/releases/download/v${PV}/${P}.tar.xz" |
44 |
+ |
45 |
+LICENSE="LGPL-2+" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" |
48 |
+IUSE="selinux +suid" |
49 |
+ |
50 |
+RDEPEND=" |
51 |
+ sys-libs/libseccomp |
52 |
+ sys-libs/libcap |
53 |
+ selinux? ( >=sys-libs/libselinux-2.1.9 ) |
54 |
+" |
55 |
+DEPEND="${RDEPEND} |
56 |
+ app-text/docbook-xml-dtd:4.3 |
57 |
+ app-text/docbook-xsl-stylesheets |
58 |
+ dev-libs/libxslt |
59 |
+ virtual/pkgconfig |
60 |
+" |
61 |
+ |
62 |
+# tests require root priviledge |
63 |
+RESTRICT="test" |
64 |
+PATCHES=( |
65 |
+ "${FILESDIR}/bubblewrap-0.3.1-selinux-configure.patch" # bug 674312 |
66 |
+) |
67 |
+ |
68 |
+pkg_setup() { |
69 |
+ if [[ ${MERGE_TYPE} != buildonly ]]; then |
70 |
+ CONFIG_CHECK="~UTS_NS ~IPC_NS ~USER_NS ~PID_NS ~NET_NS" |
71 |
+ linux-info_pkg_setup |
72 |
+ fi |
73 |
+} |
74 |
+ |
75 |
+src_configure() { |
76 |
+ econf \ |
77 |
+ $(use_enable selinux) \ |
78 |
+ "--enable-man" \ |
79 |
+ "--with-bash-completion-dir=$(get_bashcompdir)" \ |
80 |
+ "--with-priv-mode=$(usex suid setuid none)" |
81 |
+} |
82 |
|
83 |
diff --git a/sys-apps/bubblewrap/metadata.xml b/sys-apps/bubblewrap/metadata.xml |
84 |
index 29a569e6d41..ffd5ca6e2a5 100644 |
85 |
--- a/sys-apps/bubblewrap/metadata.xml |
86 |
+++ b/sys-apps/bubblewrap/metadata.xml |
87 |
@@ -1,11 +1,15 @@ |
88 |
<?xml version="1.0" encoding="UTF-8"?> |
89 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
90 |
<pkgmetadata> |
91 |
+ <maintainer type="person"> |
92 |
+ <email>slashbeast@g.o</email> |
93 |
+ <name>Piotr Karbowski</name> |
94 |
+ </maintainer> |
95 |
<maintainer type="project"> |
96 |
<email>gnome@g.o</email> |
97 |
<name>Gentoo GNOME Desktop</name> |
98 |
</maintainer> |
99 |
<upstream> |
100 |
- <remote-id type="github">projectatomic/bubblewrap</remote-id> |
101 |
+ <remote-id type="github">containers/bubblewrap</remote-id> |
102 |
</upstream> |
103 |
</pkgmetadata> |