Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Jul 2014 06:13:11 +0000 (UTC)
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r361600 - in head/sysutils: . qchroot
Message-ID:  <201407120613.s6C6DB92066938@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pi
Date: Sat Jul 12 06:13:11 2014
New Revision: 361600
URL: http://svnweb.freebsd.org/changeset/ports/361600
QAT: https://qat.redports.org/buildarchive/r361600/

Log:
  new port: sysutils/qchroot: chroot management using nullfs for the filesystem
  
  PR:		191502
  Submitted by:	Joe Barbish (qchroot@a1poweruser.com)

Added:
  head/sysutils/qchroot/
  head/sysutils/qchroot/Makefile   (contents, props changed)
  head/sysutils/qchroot/distinfo   (contents, props changed)
  head/sysutils/qchroot/pkg-descr   (contents, props changed)
  head/sysutils/qchroot/pkg-message   (contents, props changed)
  head/sysutils/qchroot/pkg-plist   (contents, props changed)
Modified:
  head/sysutils/Makefile

Modified: head/sysutils/Makefile
==============================================================================
--- head/sysutils/Makefile	Sat Jul 12 06:03:22 2014	(r361599)
+++ head/sysutils/Makefile	Sat Jul 12 06:13:11 2014	(r361600)
@@ -751,6 +751,7 @@
     SUBDIR += py-zdaemon
     SUBDIR += py-zfs
     SUBDIR += pydf
+    SUBDIR += qchroot
     SUBDIR += qjail
     SUBDIR += qjail2
     SUBDIR += qlogtools

Added: head/sysutils/qchroot/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/qchroot/Makefile	Sat Jul 12 06:13:11 2014	(r361600)
@@ -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>

Added: head/sysutils/qchroot/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/qchroot/distinfo	Sat Jul 12 06:13:11 2014	(r361600)
@@ -0,0 +1,2 @@
+SHA256 (qchroot-0.0.tar.bz2) = 93efb6358e125620f7e906f180010842a6c36b7cc136e29954151320cb74c2e4
+SIZE (qchroot-0.0.tar.bz2) = 9394

Added: head/sysutils/qchroot/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/qchroot/pkg-descr	Sat Jul 12 06:13:11 2014	(r361600)
@@ -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.

Added: head/sysutils/qchroot/pkg-message
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/qchroot/pkg-message	Sat Jul 12 06:13:11 2014	(r361600)
@@ -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.
+

Added: head/sysutils/qchroot/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/qchroot/pkg-plist	Sat Jul 12 06:13:11 2014	(r361600)
@@ -0,0 +1,3 @@
+bin/qchroot
+etc/rc.d/qchroot.bootime
+man/man8/qchroot.8.gz



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407120613.s6C6DB92066938>