diff --git a/sysutils/Makefile b/sysutils/Makefile index 5619f7fd5c54..321a5120efbf 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -751,6 +751,7 @@ SUBDIR += py-zdaemon SUBDIR += py-zfs SUBDIR += pydf + SUBDIR += qchroot SUBDIR += qjail SUBDIR += qjail2 SUBDIR += qlogtools 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 +# $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 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