freebsd-ports/security/base-audit/Makefile
Dan Langille a5bd3edbfb security/base-audit: Add the ability to specify ignored jails
security_status_baseaudit_jails_ignore is a space delimited list of jails
to ignore.

If non-empty, the code iterates over security_status_baseaudit_jails_ignore
to avoid partial matches (i.e. ignore foo.bar, but not foo). If there is a
better way to do that without looping, please let me know.

Example use case: I have jails which purposely are older vulnerable versions
for testing.

PR:		257685
Approved by:	000.fbsd@quip.cz (maintainer)
2021-08-10 02:03:29 +00:00

31 lines
651 B
Makefile

# Created by: Miroslav Lachman
PORTNAME= base-audit
PORTVERSION= 0.5
CATEGORIES= security
MASTER_SITES= # none
DISTFILES= # none
MAINTAINER= 000.fbsd@quip.cz
COMMENT= Daily periodic check of vulnerabilities in base system
LICENSE= BSD3CLAUSE
RUN_DEPENDS= ${LOCALBASE}/sbin/pkg:${PKG_ORIGIN}
NO_ARCH= yes
NO_BUILD= yes
NO_INSTALL= yes
SUB_FILES= 405.pkg-base-audit
PERIODIC_SECURITY= etc/periodic/security
PLIST_FILES= ${PERIODIC_SECURITY}/405.pkg-base-audit
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/${PERIODIC_SECURITY}
${INSTALL_SCRIPT} ${WRKDIR}/405.pkg-base-audit \
${STAGEDIR}${PREFIX}/${PERIODIC_SECURITY}
.include <bsd.port.mk>