2012-12-22 21:41:44 +01:00
|
|
|
# Created by: Joe Barbish
|
2011-06-11 23:22:20 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= qjail
|
2016-06-12 15:13:32 +02:00
|
|
|
PORTVERSION= 4.8
|
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-06-12 15:13:32 +02:00
|
|
|
CONFLICTS_INSTALL= qjail-2.* qjail-3.*
|
2011-06-11 23:22:20 +02:00
|
|
|
|
|
|
|
do-install:
|
2014-05-15 12:40:19 +02:00
|
|
|
.for i in qjail qjail.vnet.be qjail.vnet.ng
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/${i} ${STAGEDIR}${PREFIX}/bin
|
|
|
|
.endfor
|
|
|
|
${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
|
2013-06-03 00:13:33 +02:00
|
|
|
.for i in qjail qjail-intro qjail-howto
|
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/ \
|
2014-05-15 12:40:19 +02:00
|
|
|
&& ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR})
|
2011-06-11 23:22:20 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|