aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/qchroot
diff options
context:
space:
mode:
authorpi <pi@FreeBSD.org>2014-07-12 14:13:11 +0800
committerpi <pi@FreeBSD.org>2014-07-12 14:13:11 +0800
commit2dc2e039f4e7e90d78231ebfcf0506b87e7b6813 (patch)
treeccd84cd27e48f623113c8b17d75fb0b6fe1c6a49 /sysutils/qchroot
parentfbbf84aa4c89dc3582325d3805e2c56e403aaa17 (diff)
downloadfreebsd-ports-gnome-2dc2e039f4e7e90d78231ebfcf0506b87e7b6813.tar.gz
freebsd-ports-gnome-2dc2e039f4e7e90d78231ebfcf0506b87e7b6813.tar.zst
freebsd-ports-gnome-2dc2e039f4e7e90d78231ebfcf0506b87e7b6813.zip
new port: sysutils/qchroot: chroot management using nullfs for the filesystem
PR: 191502 Submitted by: Joe Barbish (qchroot@a1poweruser.com)
Diffstat (limited to 'sysutils/qchroot')
-rw-r--r--sysutils/qchroot/Makefile25
-rw-r--r--sysutils/qchroot/distinfo2
-rw-r--r--sysutils/qchroot/pkg-descr8
-rw-r--r--sysutils/qchroot/pkg-message4
-rw-r--r--sysutils/qchroot/pkg-plist3
5 files changed, 42 insertions, 0 deletions
diff --git a/sysutils/qchroot/Makefile b/sysutils/qchroot/Makefile
new file mode 100644
index 000000000000..12390a172c1f
--- /dev/null
+++ b/sysutils/qchroot/Makefile
@@ -0,0 +1,25 @@
+# Created by: Joe Barbish <qchroot@a1poweruser.com>
+# $FreeBSD$
+
+PORTNAME= qchroot
+PORTVERSION= 0.0
+CATEGORIES= sysutils
+MASTER_SITES= SF/${PORTNAME}
+
+MAINTAINER= qchroot@a1poweruser.com
+COMMENT= Utility for deployment of chroot environments
+
+LICENSE= BSD2CLAUSE
+
+USES= tar:bzip2
+NO_BUILD= yes
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/qchroot \
+ ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/qchroot.bootime \
+ ${STAGEDIR}${PREFIX}/etc/rc.d
+ ${INSTALL_MAN} ${WRKSRC}/qchroot.8 \
+ ${STAGEDIR}${MAN8PREFIX}/man/man8
+
+.include <bsd.port.mk>
diff --git a/sysutils/qchroot/distinfo b/sysutils/qchroot/distinfo
new file mode 100644
index 000000000000..c7498b65b777
--- /dev/null
+++ b/sysutils/qchroot/distinfo
@@ -0,0 +1,2 @@
+SHA256 (qchroot-0.0.tar.bz2) = 93efb6358e125620f7e906f180010842a6c36b7cc136e29954151320cb74c2e4
+SIZE (qchroot-0.0.tar.bz2) = 9394
diff --git a/sysutils/qchroot/pkg-descr b/sysutils/qchroot/pkg-descr
new file mode 100644
index 000000000000..5ea2e1b62c00
--- /dev/null
+++ b/sysutils/qchroot/pkg-descr
@@ -0,0 +1,8 @@
+qchroot is a csh script for simplified administration of chroots on a
+host system. This is a viable alternate to jail(8) when jail(8) is too
+restrictive. This runs on RELEASE-9.3 and all newer RELEASES.
+
+The chroot filesystem shares a single copy of the system binaries which
+is mounted nullfs "read only" to the named chroot container filesystem.
+This provides 2 levels of security protection which is better than chroot
+by its self.
diff --git a/sysutils/qchroot/pkg-message b/sysutils/qchroot/pkg-message
new file mode 100644
index 000000000000..48db5fa34121
--- /dev/null
+++ b/sysutils/qchroot/pkg-message
@@ -0,0 +1,4 @@
+
+First issue "rehash" command to enable the qchroot script (if using csh).
+Then issue "man qchroot" to read about qchroot usage.
+
diff --git a/sysutils/qchroot/pkg-plist b/sysutils/qchroot/pkg-plist
new file mode 100644
index 000000000000..c6cd61664584
--- /dev/null
+++ b/sysutils/qchroot/pkg-plist
@@ -0,0 +1,3 @@
+bin/qchroot
+etc/rc.d/qchroot.bootime
+man/man8/qchroot.8.gz