aboutsummaryrefslogtreecommitdiffstats
path: root/ports-mgmt/jailaudit/Makefile
blob: bc9738dc4a98710d1930e3eaa0c9a293416db018 (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
# New ports collection makefile for:    jailaudit
# Date created:             21 October 2005
# Whom:                 cryx
#
# $FreeBSD$
#

PORTNAME=   jailaudit
PORTVERSION=    1.2
CATEGORIES= security
MASTER_SITES=   http://outpost.h3q.com/software/jailaudit/

MAINTAINER= cryx-ports@h3q.com
COMMENT=    Script to generate portaudit reports for jails

RUN_DEPENDS=    ${LOCALBASE}/sbin/portaudit:${PORTSDIR}/security/portaudit

USE_BZIP2=  yes

PERIODICDIR?=   ${PREFIX}/etc/periodic
REPORTDIR?= ${PREFIX}/jailaudit/reports
TMPDIR?=    ${PREFIX}/jailaudit/tmp

PLIST_SUB+= PERIODICDIR="${PERIODICDIR:S,^${PREFIX}/,,}" \
        REPORTDIR="${REPORTDIR:S,^${PREFIX}/,,}" \
        TMPDIR="${TMPDIR:S,^${PREFIX}/,,}"

.include <bsd.port.pre.mk>

.if ( ${OSVERSION} < 501000 )
IGNORE=     needs the jls utility which was added in FreeBSD 5.1
.endif

.include <bsd.port.post.mk>