diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-03-02 01:27:32 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-03-02 01:27:32 +0000 |
commit | 5711c6777e7610093a43849c3d874c52ac421b64 (patch) | |
tree | cb47974f149d4411c941df05d333b935a53c4db7 /sys-apps/bubblewrap | |
parent | 93d7658008fb431ae469d5b6356fd53390998561 (diff) |
gentoo auto-resync : 02:03:2023 - 01:27:32
Diffstat (limited to 'sys-apps/bubblewrap')
-rw-r--r-- | sys-apps/bubblewrap/Manifest | 2 | ||||
-rw-r--r-- | sys-apps/bubblewrap/bubblewrap-0.8.0.ebuild | 58 |
2 files changed, 60 insertions, 0 deletions
diff --git a/sys-apps/bubblewrap/Manifest b/sys-apps/bubblewrap/Manifest index 7a0404f97dac..cd045b73a275 100644 --- a/sys-apps/bubblewrap/Manifest +++ b/sys-apps/bubblewrap/Manifest @@ -1,3 +1,5 @@ DIST bubblewrap-0.7.0.tar.xz 147700 BLAKE2B 379feff513a509e6e00c933ca6bafdeef43827e406fbf31e56c1d16feb099a887f88125fb52d038e78b1604c504bdba771aeaeb3274e8d11163492f00fe9633c SHA512 3d163eecd79774e02d082141d027b7ac13f7d3a29c22f6513203e1088f53d53d8dde50e36fc4c8a34e8cde2f3e2a692e00b741f4bee2cc2bb21b9deb600271b5 +DIST bubblewrap-0.8.0.tar.xz 149088 BLAKE2B 5853cf42a7ab653540ec5134866c6f2459aa101e9eea724a4f283405cbcae2beb3551b7c1a7aa93d82016d4eb0d12f9c97c47df53a6d9b589db40483696253de SHA512 1cbc33f3c834ff83f4c1808d3ec2555921277d495f903ad152cbd5065a6e100c5420b4b5c62386bb2d303eb1734e074b09625013e55e3bd8631cfb3582d70e1c EBUILD bubblewrap-0.7.0.ebuild 1158 BLAKE2B ba210fc5efe3f6a0cbdad8cf7202d76df25577c6af271393bad36ca1b681d4666855ffca984b43e9c054f08f90ba27bd3af338df2a73c43d92542449d39b4b45 SHA512 3f794436afcc7627d218a0543b8444b9b0df3d9dcea880e3efd35c73b4e108e1f847f56b5480e39335fb78c935d1f121b905f4f51b943948f12e7cf740e14cb6 +EBUILD bubblewrap-0.8.0.ebuild 1164 BLAKE2B 72f0f4b86fd818ef412855fe87819357b795ed5e2f75afb8b1657df6dc936ef0a0746bf16654f27622a646edcdff507e0841f2bc573f0b0349ef67e1e97764fa SHA512 44195b2ba3041648bf967c2fb73e86107d09b1d0b9516e26999e9225aca7e831f0e2a5883aa78f24d1bde7c8470ce1eccaca6d39445815769075cdbd7c5d96a5 MISC metadata.xml 453 BLAKE2B 69f1ca03c4b84f4adc2db8bbed8bf57852719c136778747e2679517afe63b1a0621ab486121b71d78c8ae235c2cd7e3077e85ed8d3ad51cc16f1838eb94bd448 SHA512 486775a479174ad72dbcd7f6a89c8001af1a8a4c5b73620153fed4da28b15fb1c481003ffd96ef68d2b49569ed0c1a9d445bc03a9901056cd29b77b3cf13a1ef diff --git a/sys-apps/bubblewrap/bubblewrap-0.8.0.ebuild b/sys-apps/bubblewrap/bubblewrap-0.8.0.ebuild new file mode 100644 index 000000000000..fa95d51552b8 --- /dev/null +++ b/sys-apps/bubblewrap/bubblewrap-0.8.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 +} |