# 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: # # jail_tools # jail_tools/pkg-plist # jail_tools/pkg-descr # jail_tools/distinfo # jail_tools/Makefile # echo c - jail_tools mkdir -p jail_tools > /dev/null 2>&1 echo x - jail_tools/pkg-plist sed 's/^X//' >jail_tools/pkg-plist << 'END-of-jail_tools/pkg-plist' Xetc/jail.conf.dist Xetc/jailtab.dist Xetc/rc.d/jail.sh Xsbin/jail_delete Xsbin/jail_install Xsbin/jail_ps Xsbin/jail_start Xsbin/jail_stop Xsbin/jail_update X%%PORTDOCS%%%%DOCSDIR%%/HISTORY X%%PORTDOCS%%%%DOCSDIR%%/LICENSE X%%PORTDOCS%%%%DOCSDIR%%/README X%%PORTDOCS%%%%DOCSDIR%%/README.bak X%%PORTDOCS%%%%DOCSDIR%%/README.virtual_disks X%%PORTDOCS%%%%DOCSDIR%%/README.virtual_disks.bak X%%PORTDOCS%%%%DOCSDIR%%/README.x11 X%%PORTDOCS%%%%DOCSDIR%%/README.x11.bak X%%PORTDOCS%%@dirrm %%DOCSDIR%% END-of-jail_tools/pkg-plist echo x - jail_tools/pkg-descr sed 's/^X//' >jail_tools/pkg-descr << 'END-of-jail_tools/pkg-descr' XThe man jail provides an overview and step-by-step setup for a jail. Based on Xman jail we developed a few shell-scripts collection called JailTools (aka Xjail_tools) which helps to install, start, stop and delete jails. X XTwo main installation types are available, either X X * full install, a full autonomous jail, and X * light install, where /usr of the jail-host is mounted read-only X XAdditional the two ways to do the installation is available: X X * shared disk where the host disk is shared, or X * dedicated disk where a file-based disk is used, which enables to copy, X backup and restore a jail system disk easily. X XYou even can also attach a virtual X11 screen to each jail, which can be Xconnected with any VNCviewer or even an java-enabled web-browser. X XWe use the jail_tools for testing several /usr/ports versions, and the package Xsystem and custom developed package manipulation scripts. Maybe you have also Xuse for those scripts. X XWWW: http://www.the-labs.com/FreeBSD/JailTools/ END-of-jail_tools/pkg-descr echo x - jail_tools/distinfo sed 's/^X//' >jail_tools/distinfo << 'END-of-jail_tools/distinfo' XMD5 (jail_tools-0.10.tar.gz) = d2f62b8833a5752d4fdfbfbcaeb82424 XSIZE (jail_tools-0.10.tar.gz) = 11409 END-of-jail_tools/distinfo echo x - jail_tools/Makefile sed 's/^X//' >jail_tools/Makefile << 'END-of-jail_tools/Makefile' X# New ports collection makefile for: jail_tools X# Date created: 07 January 2005 X# Whom: Mezz X# X# $FreeBSD$ X# X XPORTNAME= jail_tools XPORTVERSION= 0.10 XCATEGORIES= sysutils XMASTER_SITES= http://www.the-labs.com/FreeBSD/JailTools/ X XMAINTAINER= mezz@FreeBSD.org XCOMMENT= A few shell-scripts help to install, start, stop and delete jails X XUSE_REINPLACE= yes X Xpost-patch: X @${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' \ X ${WRKSRC}/Makefile ${WRKSRC}/README* ${WRKSRC}/jail* X.if !defined(NOPORTDOCS) X @${REINPLACE_CMD} -e 's|cp README|cp HISTORY LICENSE README|g' \ X ${WRKSRC}/Makefile X.else X @${REINPLACE_CMD} -e 's|cp README|#cp README|g ; \ X s|@install -d $${PREFIX}/share|#@install -d ${PREFIX}/share|g' \ X ${WRKSRC}/Makefile X.endif X X.include END-of-jail_tools/Makefile exit