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.1.ebuild30
-rw-r--r--dev-util/chroot-wrapper/metadata.xml8
3 files changed, 39 insertions, 0 deletions
diff --git a/dev-util/chroot-wrapper/Manifest b/dev-util/chroot-wrapper/Manifest
new file mode 100644
index 00000000000..b3efb81787a
--- /dev/null
+++ b/dev-util/chroot-wrapper/Manifest
@@ -0,0 +1 @@
+DIST chroot-wrapper-0.9.1.tar.gz 12166 BLAKE2B 526c4c5630d603e726b27782433a19c67582afdae29e5775a34a5bc0e7ccff78523ad548f4645394863b1742e4f71a3755b1c371979470933eaa99a301623020 SHA512 c558f4abd14b083f4553cacd418de548cce1d73d46706485c57dc23fd3c8d7130933d50408a78bf621b39bbd9dc77dfbd1dbe5677e371dee5bf7840bc0fa645a
diff --git a/dev-util/chroot-wrapper/chroot-wrapper-0.9.1.ebuild b/dev-util/chroot-wrapper/chroot-wrapper-0.9.1.ebuild
new file mode 100644
index 00000000000..d5e93afab40
--- /dev/null
+++ b/dev-util/chroot-wrapper/chroot-wrapper-0.9.1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 2020 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
+}
diff --git a/dev-util/chroot-wrapper/metadata.xml b/dev-util/chroot-wrapper/metadata.xml
new file mode 100644
index 00000000000..126b9ca42a2
--- /dev/null
+++ b/dev-util/chroot-wrapper/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <name>Patrick McLean</name>
+ <email>chutzpah@gentoo.org</email>
+ </maintainer>
+</pkgmetadata>