blob: 889e4fc92406a93d14abd3391270cbf24e0571e3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Created by: Philipp Wuensche <cryx-ports@h3q.com>
# $FreeBSD$
PORTNAME= jailaudit
PORTVERSION= 1.6.1
CATEGORIES= ports-mgmt
MASTER_SITES= http://outpost.h3q.com/software/jailaudit/
MAINTAINER= cryx-ports@h3q.com
COMMENT= Script to generate portaudit reports for jails
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.
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
USES= tar:bzip2
NO_ARCH= yes
PERIODICDIR?= ${PREFIX}/etc/periodic
REPORTDIR?= ${PREFIX}/jailaudit/reports
XTMPDIR?= ${PREFIX}/jailaudit/tmp
PLIST_SUB= PERIODICDIR="${PERIODICDIR:S,^${PREFIX}/,,}" \
REPORTDIR="${REPORTDIR:S,^${PREFIX}/,,}" \
XTMPDIR="${XTMPDIR:S,^${PREFIX}/,,}"
do-install:
@${MKDIR} ${STAGEDIR}${PERIODICDIR}/security
${INSTALL_SCRIPT} ${WRKSRC}/jailaudit ${STAGEDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/jailaudit.conf.sample ${STAGEDIR}${PREFIX}/etc
${INSTALL_SCRIPT} ${WRKSRC}/410.jailaudit ${STAGEDIR}${PERIODICDIR}/security
@${MKDIR} ${STAGEDIR}${REPORTDIR}
@${MKDIR} ${STAGEDIR}${XTMPDIR}
.include <bsd.port.mk>
|