summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <chutzpah@gentoo.org>2020-06-27 12:47:27 -0700
committerPatrick McLean <chutzpah@gentoo.org>2020-06-27 12:47:27 -0700
commitf96df9fce300e1568186a971a74e7902c7a4ecff (patch)
tree9ee21fd9e1852aa103381eef18f98038e84bc164 /dev-util/chroot-wrapper
parentdev-lang/logtalk: stable 3.36.0 for ppc (diff)
downloadgentoo-f96df9fce300e1568186a971a74e7902c7a4ecff.tar.gz
gentoo-f96df9fce300e1568186a971a74e7902c7a4ecff.tar.bz2
gentoo-f96df9fce300e1568186a971a74e7902c7a4ecff.zip
dev-util/chroot-wrapper: New package
Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
Diffstat (limited to 'dev-util/chroot-wrapper')
-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 000000000000..b3efb81787a9
--- /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 000000000000..d5e93afab40d
--- /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 000000000000..126b9ca42a25
--- /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>