diff options
author | pawel <pawel@FreeBSD.org> | 2013-06-03 06:13:33 +0800 |
---|---|---|
committer | pawel <pawel@FreeBSD.org> | 2013-06-03 06:13:33 +0800 |
commit | 9fd3b2c19e976f393cda23ab2938b83de561cd2c (patch) | |
tree | bb376dbe45f84e587479068e580464d13f2c6f6f /sysutils/qjail | |
parent | 9f3cab0a2fc00dac37ac54ee3a037d924d705c11 (diff) | |
download | freebsd-ports-gnome-9fd3b2c19e976f393cda23ab2938b83de561cd2c.tar.gz freebsd-ports-gnome-9fd3b2c19e976f393cda23ab2938b83de561cd2c.tar.zst freebsd-ports-gnome-9fd3b2c19e976f393cda23ab2938b83de561cd2c.zip |
Update to version 3.0
PR: ports/179184
Submitted by: Joe Barbish <qjail@a1poweruser.com> (maintainer)
Diffstat (limited to 'sysutils/qjail')
-rw-r--r-- | sysutils/qjail/Makefile | 12 | ||||
-rw-r--r-- | sysutils/qjail/distinfo | 4 | ||||
-rw-r--r-- | sysutils/qjail/pkg-descr | 15 | ||||
-rw-r--r-- | sysutils/qjail/pkg-plist | 38 |
4 files changed, 38 insertions, 31 deletions
diff --git a/sysutils/qjail/Makefile b/sysutils/qjail/Makefile index 75aece7fd3b1..7f49967bdb8c 100644 --- a/sysutils/qjail/Makefile +++ b/sysutils/qjail/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= qjail -PORTVERSION= 2.2 +PORTVERSION= 3.0 CATEGORIES= sysutils MASTER_SITES= SF/${PORTNAME} @@ -12,7 +12,7 @@ COMMENT= Utility to quickly deploy and manage jails USE_BZIP2= yes NO_BUILD= yes -MAN8= qjail.8 qjail-intro.8 qjail.conf.8 qjail-howto.8 +MAN8= qjail.8 qjail-intro.8 qjail-howto.8 post-patch: @${FIND} ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} \ @@ -21,11 +21,11 @@ post-patch: do-install: @${INSTALL_SCRIPT} ${WRKSRC}/qjail ${PREFIX}/bin - @${INSTALL_SCRIPT} ${WRKSRC}/qjail2 ${PREFIX}/etc/rc.d - @${INSTALL_SCRIPT} ${WRKSRC}/qjail-jail2 ${PREFIX}/etc/rc.d - @${INSTALL_DATA} ${WRKSRC}/qjail.conf.sample ${PREFIX}/etc + @${INSTALL_SCRIPT} ${WRKSRC}/qjail.vnet.be ${PREFIX}/bin + @${INSTALL_SCRIPT} ${WRKSRC}/qjail.vnet.ng ${PREFIX}/bin + @${INSTALL_SCRIPT} ${WRKSRC}/qjail.bootime ${PREFIX}/etc/rc.d @${INSTALL_DATA} ${WRKSRC}/qjail.portsnap.conf ${PREFIX}/etc -.for i in qjail qjail-intro qjail.conf qjail-howto +.for i in qjail qjail-intro qjail-howto @${INSTALL_MAN} ${WRKSRC}/${i}.8 ${MAN8PREFIX}/man/man8 .endfor # note examples are mandatory. qjail will not function without them diff --git a/sysutils/qjail/distinfo b/sysutils/qjail/distinfo index af082a7c3314..b2df0b0c80af 100644 --- a/sysutils/qjail/distinfo +++ b/sysutils/qjail/distinfo @@ -1,2 +1,2 @@ -SHA256 (qjail-2.2.tar.bz2) = ae7b64b3ecfa2b3db5880e3e7e38fc5e6f4ad8e51353d4343e37ef4c0dab1912 -SIZE (qjail-2.2.tar.bz2) = 56888 +SHA256 (qjail-3.0.tar.bz2) = 73a086651c8ee0ecaf2e22ba2951567250abac562d09284f80a78001eb6d8b3f +SIZE (qjail-3.0.tar.bz2) = 119727 diff --git a/sysutils/qjail/pkg-descr b/sysutils/qjail/pkg-descr index 8fc2c777286e..479ada61e5a6 100644 --- a/sysutils/qjail/pkg-descr +++ b/sysutils/qjail/pkg-descr @@ -1,13 +1,20 @@ -This is the last version that handles both the 8.x and 9.x install -media formats. - Qjail [ q = quick ] is a 4th generation wrapper for the basic chroot jail system that includes security and performance enhancements. Plus a new level of "user friendliness" enhancements dealing with deploying just a few jails or large jail environments consisting of 100's of jails. +This version of qjail has been converted from using the legacy rc.d-method as +used in all previous versions of qjail, to using the jail(8) jail.conf-method +available in RELEASE-9.1. This upgrade provides the ability to enable the +following new options on a per-jail basis. exec.fib, allow.raw_sockets, +allow.quotas, allow.mount.nullfs, allow.mount.zfs, cpuset.id, securelevel, +vnet.interface, and vnet. The vnet option gives a jail its own network stack +using the experimental vimage software. This qjail version is not functional +for RELEASES older than RELEASE-9.1. The vnet option has only been tested on +i386 and amd64 equipment. + Qjail requires no knowledge of the jail command usage. It uses "nullfs" for -read-only system binaries, sharing one copy of them with all the jails. +read-only system executables, sharing one copy of them with all the jails. Uses "mdconfig" to create sparse image jails. Sparse image jails provide a method to limit the total disk space a jail can consume, while only occupying diff --git a/sysutils/qjail/pkg-plist b/sysutils/qjail/pkg-plist index f8106ab5b8f7..d06c16bc15c2 100644 --- a/sysutils/qjail/pkg-plist +++ b/sysutils/qjail/pkg-plist @@ -1,17 +1,23 @@ bin/qjail -etc/qjail.conf.sample +bin/qjail.vnet.be +bin/qjail.vnet.ng etc/qjail.portsnap.conf -etc/rc.d/qjail-jail2 -etc/rc.d/qjail2 +etc/rc.d/qjail.bootime +%%EXAMPLESDIR%%/vnet/jail.amd64 +%%EXAMPLESDIR%%/vnet/jail.i386 +%%EXAMPLESDIR%%/vnet/nullfs.diff +%%EXAMPLESDIR%%/vnet/ipfw.rules.host +%%EXAMPLESDIR%%/vnet/ipfw.rules.vnet +%%EXAMPLESDIR%%/vnet/ipf.rules.host +%%EXAMPLESDIR%%/vnet/ipf.rules.vnet +%%EXAMPLESDIR%%/vnet/pf.rules.host +%%EXAMPLESDIR%%/vnet/pf.rules.vnet %%EXAMPLESDIR%%/default/etc/make.conf %%EXAMPLESDIR%%/default/etc/motd %%EXAMPLESDIR%%/default/etc/periodic.conf %%EXAMPLESDIR%%/default/etc/rc.conf %%EXAMPLESDIR%%/default/root/.cshrc %%EXAMPLESDIR%%/default/usr/local/etc/sudoers -%%EXAMPLESDIR%%/nullmailer-example/etc/mail/mailer.conf -%%EXAMPLESDIR%%/nullmailer-example/etc/rc.conf -%%EXAMPLESDIR%%/nullmailer-example/usr/local/etc/nullmailer/remotes %%EXAMPLESDIR%%/ssh-default/etc/group %%EXAMPLESDIR%%/ssh-default/etc/make.conf %%EXAMPLESDIR%%/ssh-default/etc/master.passwd @@ -32,6 +38,12 @@ etc/rc.d/qjail2 %%EXAMPLESDIR%%/ssh-default/usr/home/qjail/.rhosts %%EXAMPLESDIR%%/ssh-default/usr/home/qjail/.shrc %%EXAMPLESDIR%%/ssh-default/usr/local/etc/sudoers +@dirrm %%EXAMPLESDIR%%/default/usr/local/etc +@dirrm %%EXAMPLESDIR%%/default/usr/local +@dirrm %%EXAMPLESDIR%%/default/usr +@dirrm %%EXAMPLESDIR%%/default/root +@dirrm %%EXAMPLESDIR%%/default/etc +@dirrm %%EXAMPLESDIR%%/default @dirrm %%EXAMPLESDIR%%/ssh-default/usr/home/qjail @dirrm %%EXAMPLESDIR%%/ssh-default/usr/home @dirrm %%EXAMPLESDIR%%/ssh-default/usr/local/etc @@ -41,17 +53,5 @@ etc/rc.d/qjail2 @dirrm %%EXAMPLESDIR%%/ssh-default/etc/ssh @dirrm %%EXAMPLESDIR%%/ssh-default/etc @dirrm %%EXAMPLESDIR%%/ssh-default -@dirrm %%EXAMPLESDIR%%/nullmailer-example/usr/local/etc/nullmailer -@dirrm %%EXAMPLESDIR%%/nullmailer-example/usr/local/etc -@dirrm %%EXAMPLESDIR%%/nullmailer-example/usr/local -@dirrm %%EXAMPLESDIR%%/nullmailer-example/usr -@dirrm %%EXAMPLESDIR%%/nullmailer-example/etc/mail -@dirrm %%EXAMPLESDIR%%/nullmailer-example/etc -@dirrm %%EXAMPLESDIR%%/nullmailer-example -@dirrm %%EXAMPLESDIR%%/default/usr/local/etc -@dirrm %%EXAMPLESDIR%%/default/usr/local -@dirrm %%EXAMPLESDIR%%/default/usr -@dirrm %%EXAMPLESDIR%%/default/root -@dirrm %%EXAMPLESDIR%%/default/etc -@dirrm %%EXAMPLESDIR%%/default +@dirrm %%EXAMPLESDIR%%/vnet @dirrm %%EXAMPLESDIR%% |