freebsd-ports/ports-mgmt/jailaudit/Makefile
Edwin Groothuis 172444444e [NEW PORT] security/jailaudit: Generate portaudit reports for jails from the hostsystem
This port contains a script for generating portaudit reports
	for jails running on a FreeBSD system.

	Jailaudit runs in the Host-system and uses portaudit to
	create reports for every jail currently running.

	It can also be used to send specific report-mails to the
	owner of a jail by running it as a cronjob.

	/etc/crontab example:
	0   4   *   *   *   *   root   /usr/local/bin/jailaudit mail admin@foo.bar "foo.example.com bar.example.com"

	Sends reports-mails of the jails with the hostnames
	foo.example.com and bar.example.com to the mailaddr.
	admin@example.com.

	WWW: http://outpost.h3q.org/software/jailaudit/

PR:		ports/87581
Submitted by:	Philipp Wuensche <cryx-ports@h3q.com>
2005-11-25 02:31:06 +00:00

34 lines
818 B
Makefile

# New ports collection makefile for: jailaudit
# Date created: 21 October 2005
# Whom: cryx
#
# $FreeBSD$
#
PORTNAME= jailaudit
PORTVERSION= 1.1
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>