svn commit: r342591 - in head/sysutils: . jail-primer
Matthew Seaman
matthew at FreeBSD.org
Tue Feb 4 19:11:21 UTC 2014
Author: matthew
Date: Tue Feb 4 19:11:19 2014
New Revision: 342591
URL: http://svnweb.freebsd.org/changeset/ports/342591
QAT: https://qat.redports.org/buildarchive/r342591/
Log:
A simplified prospective on jail configuration and usage. Complete easy to
understand detailed documentation on creating a Third Generation Jail System
Solutiom which is based on a single filesystem that contains all of the
required operating system executable libraries which is shared with each
of the individual jails.
The legacy rc.conf method, Modern rc.conf method, and the jail(8) jail.conf
methods are documented. Script are included that perform the tasks explained
in the documentation.
WWW: http://jail-primer.sourceforge.net/
Changes beyond the original submission:
* Stagify
* Temporarily drop LICENSE from Makefile until the submitter can
update his distfiles.
* Only one WWW reference in the pkg-desc file
PR: ports/181945
Submitted by: Joe Barbish <jail-primer at a1poweruser.com>
Added:
head/sysutils/jail-primer/
head/sysutils/jail-primer/Makefile (contents, props changed)
head/sysutils/jail-primer/Makefile~ (contents, props changed)
head/sysutils/jail-primer/distinfo (contents, props changed)
head/sysutils/jail-primer/pkg-descr (contents, props changed)
head/sysutils/jail-primer/pkg-message (contents, props changed)
head/sysutils/jail-primer/pkg-plist (contents, props changed)
Modified:
head/sysutils/Makefile
Modified: head/sysutils/Makefile
==============================================================================
--- head/sysutils/Makefile Tue Feb 4 19:10:51 2014 (r342590)
+++ head/sysutils/Makefile Tue Feb 4 19:11:19 2014 (r342591)
@@ -409,6 +409,7 @@
SUBDIR += isomd5sum
SUBDIR += ispman
SUBDIR += istatd
+ SUBDIR += jail-primer
SUBDIR += jail2
SUBDIR += jailadmin
SUBDIR += jailctl
Added: head/sysutils/jail-primer/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/jail-primer/Makefile Tue Feb 4 19:11:19 2014 (r342591)
@@ -0,0 +1,52 @@
+# Created by: Joe Barbish <jail-primer at a1poweruser.com>
+# $FreeBSD$
+
+PORTNAME= jail-primer
+PORTVERSION= 0.0
+CATEGORIES= sysutils
+MASTER_SITES= SF/${PORTNAME}
+
+MAINTAINER= jail-primer at a1poweruser.com
+COMMENT= Third Generation Jail System Solution
+
+USE_BZIP2= yes
+NO_BUILD= yes
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/jail.pristine.fetch \
+ ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/jail.install.system \
+ ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/jail.create.jailcell \
+ ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/jail.delete.jailcell \
+ ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/jail.jailconf.def.create \
+ ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/jail.jailconf.def.delete \
+ ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/jail.jailconf.start \
+ ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/jail.jailconf.stop \
+ ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/jail.rcconf.def.create \
+ ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/jail.rcconf.def.delete \
+ ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/jail.rcconf.start \
+ ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/jail.rcconf.stop \
+ ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/jail.ssh.jailcell \
+ ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/jail.jailconf.bootime \
+ ${STAGEDIR}${PREFIX}/etc/rc.d
+ ${INSTALL_SCRIPT} ${WRKSRC}/jail.rcconf.bootime \
+ ${STAGEDIR}${PREFIX}/etc/rc.d
+ ${INSTALL_MAN} ${WRKSRC}/jail-primer.8 \
+ ${STAGEDIR}${MAN8PREFIX}/man/man8
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/jail-primer.html \
+ ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>
Added: head/sysutils/jail-primer/Makefile~
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/jail-primer/Makefile~ Tue Feb 4 19:11:19 2014 (r342591)
@@ -0,0 +1,54 @@
+# Created by: Joe Barbish <jail-primer at a1poweruser.com>
+# $FreeBSD$
+
+PORTNAME= jail-primer
+PORTVERSION= 0.0
+CATEGORIES= sysutils
+MASTER_SITES= SF/${PORTNAME}
+
+MAINTAINER= jail-primer at a1poweruser.com
+COMMENT= Third Generation Jail System Solution
+
+LICENSE= BSD
+
+USE_BZIP2= yes
+NO_BUILD= yes
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/jail.pristine.fetch \
+ ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/jail.install.system \
+ ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/jail.create.jailcell \
+ ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/jail.delete.jailcell \
+ ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/jail.jailconf.def.create \
+ ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/jail.jailconf.def.delete \
+ ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/jail.jailconf.start \
+ ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/jail.jailconf.stop \
+ ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/jail.rcconf.def.create \
+ ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/jail.rcconf.def.delete \
+ ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/jail.rcconf.start \
+ ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/jail.rcconf.stop \
+ ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/jail.ssh.jailcell \
+ ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/jail.jailconf.bootime \
+ ${STAGEDIR}${PREFIX}/etc/rc.d
+ ${INSTALL_SCRIPT} ${WRKSRC}/jail.rcconf.bootime \
+ ${STAGEDIR}${PREFIX}/etc/rc.d
+ ${INSTALL_MAN} ${WRKSRC}/jail-primer.8 \
+ ${STAGEDIR}${MAN8PREFIX}/man/man8
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/jail-primer.html \
+ ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>
Added: head/sysutils/jail-primer/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/jail-primer/distinfo Tue Feb 4 19:11:19 2014 (r342591)
@@ -0,0 +1,2 @@
+SHA256 (jail-primer-0.0.tar.bz2) = 73a43ca3eaf4e5dd9860fb1202c96c02be4202ebfd7d90bd17582548b6d5cce7
+SIZE (jail-primer-0.0.tar.bz2) = 22379
Added: head/sysutils/jail-primer/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/jail-primer/pkg-descr Tue Feb 4 19:11:19 2014 (r342591)
@@ -0,0 +1,12 @@
+A simplified prospective on jail configuration and usage. Complete easy to
+understand detailed documentation on creating a Third Generation Jail System
+Solutiom which is based on a single filesystem that contains all of the
+required operating system executable libraries which is shared with each
+of the individual jails.
+
+The legacy rc.conf method, Modern rc.conf method, and the jail(8) jail.conf
+methods are documented. Script are included that perform the tasks explained
+in the documentation.
+
+WWW: http://jail-primer.sourceforge.net/
+
Added: head/sysutils/jail-primer/pkg-message
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/jail-primer/pkg-message Tue Feb 4 19:11:19 2014 (r342591)
@@ -0,0 +1,8 @@
+#
+#
+
+First issue "rehash" command to enable the jail-primer scripts (if using csh).
+Then issue "man jail-primer" to read about jail-primer usage.
+
+#
+#
Added: head/sysutils/jail-primer/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/jail-primer/pkg-plist Tue Feb 4 19:11:19 2014 (r342591)
@@ -0,0 +1,18 @@
+bin/jail.create.jailcell
+bin/jail.delete.jailcell
+bin/jail.install.system
+bin/jail.jailconf.def.create
+bin/jail.jailconf.def.delete
+bin/jail.jailconf.start
+bin/jail.jailconf.stop
+bin/jail.pristine.fetch
+bin/jail.rcconf.def.create
+bin/jail.rcconf.def.delete
+bin/jail.rcconf.start
+bin/jail.rcconf.stop
+bin/jail.ssh.jailcell
+etc/rc.d/jail.jailconf.bootime
+etc/rc.d/jail.rcconf.bootime
+man/man8/jail-primer.8.gz
+%%PORTDOCS%%%%DOCSDIR%%/jail-primer.html
+%%PORTDOCS%%@dirrmtry %%DOCSDIR%%
More information about the svn-ports-head
mailing list