Summary: | [Maintainer update] sysutils/qjail rewrite using jail(8) type jails | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | qjail | ||||
Component: | Individual Port(s) | Assignee: | Pawel Pekala <pawel> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | ||||||
Priority: | Normal | ||||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
qjail
2013-06-02 01:50:00 UTC
Responsible Changed From-To: freebsd-ports-bugs->pawel I'll take it. Author: pawel Date: Sun Jun 2 22:13:33 2013 New Revision: 319728 URL: http://svnweb.freebsd.org/changeset/ports/319728 Log: Update to version 3.0 PR: ports/179184 Submitted by: Joe Barbish <qjail@a1poweruser.com> (maintainer) Modified: head/sysutils/qjail/Makefile head/sysutils/qjail/distinfo (contents, props changed) head/sysutils/qjail/pkg-descr (contents, props changed) head/sysutils/qjail/pkg-plist (contents, props changed) Modified: head/sysutils/qjail/Makefile ============================================================================== --- head/sysutils/qjail/Makefile Sun Jun 2 21:50:42 2013 (r319727) +++ head/sysutils/qjail/Makefile Sun Jun 2 22:13:33 2013 (r319728) @@ -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 m 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 Modified: head/sysutils/qjail/distinfo ============================================================================== --- head/sysutils/qjail/distinfo Sun Jun 2 21:50:42 2013 (r319727) +++ head/sysutils/qjail/distinfo Sun Jun 2 22:13:33 2013 (r319728) @@ -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 Modified: head/sysutils/qjail/pkg-descr ============================================================================== --- head/sysutils/qjail/pkg-descr Sun Jun 2 21:50:42 2013 (r319727) +++ head/sysutils/qjail/pkg-descr Sun Jun 2 22:13:33 2013 (r319728) @@ -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 Modified: head/sysutils/qjail/pkg-plist ============================================================================== --- head/sysutils/qjail/pkg-plist Sun Jun 2 21:50:42 2013 (r319727) +++ head/sysutils/qjail/pkg-plist Sun Jun 2 22:13:33 2013 (r319728) @@ -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%% _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org" State Changed From-To: open->closed Committed. Thanks! |