diff options
author | Matthew Seaman <matthew@FreeBSD.org> | 2014-02-04 19:11:19 +0000 |
---|---|---|
committer | Matthew Seaman <matthew@FreeBSD.org> | 2014-02-04 19:11:19 +0000 |
commit | eff8767885bd7fcf539dbadca66490b4f1ca3445 (patch) | |
tree | 2a882715f39699b3bb273f920d46c1bec360e690 /sysutils/jail-primer | |
parent | 91721fd606de1d3ea20e4487ef9d852c9856568f (diff) | |
download | ports-eff8767885bd7fcf539dbadca66490b4f1ca3445.tar.gz ports-eff8767885bd7fcf539dbadca66490b4f1ca3445.zip |
Notes
Diffstat (limited to 'sysutils/jail-primer')
-rw-r--r-- | sysutils/jail-primer/Makefile | 52 | ||||
-rw-r--r-- | sysutils/jail-primer/Makefile~ | 54 | ||||
-rw-r--r-- | sysutils/jail-primer/distinfo | 2 | ||||
-rw-r--r-- | sysutils/jail-primer/pkg-descr | 12 | ||||
-rw-r--r-- | sysutils/jail-primer/pkg-message | 8 | ||||
-rw-r--r-- | sysutils/jail-primer/pkg-plist | 18 |
6 files changed, 146 insertions, 0 deletions
diff --git a/sysutils/jail-primer/Makefile b/sysutils/jail-primer/Makefile new file mode 100644 index 000000000000..dbfe45f944e2 --- /dev/null +++ b/sysutils/jail-primer/Makefile @@ -0,0 +1,52 @@ +# Created by: Joe Barbish <jail-primer@a1poweruser.com> +# $FreeBSD$ + +PORTNAME= jail-primer +PORTVERSION= 0.0 +CATEGORIES= sysutils +MASTER_SITES= SF/${PORTNAME} + +MAINTAINER= jail-primer@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> diff --git a/sysutils/jail-primer/Makefile~ b/sysutils/jail-primer/Makefile~ new file mode 100644 index 000000000000..628850e816bb --- /dev/null +++ b/sysutils/jail-primer/Makefile~ @@ -0,0 +1,54 @@ +# Created by: Joe Barbish <jail-primer@a1poweruser.com> +# $FreeBSD$ + +PORTNAME= jail-primer +PORTVERSION= 0.0 +CATEGORIES= sysutils +MASTER_SITES= SF/${PORTNAME} + +MAINTAINER= jail-primer@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> diff --git a/sysutils/jail-primer/distinfo b/sysutils/jail-primer/distinfo new file mode 100644 index 000000000000..4a84755c4c51 --- /dev/null +++ b/sysutils/jail-primer/distinfo @@ -0,0 +1,2 @@ +SHA256 (jail-primer-0.0.tar.bz2) = 73a43ca3eaf4e5dd9860fb1202c96c02be4202ebfd7d90bd17582548b6d5cce7 +SIZE (jail-primer-0.0.tar.bz2) = 22379 diff --git a/sysutils/jail-primer/pkg-descr b/sysutils/jail-primer/pkg-descr new file mode 100644 index 000000000000..5485ed903d4d --- /dev/null +++ b/sysutils/jail-primer/pkg-descr @@ -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/ + diff --git a/sysutils/jail-primer/pkg-message b/sysutils/jail-primer/pkg-message new file mode 100644 index 000000000000..aea8c9cf894e --- /dev/null +++ b/sysutils/jail-primer/pkg-message @@ -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. + +# +# diff --git a/sysutils/jail-primer/pkg-plist b/sysutils/jail-primer/pkg-plist new file mode 100644 index 000000000000..ad27237a1179 --- /dev/null +++ b/sysutils/jail-primer/pkg-plist @@ -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%% |