summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Kiernan <alex.kiernan@gmail.com>2022-07-14 07:41:11 +0100
committerArmin Kuster <akuster808@gmail.com>2022-07-30 14:11:27 -0700
commitf4a4c902ed2e1b85b235d554c014692913c26fbd (patch)
tree5dc18cc8d226fa3f1b8401ae27ce28c28434092b
parent7ad5f6a9da1b5a55699d5b8e7ad80476ad5a4695 (diff)
downloadmeta-security-f4a4c902ed2e1b85b235d554c014692913c26fbd.tar.gz
bubblewrap: Add recipe
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
-rw-r--r--recipes-security/bubblewrap/bubblewrap_0.6.2.bb23
1 files changed, 23 insertions, 0 deletions
diff --git a/recipes-security/bubblewrap/bubblewrap_0.6.2.bb b/recipes-security/bubblewrap/bubblewrap_0.6.2.bb
new file mode 100644
index 0000000..921defd
--- /dev/null
+++ b/recipes-security/bubblewrap/bubblewrap_0.6.2.bb
@@ -0,0 +1,23 @@
1DESCRIPTION = "Unprivileged sandboxing tool"
2HOMEPAGE = "https://github.com/containers/bubblewrap"
3LICENSE = "LGPL-2.0-or-later"
4LIC_FILES_CHKSUM = "file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2"
5
6DEPENDS = "libcap"
7
8SRC_URI = "https://github.com/containers/${BPN}/releases/download/v${PV}/${BP}.tar.xz"
9SRC_URI[sha256sum] = "8a0ec802d1b3e956c5bb0a40a81c9ce0b055a31bf30a8efa547433603b8af20b"
10
11UPSTREAM_CHECK_URI = "https://github.com/containers/bubblewrap/releases"
12UPSTREAM_CHECK_REGEX = "bubblewrap-(?P<pver>\d+(\.\d+)+)\.tar"
13
14inherit autotools bash-completion manpages pkgconfig
15
16PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'selinux', d)}"
17PACKAGECONFIG[manpages] = "--enable-man,--disable-man,libxslt-native docbook-xsl-stylesheets-native xmlto-native"
18PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux"
19PACKAGECONFIG[setuid] = "--with-priv-mode=setuid,--with-priv-mode=none"
20
21PACKAGES += "${PN}-zsh-completion"
22
23FILES:${PN}-zsh-completion = "${datadir}/zsh/site-functions"