diff options
author | Piotr Karbowski <slashbeast@gentoo.org> | 2022-11-11 23:14:29 +0100 |
---|---|---|
committer | Piotr Karbowski <slashbeast@gentoo.org> | 2022-11-11 23:14:29 +0100 |
commit | ddc25b6bfdfd6d7a18497497ba37812d3af9f093 (patch) | |
tree | ec4c14b8f460440d6787227e9bacd60221582b0e /sys-apps | |
parent | media-sound/ncmpcpp: Patch to fix cross-compiling of 0.9.2 (diff) | |
download | gentoo-ddc25b6bfdfd6d7a18497497ba37812d3af9f093.tar.gz gentoo-ddc25b6bfdfd6d7a18497497ba37812d3af9f093.tar.bz2 gentoo-ddc25b6bfdfd6d7a18497497ba37812d3af9f093.zip |
sys-apps/bubblewrap: 0.7.0 version bump.
Signed-off-by: Piotr Karbowski <slashbeast@gentoo.org>
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/bubblewrap/Manifest | 1 | ||||
-rw-r--r-- | sys-apps/bubblewrap/bubblewrap-0.7.0.ebuild | 58 |
2 files changed, 59 insertions, 0 deletions
diff --git a/sys-apps/bubblewrap/Manifest b/sys-apps/bubblewrap/Manifest index fc964394d9ab..ae80c367beb8 100644 --- a/sys-apps/bubblewrap/Manifest +++ b/sys-apps/bubblewrap/Manifest @@ -1 +1,2 @@ DIST bubblewrap-0.6.2.tar.xz 146312 BLAKE2B bf02e9095cd1e80b84e0439d14ce57fc9bb08f9f0d3596a19eb34a55bd03b9d371368eda75f2b2106d47db29d1c2d9845fe2a12f5d0c554bbb532c9e0e53d368 SHA512 235da019cb370ea6d9328352acb38e6ff368f02f71db1ae85f2dd37655757975bd5b57bbe15f7b419b53a26b8ec3edd81b55893b420d5f42d6a9dab3471d0096 +DIST bubblewrap-0.7.0.tar.xz 147700 BLAKE2B 379feff513a509e6e00c933ca6bafdeef43827e406fbf31e56c1d16feb099a887f88125fb52d038e78b1604c504bdba771aeaeb3274e8d11163492f00fe9633c SHA512 3d163eecd79774e02d082141d027b7ac13f7d3a29c22f6513203e1088f53d53d8dde50e36fc4c8a34e8cde2f3e2a692e00b741f4bee2cc2bb21b9deb600271b5 diff --git a/sys-apps/bubblewrap/bubblewrap-0.7.0.ebuild b/sys-apps/bubblewrap/bubblewrap-0.7.0.ebuild new file mode 100644 index 000000000000..fa95d51552b8 --- /dev/null +++ b/sys-apps/bubblewrap/bubblewrap-0.7.0.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit linux-info meson + +DESCRIPTION="Unprivileged sandboxing tool, namespaces-powered chroot-like solution" +HOMEPAGE="https://github.com/containers/bubblewrap/" +SRC_URI="https://github.com/containers/${PN}/releases/download/v${PV}/${P}.tar.xz" + +LICENSE="LGPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" +IUSE="selinux suid" + +RDEPEND=" + sys-libs/libseccomp + sys-libs/libcap + selinux? ( >=sys-libs/libselinux-2.1.9 ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + app-text/docbook-xml-dtd:4.3 + app-text/docbook-xsl-stylesheets + dev-libs/libxslt + virtual/pkgconfig +" + +# tests require root privileges +RESTRICT="test" + +pkg_setup() { + if [[ ${MERGE_TYPE} != buildonly ]]; then + CONFIG_CHECK="~UTS_NS ~IPC_NS ~USER_NS ~PID_NS ~NET_NS" + linux-info_pkg_setup + fi +} + +src_configure() { + local emesonargs=( + -Dbash_completion=enabled + -Dman=enabled + -Dtests=false + -Dzsh_completion=enabled + $(meson_feature selinux) + ) + + meson_src_configure +} + +src_install() { + meson_src_install + + if use suid; then + chmod u+s "${ED}"/usr/bin/bwrap + fi +} |