2013-02-27 13:03:46 +00:00
|
|
|
# Created by: Philipp Wuensche <cryx-ports@h3q.com>
|
2005-11-25 02:31:06 +00:00
|
|
|
|
|
|
|
PORTNAME= jailaudit
|
2020-06-02 11:09:45 +00:00
|
|
|
PORTVERSION= 1.6.1
|
2007-02-05 01:08:46 +00:00
|
|
|
CATEGORIES= ports-mgmt
|
2005-11-25 02:31:06 +00:00
|
|
|
MASTER_SITES= http://outpost.h3q.com/software/jailaudit/
|
|
|
|
|
|
|
|
MAINTAINER= cryx-ports@h3q.com
|
|
|
|
COMMENT= Script to generate portaudit reports for jails
|
|
|
|
|
2014-02-14 10:01:37 +00:00
|
|
|
LICENSE= Beerware
|
|
|
|
LICENSE_NAME= Beerware
|
|
|
|
LICENSE_TEXT= "THE BEER-WARE LICENCE": Philipp Wuensche <cryx-ports@h3q.com> \
|
|
|
|
wrote this software. As long as you retain this notice you can \
|
|
|
|
do whatever you want with this stuff. If we meet some day, and \
|
|
|
|
you think this stuff is worth it, you can buy me a beer in return.
|
2014-12-07 00:07:47 +00:00
|
|
|
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
|
2005-11-25 02:31:06 +00:00
|
|
|
|
2016-10-05 18:45:56 +00:00
|
|
|
USES= tar:bzip2
|
|
|
|
NO_ARCH= yes
|
2005-11-25 02:31:06 +00:00
|
|
|
|
|
|
|
PERIODICDIR?= ${PREFIX}/etc/periodic
|
|
|
|
REPORTDIR?= ${PREFIX}/jailaudit/reports
|
2012-01-30 13:54:34 +00:00
|
|
|
XTMPDIR?= ${PREFIX}/jailaudit/tmp
|
2005-11-25 02:31:06 +00:00
|
|
|
|
2016-10-05 18:45:56 +00:00
|
|
|
PLIST_SUB= PERIODICDIR="${PERIODICDIR:S,^${PREFIX}/,,}" \
|
2005-11-25 02:31:06 +00:00
|
|
|
REPORTDIR="${REPORTDIR:S,^${PREFIX}/,,}" \
|
2012-01-30 13:54:34 +00:00
|
|
|
XTMPDIR="${XTMPDIR:S,^${PREFIX}/,,}"
|
2005-11-25 02:31:06 +00:00
|
|
|
|
2014-02-14 10:01:37 +00:00
|
|
|
do-install:
|
2016-10-05 18:45:56 +00:00
|
|
|
@${MKDIR} ${STAGEDIR}${PERIODICDIR}/security
|
2014-02-14 10:01:37 +00:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/jailaudit ${STAGEDIR}${PREFIX}/bin
|
2016-10-05 18:45:56 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/jailaudit.conf.sample ${STAGEDIR}${PREFIX}/etc
|
2014-02-14 10:01:37 +00:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/410.jailaudit ${STAGEDIR}${PERIODICDIR}/security
|
2016-10-05 18:45:56 +00:00
|
|
|
@${MKDIR} ${STAGEDIR}${REPORTDIR}
|
|
|
|
@${MKDIR} ${STAGEDIR}${XTMPDIR}
|
2014-02-14 10:01:37 +00:00
|
|
|
|
2016-10-05 18:45:56 +00:00
|
|
|
.include <bsd.port.mk>
|