summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/chroot-wrapper/Manifest1
-rw-r--r--dev-util/chroot-wrapper/chroot-wrapper-0.9.4.ebuild32
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-util/chroot-wrapper/Manifest b/dev-util/chroot-wrapper/Manifest
index 6747becb9576..e14111239a0d 100644
--- a/dev-util/chroot-wrapper/Manifest
+++ b/dev-util/chroot-wrapper/Manifest
@@ -1 +1,2 @@
DIST chroot-wrapper-0.9.3.tar.gz 12511 BLAKE2B 42528f7786a0855cfde9d6dff336544bb99f41dfdaa09782d5df665de997d2cbb6358761a5952865ae380c39e467085cbb110b1367d0422f07e0c519d4935b9d SHA512 16ae36637f3e966716a05f3e0bc16c784bae141837e13d0e4c1f831fefcac423a7d77ac73f49e2c7efd0261c1f9649a18f55cd2a24d22e768cecce6d95b85a74
+DIST chroot-wrapper-0.9.4.tar.gz 12676 BLAKE2B 7d65a0f85540c9ce06bbbc3527d5d26162fa7f5de3035c25033e92a70aa0e7b61e50c5d73ab1db39905b289d4f7d68bbc38e219dc91c59423accfc8ab249def7 SHA512 42343c30eee4c82f31064244c04475236fd3807765e9edabaf8a8d3561344283dfaf5149e2ba30793bcb65592405c0c953914364cb577bcb7737fb9501f8f602
diff --git a/dev-util/chroot-wrapper/chroot-wrapper-0.9.4.ebuild b/dev-util/chroot-wrapper/chroot-wrapper-0.9.4.ebuild
new file mode 100644
index 000000000000..93d2e87ed951
--- /dev/null
+++ b/dev-util/chroot-wrapper/chroot-wrapper-0.9.4.ebuild
@@ -0,0 +1,32 @@
+# Copyright 2020-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit linux-info
+
+DESCRIPTION="Wrapper for chroot to set up some bind mounts, namespaces, and control groups"
+HOMEPAGE="https://github.com/chutz/chroot-wrapper"
+SRC_URI="https://github.com/chutz/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ >=app-shells/bash-5.0
+ sys-apps/util-linux
+ sys-apps/coreutils
+"
+
+CONFIG_CHECK="
+ ~TMPFS
+ ~IPC_NS
+ ~UTS_NS
+"
+
+src_install() {
+ newsbin src/chroot-wrapper chr
+ insinto /etc/chroot-wrapper
+ doins config.bash
+}