Date: Thu, 9 Dec 2010 16:40:11 GMT From: "joeb" <joeb@a1poweruser.com> To: freebsd-ports-bugs@FreeBSD.org Subject: RE: ports/148777: [New Port] sysutils/qjail: Utility to deploy large number of jails quickly Message-ID: <201012091640.oB9GeBWs003830@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/148777; it has been noted by GNATS. From: "joeb" <joeb@a1poweruser.com> To: <joeb@a1poweruser.com>, <bug-followup@freebsd.org> Cc: Subject: RE: ports/148777: [New Port] sysutils/qjail: Utility to deploy large number of jails quickly Date: Thu, 9 Dec 2010 11:34:16 -0500 This is a multi-part message in MIME format. ------=_NextPart_000_0000_01CB9795.02D92E60 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit The updated attached port shar file contains fixes to the port makefiles. Please review and commit. Thanks ------=_NextPart_000_0000_01CB9795.02D92E60 Content-Type: application/octet-stream; name="qjail.portMakefiles.shar" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="qjail.portMakefiles.shar" # This is a shell archive. Save it in a file, remove anything before=0A= # this line, and then unpack it by entering "sh file". Note, it may=0A= # create directories; files and directories will be owned by you and=0A= # have default permissions.=0A= #=0A= # This archive contains:=0A= #=0A= # qjail=0A= # qjail/Makefile=0A= # qjail/pkg-descr=0A= # qjail/pkg-plist=0A= # qjail/pkg-message=0A= # qjail/distinfo=0A= #=0A= echo c - qjail=0A= mkdir -p qjail > /dev/null 2>&1=0A= echo x - qjail/Makefile=0A= sed 's/^X//' >qjail/Makefile << '7da10d06f45c8d9771da27572b9a6525'=0A= X# New ports collection makefile for: qjail=0A= X# Date created: July 22 2010=0A= X# Whom: Joe Barbish=0A= X#=0A= X# $FreeBSD$=0A= X=0A= XPORTNAME=3D qjail=0A= XPORTVERSION=3D 1.0=0A= XCATEGORIES=3D sysutils=0A= XMASTER_SITES=3D ${MASTER_SITE_SOURCEFORGE}=0A= XMASTER_SITE_SUBDIR=3D qjail=0A= X#DISTFILES=3D qjail-1.0.tar.bz2=0A= X=0A= XMAINTAINER=3D qjail@a1poweruser.com=0A= XCOMMENT=3D Utility to quickly deploy and manage large numbers of jails=0A= X=0A= XLICENSE=3D BSD=0A= X=0A= XUSE_BZIP2=3D yes=0A= X=0A= XMAN8=3D qjail.8 qjail-intro.8 qjail.conf.8=0A= X=0A= XNO_BUILD=3D yes=0A= X=0A= Xdo-install:=0A= X ${INSTALL_SCRIPT} ${WRKSRC}/qjail ${PREFIX}/bin/=0A= X ${INSTALL_SCRIPT} ${WRKSRC}/qjail2 ${PREFIX}/etc/rc.d/=0A= X ${INSTALL_SCRIPT} ${WRKSRC}/jail2 ${PREFIX}/etc/rc.d/=0A= X ${CP} ${WRKSRC}/qjail.conf.sample ${PREFIX}/etc/=0A= X ${CP} ${WRKSRC}/qjail.8 ${MANPREFIX}/man/man8/=0A= X ${CP} ${WRKSRC}/qjail-intro.8 ${MANPREFIX}/man/man8/=0A= X ${CP} ${WRKSRC}/qjail.conf.8 ${MANPREFIX}/man/man8/=0A= X ${MKDIR} ${PREFIX}/share/examples/qjail=0A= X ${CP} -rfp ${WRKSRC}/examples/ ${PREFIX}/share/examples/qjail/=0A= X=0A= Xpost-install:=0A= X ${CAT} ${PKGMESSAGE}=0A= X=0A= X.include <bsd.port.mk>=0A= 7da10d06f45c8d9771da27572b9a6525=0A= echo x - qjail/pkg-descr=0A= sed 's/^X//' >qjail/pkg-descr << 'd05ede6e511e945409d9ec363b2f7453'=0A= XQjail [ q =3D quick ] is a 4th generation wrapper for the basic chroot = jail=0A= Xsystem that includes security and performance enhancements. Plus a new = level=0A= Xof "user friendliness" enhancements dealing with deploying just a few = jails or=0A= Xlarge jail environments consisting of 100's of jails.=0A= X=0A= XQjail requires no knowledge of the jail command usage. It uses "nullfs" = for=0A= Xread-only system binaries, sharing one copy of them with all the jails.=0A= X=0A= XUses "mdconfig" to create sparse image jails. Sparse image jails = provide a=0A= Xmethod to limit the total disk space a jail can consume, while only = occupying=0A= Xthe physical disk space of the sum size of the files in the image jail.=0A= X=0A= XAbility to assign ip address with their network device name,=0A= Xso aliases are auto created on jail start and auto removed on jail stop.=0A= X=0A= XAbility to create "ZONE"s of identical qjail systems, each with their = own=0A= Xgroup of jails.=0A= X=0A= XAbility to designate a portion of the jail name as a group prefix so = the =0A= Xcommand being executed will apply to only those jail names matching = that prefix.=0A= X=0A= XQjail reduces the complexities of jail deployments to the novice level. = It has=0A= Xa fully documented manpage written for easy comprehension. Details are = given=0A= Xto facilitate the use of qjail's capabilities to the fullest extent = possible.=0A= X=0A= XWWW: http://sourceforge.net/projects/qjail/=0A= d05ede6e511e945409d9ec363b2f7453=0A= echo x - qjail/pkg-plist=0A= sed 's/^X//' >qjail/pkg-plist << '86541871219192287f62aed437005027'=0A= Xetc/qjail.conf.sample=0A= Xetc/rc.d/jail2=0A= Xetc/rc.d/qjail2=0A= Xbin/qjail=0A= Xshare/examples/qjail/default/qjail.flavor=0A= Xshare/examples/qjail/default/etc/make.conf=0A= Xshare/examples/qjail/default/etc/periodic.conf=0A= Xshare/examples/qjail/default/etc/rc.conf=0A= Xshare/examples/qjail/default/usr/local/etc/sudoers=0A= Xshare/examples/qjail/nullmailer-example/qjail.flavor=0A= Xshare/examples/qjail/nullmailer-example/etc/rc.conf=0A= Xshare/examples/qjail/nullmailer-example/etc/mail/mailer.conf=0A= Xshare/examples/qjail/nullmailer-example/usr/local/etc/nullmailer/remotes=0A= X=0A= X@dirrm share/examples/qjail/default/usr/local/etc/=0A= X@dirrm share/examples/qjail/default/usr/local/=0A= X@dirrm share/examples/qjail/default/usr/=0A= X@dirrm share/examples/qjail/default/etc/=0A= X@dirrm share/examples/qjail/default/=0A= X@dirrm share/examples/qjail/nullmailer-example/usr/local/etc/nullmailer/=0A= X@dirrm share/examples/qjail/nullmailer-example/usr/local/etc/=0A= X@dirrm share/examples/qjail/nullmailer-example/usr/local/=0A= X@dirrm share/examples/qjail/nullmailer-example/usr/=0A= X@dirrm share/examples/qjail/nullmailer-example/etc/mail/=0A= X@dirrm share/examples/qjail/nullmailer-example/etc/=0A= X@dirrm share/examples/qjail/nullmailer-example/=0A= X@dirrm share/examples/qjail/=0A= 86541871219192287f62aed437005027=0A= echo x - qjail/pkg-message=0A= sed 's/^X//' >qjail/pkg-message << '52855aef6c8b745fc2678a3da244739a'=0A= X*=0A= X*=0A= X************************************************************************= *******=0A= X* = *=0A= X* Use the qjail utility to deploy small or large numbers of jails = quickly. *=0A= X* = *=0A= X* Issue this command on the console command line first "man = qjail-intro" *=0A= X* = *=0A= X* After reading that do "man qjail" for the usage details. = *=0A= X* = *=0A= X************************************************************************= *******=0A= X*=0A= X*=0A= 52855aef6c8b745fc2678a3da244739a=0A= echo x - qjail/distinfo=0A= sed 's/^X//' >qjail/distinfo << 'd40ad96dbaed37de64038921d4ac07b1'=0A= XSHA256 (qjail-1.0.tar.bz2) =3D = d3f787490d80ee9ed5129ba7f55287a1267497472b177afac6a35aa5585029c7=0A= XSIZE (qjail-1.0.tar.bz2) =3D 41800=0A= d40ad96dbaed37de64038921d4ac07b1=0A= exit=0A= =0A= ------=_NextPart_000_0000_01CB9795.02D92E60--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201012091640.oB9GeBWs003830>