2012-12-22 21:41:44 +01:00
|
|
|
# Created by: Joe Barbish
|
2011-06-11 23:22:20 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= qjail
|
2017-08-27 03:14:01 +02:00
|
|
|
PORTVERSION= 5.4
|
2011-06-11 23:22:20 +02:00
|
|
|
CATEGORIES= sysutils
|
|
|
|
MASTER_SITES= SF/${PORTNAME}
|
|
|
|
|
2015-04-04 15:08:00 +02:00
|
|
|
MAINTAINER= qjail1@a1poweruser.com
|
2012-03-02 19:43:39 +01:00
|
|
|
COMMENT= Utility to quickly deploy and manage jails
|
2011-06-11 23:22:20 +02:00
|
|
|
|
2015-04-04 15:08:00 +02:00
|
|
|
LICENSE= BERNE-CONVENTION
|
|
|
|
LICENSE_NAME= Berne Convention
|
|
|
|
LICENSE_TEXT= As per the international "Berne Convention" this work is \
|
|
|
|
protected and all rights reserved. \
|
|
|
|
Before qjail may be forked, written permission must be \
|
2015-04-24 08:54:41 +02:00
|
|
|
obtained from the author <qjail1@a1poweruser.com>. \
|
2015-04-04 15:08:00 +02:00
|
|
|
This work is provided 'AS IS' and you use it at your own risk. \
|
|
|
|
Redistribution and use is permitted providing this license \
|
2016-04-01 15:18:17 +02:00
|
|
|
notice is retained.
|
2015-04-04 15:08:00 +02:00
|
|
|
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
|
|
|
|
|
2014-05-15 12:40:19 +02:00
|
|
|
USES= tar:bzip2
|
2011-06-11 23:22:20 +02:00
|
|
|
NO_BUILD= yes
|
2016-07-19 16:42:44 +02:00
|
|
|
NO_ARCH= yes
|
2011-06-11 23:22:20 +02:00
|
|
|
|
|
|
|
do-install:
|
2017-04-21 06:21:40 +02:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/qjail \
|
|
|
|
${STAGEDIR}${PREFIX}/bin
|
2014-05-15 12:40:19 +02:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/qjail.bootime \
|
|
|
|
${STAGEDIR}${PREFIX}/etc/rc.d
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/qjail.portsnap.conf \
|
2015-04-04 15:08:00 +02:00
|
|
|
${STAGEDIR}${PREFIX}/etc/qjail.portsnap.conf.sample
|
2017-02-17 17:49:29 +01:00
|
|
|
.for i in qjail qjail-intro qjail-howto qjail-vnet-howto \
|
|
|
|
qjail-ipv6-testing
|
2014-05-15 12:40:19 +02:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/${i}.8 ${STAGEDIR}${MAN8PREFIX}/man/man8
|
2012-03-02 19:43:39 +01:00
|
|
|
.endfor
|
2014-05-15 12:40:19 +02:00
|
|
|
|
2011-06-11 23:22:20 +02:00
|
|
|
# note examples are mandatory. qjail will not function without them
|
2014-05-15 12:40:19 +02:00
|
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
2015-04-01 13:35:51 +02:00
|
|
|
(cd ${WRKSRC}/examples/ \
|
2017-02-17 17:49:29 +01:00
|
|
|
&& ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR})
|
2011-06-11 23:22:20 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|