mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
859cbffe33
- add LICENSE (Beerware, maintainer is author of the port) - support staging - add dependency on ports-mgmt/portaudit for FreeBSD < 10 PR: 186757 Submitted by: Philipp Wuensche <cryx-freebsd@h3q.com> (maintainer)
49 lines
1.4 KiB
Makefile
49 lines
1.4 KiB
Makefile
# Created by: Philipp Wuensche <cryx-ports@h3q.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= jailaudit
|
|
PORTVERSION= 1.5
|
|
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= auto-accept
|
|
|
|
USE_BZIP2= 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}/,,}"
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} < 1000000
|
|
RUN_DEPENDS= ${LOCALBASE}/sbin/portaudit:${PORTSDIR}/ports-mgmt/portaudit
|
|
.endif
|
|
|
|
pre-install:
|
|
${MKDIR} ${STAGEDIR}${PERIODICDIR}/security
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/jailaudit ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_SCRIPT} ${WRKSRC}/jailaudit.conf.sample ${STAGEDIR}${PREFIX}/etc
|
|
${INSTALL_SCRIPT} ${WRKSRC}/410.jailaudit ${STAGEDIR}${PERIODICDIR}/security
|
|
|
|
post-install:
|
|
${MKDIR} ${STAGEDIR}${REPORTDIR}
|
|
${MKDIR} ${STAGEDIR}${XTMPDIR}
|
|
|
|
.include <bsd.port.post.mk>
|