summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-09-24 10:20:21 -0400
committerMike Frysinger <vapier@gentoo.org>2021-09-24 10:36:24 -0400
commit854a0ebfae3b4afa7dd8eb9577ac3fa15a2dd8d9 (patch)
treee8c45d0e9ed517ddb6a2f36bad0f78d842d32793 /sys-apps/minijail
parentwww-client/chromium: stable channel bump to 94.0.4606.61 (diff)
downloadgentoo-854a0ebfae3b4afa7dd8eb9577ac3fa15a2dd8d9.tar.gz
gentoo-854a0ebfae3b4afa7dd8eb9577ac3fa15a2dd8d9.tar.bz2
gentoo-854a0ebfae3b4afa7dd8eb9577ac3fa15a2dd8d9.zip
sys-apps/minijail: drop old version 9
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'sys-apps/minijail')
-rw-r--r--sys-apps/minijail/Manifest1
-rw-r--r--sys-apps/minijail/minijail-9.ebuild72
2 files changed, 0 insertions, 73 deletions
diff --git a/sys-apps/minijail/Manifest b/sys-apps/minijail/Manifest
index b48d120cca46..4de10bcb3327 100644
--- a/sys-apps/minijail/Manifest
+++ b/sys-apps/minijail/Manifest
@@ -1,2 +1 @@
DIST minijail-12.tar.gz 157030 BLAKE2B 55a1bb2aeb31290c211da8b8322672abadab7a2729b0afd6eafce9854a51320a2515bedc54864debc7ede6e437607dad8532ae76c14828d6c4f4265fec404dbe SHA512 feb829fc113f0041b9ab25e845560af47408f3d5f0704cdf756d0b8162ae7aae331c350908c3b17a4a5593ffa7326044f222a35e6794471cd5ed60173b2befa2
-DIST minijail-9.tar.gz 118700 BLAKE2B 7d2959d5dd71bd9d8d8a0b7c278dab66771740f73acec20f19502da33990ca858796b4734676ffedc404cef72eee8c419c669ba7092ac00cbafa2e410564aba2 SHA512 6d05fbe8615f410e8314045d11f7a3638f563f3311f7d52b5a0c47cad8692d11b0a7db4fbb45141b56453a9beb0de7683d58e5298f0a27029aa017539bb48717
diff --git a/sys-apps/minijail/minijail-9.ebuild b/sys-apps/minijail/minijail-9.ebuild
deleted file mode 100644
index bca6a4432644..000000000000
--- a/sys-apps/minijail/minijail-9.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 2019-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit linux-info toolchain-funcs
-
-DESCRIPTION="helper binary and library for sandboxing & restricting privs of service"
-HOMEPAGE="https://android.googlesource.com/platform/external/minijail"
-
-# Use GitHub mirror as Gitiles doesn't generate stable tarballs.
-SRC_URI="https://github.com/google/${PN}/archive/linux-v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="+seccomp test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="sys-libs/libcap-ng:="
-DEPEND="${RDEPEND}
- test? (
- virtual/pkgconfig
- >=dev-cpp/gtest-1.8.0:=
- )"
-
-S="${WORKDIR}/${PN}-linux-v${PV}"
-
-PATCHES=(
- "${FILESDIR}/minijail-9-makefile.patch"
-)
-
-pkg_pretend() {
- local CONFIG_CHECK="~NAMESPACES ~UTS_NS ~IPC_NS ~USER_NS ~PID_NS ~NET_NS
- ~SECCOMP ~SECCOMP_FILTER ~CGROUPS"
- check_extra_config
-}
-
-src_configure() {
- export LIBDIR="/usr/$(get_libdir)"
- export USE_seccomp="$(usex seccomp)"
- export USE_SYSTEM_GTEST=yes
- export GTEST_CXXFLAGS="$($(tc-getPKG_CONFIG) --cflags gtest_main)"
- export GTEST_LIBS="$($(tc-getPKG_CONFIG) --libs gtest_main)"
-}
-
-src_compile() {
- tc-env_build emake VERBOSE=1 all parse_seccomp_policy
-}
-
-src_test() {
- GTEST_FILTER="-NamespaceTest.test_tmpfs_userns:NamespaceTest.test_namespaces" \
- tc-env_build emake VERBOSE=1 tests
-}
-
-src_install() {
- dosbin minijail0
- dolib.so libminijail{,preload}.so
- dobin parse_seccomp_policy
-
- doman minijail0.[15]
-
- local include_dir="/usr/include"
-
- "${S}"/platform2_preinstall.sh "${PV}" "${include_dir}"
- insinto "/usr/$(get_libdir)/pkgconfig"
- doins libminijail.pc
-
- insinto "${include_dir}"
- doins libminijail.h
- doins scoped_minijail.h
-}