diff options
author | Alex Kiernan <alex.kiernan@gmail.com> | 2022-07-14 07:41:11 +0100 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2022-07-30 14:11:27 -0700 |
commit | f4a4c902ed2e1b85b235d554c014692913c26fbd (patch) | |
tree | 5dc18cc8d226fa3f1b8401ae27ce28c28434092b | |
parent | 7ad5f6a9da1b5a55699d5b8e7ad80476ad5a4695 (diff) | |
download | meta-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.bb | 23 |
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 @@ | |||
1 | DESCRIPTION = "Unprivileged sandboxing tool" | ||
2 | HOMEPAGE = "https://github.com/containers/bubblewrap" | ||
3 | LICENSE = "LGPL-2.0-or-later" | ||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2" | ||
5 | |||
6 | DEPENDS = "libcap" | ||
7 | |||
8 | SRC_URI = "https://github.com/containers/${BPN}/releases/download/v${PV}/${BP}.tar.xz" | ||
9 | SRC_URI[sha256sum] = "8a0ec802d1b3e956c5bb0a40a81c9ce0b055a31bf30a8efa547433603b8af20b" | ||
10 | |||
11 | UPSTREAM_CHECK_URI = "https://github.com/containers/bubblewrap/releases" | ||
12 | UPSTREAM_CHECK_REGEX = "bubblewrap-(?P<pver>\d+(\.\d+)+)\.tar" | ||
13 | |||
14 | inherit autotools bash-completion manpages pkgconfig | ||
15 | |||
16 | PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'selinux', d)}" | ||
17 | PACKAGECONFIG[manpages] = "--enable-man,--disable-man,libxslt-native docbook-xsl-stylesheets-native xmlto-native" | ||
18 | PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux" | ||
19 | PACKAGECONFIG[setuid] = "--with-priv-mode=setuid,--with-priv-mode=none" | ||
20 | |||
21 | PACKAGES += "${PN}-zsh-completion" | ||
22 | |||
23 | FILES:${PN}-zsh-completion = "${datadir}/zsh/site-functions" | ||