Date: Wed, 1 Jun 2011 14:50:09 GMT From: Fbsd8 <fbsd8@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: <201106011450.p51Eo9u0068361@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: Fbsd8 <fbsd8@a1poweruser.com> To: bug-followup@freebsd.org Cc: Subject: Re: ports/148777: [New Port] sysutils/qjail: Utility to deploy large number of jails quickly Date: Wed, 01 Jun 2011 10:23:47 -0400 This is a multi-part message in MIME format. --------------040601090203030009020604 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit --------------040601090203030009020604 Content-Type: text/plain; name="qjail.portMakefiles.shar" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="qjail.portMakefiles.shar" # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # qjail # qjail/pkg-plist # qjail/pkg-message # qjail/pkg-descr # qjail/distinfo # qjail/Makefile # echo c - qjail mkdir -p qjail > /dev/null 2>&1 echo x - qjail/pkg-plist sed 's/^X//' >qjail/pkg-plist << '86541871219192287f62aed437005027' Xetc/qjail.conf.sample Xetc/rc.d/qjail-jail2 Xetc/rc.d/qjail2 Xbin/qjail Xshare/examples/qjail/default/qjail.flavor Xshare/examples/qjail/default/etc/make.conf Xshare/examples/qjail/default/etc/periodic.conf Xshare/examples/qjail/default/etc/rc.conf Xshare/examples/qjail/default/usr/local/etc/sudoers Xshare/examples/qjail/nullmailer-example/qjail.flavor Xshare/examples/qjail/nullmailer-example/etc/rc.conf Xshare/examples/qjail/nullmailer-example/etc/mail/mailer.conf Xshare/examples/qjail/nullmailer-example/usr/local/etc/nullmailer/remotes X X@dirrm share/examples/qjail/default/usr/local/etc/ X@dirrm share/examples/qjail/default/usr/local/ X@dirrm share/examples/qjail/default/usr/ X@dirrm share/examples/qjail/default/etc/ X@dirrm share/examples/qjail/default/ X@dirrm share/examples/qjail/nullmailer-example/usr/local/etc/nullmailer/ X@dirrm share/examples/qjail/nullmailer-example/usr/local/etc/ X@dirrm share/examples/qjail/nullmailer-example/usr/local/ X@dirrm share/examples/qjail/nullmailer-example/usr/ X@dirrm share/examples/qjail/nullmailer-example/etc/mail/ X@dirrm share/examples/qjail/nullmailer-example/etc/ X@dirrm share/examples/qjail/nullmailer-example/ X@dirrm share/examples/qjail/ 86541871219192287f62aed437005027 echo x - qjail/pkg-message sed 's/^X//' >qjail/pkg-message << '52855aef6c8b745fc2678a3da244739a' X* X* X******************************************************************************* X* * X* Use the qjail utility to deploy small or large numbers of jails quickly. * X* * X* First issue "rehash" command to enable the qjail command. * X* Then issue "man qjail-intro" to read the qjail introduction. * X* After reading that do "man qjail" for the usage details. * X* * X******************************************************************************* X* X* 52855aef6c8b745fc2678a3da244739a echo x - qjail/pkg-descr sed 's/^X//' >qjail/pkg-descr << 'd05ede6e511e945409d9ec363b2f7453' XQjail [ q = quick ] is a 4th generation wrapper for the basic chroot jail Xsystem that includes security and performance enhancements. Plus a new level Xof "user friendliness" enhancements dealing with deploying just a few jails or Xlarge jail environments consisting of 100's of jails. X XQjail requires no knowledge of the jail command usage. It uses "nullfs" for Xread-only system binaries, sharing one copy of them with all the jails. X XUses "mdconfig" to create sparse image jails. Sparse image jails provide a Xmethod to limit the total disk space a jail can consume, while only occupying Xthe physical disk space of the sum size of the files in the image jail. X XAbility to assign ip address with their network device name, Xso aliases are auto created on jail start and auto removed on jail stop. X XAbility to create "ZONE"s of identical qjail systems, each with their own Xgroup of jails. X XAbility to designate a portion of the jail name as a group prefix so the Xcommand being executed will apply to only those jail names matching that prefix. X XWWW: http://sourceforge.net/projects/qjail/ X http://qjail.sourceforge.net/ d05ede6e511e945409d9ec363b2f7453 echo x - qjail/distinfo sed 's/^X//' >qjail/distinfo << 'd40ad96dbaed37de64038921d4ac07b1' XSHA256 (qjail-1.0.tar.bz2) = c28fd8663f96c5bb03f6a497d7a1953ed7ecc2f8f2690ed17a8760f73a10cf94 XSIZE (qjail-1.0.tar.bz2) = 40214 d40ad96dbaed37de64038921d4ac07b1 echo x - qjail/Makefile sed 's/^X//' >qjail/Makefile << '7da10d06f45c8d9771da27572b9a6525' X# New ports collection makefile for: qjail X# Date created: July 22 2010 X# Whom: Joe Barbish X# X# $FreeBSD$ X XPORTNAME= qjail XPORTVERSION= 1.0 XCATEGORIES= sysutils XMASTER_SITES= SF/${PORTNAME} X XMAINTAINER= qjail@a1poweruser.com XCOMMENT= Utility to quickly deploy and manage large numbers of jails X XLICENSE= BSD XUSE_BZIP2= yes XNO_BUILD= yes X Xdo-install: X ${INSTALL_SCRIPT} ${WRKSRC}/qjail ${PREFIX}/bin/ X ${INSTALL_SCRIPT} ${WRKSRC}/qjail2 ${PREFIX}/etc/rc.d/ X ${INSTALL_SCRIPT} ${WRKSRC}/qjail-jail2 ${PREFIX}/etc/rc.d/ X ${INSTALL_DATA} ${WRKSRC}/qjail.conf.sample ${PREFIX}/etc/ X ${INSTALL_MAN} ${WRKSRC}/qjail.8 ${MAN8PREFIX}/man/man8/ X ${INSTALL_MAN} ${WRKSRC}/qjail-intro.8 ${MAN8PREFIX}/man/man8/ X ${INSTALL_MAN} ${WRKSRC}/qjail.conf.8 ${MAN8PREFIX}/man/man8/ X X# Note: Examples are mandatory. qjail will not function without them X ${MKDIR} ${EXAMPLESDIR} X (cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}) X Xpost-install: X ${CAT} ${PKGMESSAGE} X X.include <bsd.port.mk> 7da10d06f45c8d9771da27572b9a6525 exit --------------040601090203030009020604--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201106011450.p51Eo9u0068361>