new port: sysutils/qchroot: chroot management using nullfs for the filesystem

PR:		191502
Submitted by:	Joe Barbish (qchroot@a1poweruser.com)
This commit is contained in:
pi
2014-07-12 06:13:11 +00:00
parent fbbf84aa4c
commit 2dc2e039f4
6 changed files with 43 additions and 0 deletions
+1
View File
@@ -751,6 +751,7 @@
SUBDIR += py-zdaemon
SUBDIR += py-zfs
SUBDIR += pydf
SUBDIR += qchroot
SUBDIR += qjail
SUBDIR += qjail2
SUBDIR += qlogtools
+25
View File
@@ -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>
+2
View File
@@ -0,0 +1,2 @@
SHA256 (qchroot-0.0.tar.bz2) = 93efb6358e125620f7e906f180010842a6c36b7cc136e29954151320cb74c2e4
SIZE (qchroot-0.0.tar.bz2) = 9394
+8
View File
@@ -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.
+4
View File
@@ -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.
+3
View File
@@ -0,0 +1,3 @@
bin/qchroot
etc/rc.d/qchroot.bootime
man/man8/qchroot.8.gz