Changeset View
Changeset View
Standalone View
Standalone View
security/openbsm-devel/Makefile
Show All 26 Lines | |||||
USERS= auditdistd | USERS= auditdistd | ||||
GROUPS= audit | GROUPS= audit | ||||
VARAUDIT= /var/audit | VARAUDIT= /var/audit | ||||
.include <bsd.port.pre.mk> | .include <bsd.port.pre.mk> | ||||
.if ${OSVERSION} < 902000 && ${OSVERSION} >= 800000 | .if ${OSVERSION} < 902000 | ||||
NEEDVARDIRS= "" | NEEDVARDIRS= "" | ||||
.else | .else | ||||
NEEDVARDIRS= "@comment " | NEEDVARDIRS= "@comment " | ||||
.endif | .endif | ||||
.if ${OSVERSION} <= 800000 | |||||
IGNORE= requires FreeBSD 8.x or above | |||||
.endif | |||||
.if ${OSVERSION} >= 1000000 | .if ${OSVERSION} >= 1000000 | ||||
IGNORE= is not needed under FreeBSD 10.x or higher | IGNORE= is not needed under FreeBSD 10.x or higher | ||||
.endif | .endif | ||||
post-install: | post-install: | ||||
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libauditd.so.0.0.0 | @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libauditd.so.0.0.0 | ||||
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libbsm.so.0.0.0 | @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libbsm.so.0.0.0 | ||||
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/auditfilter_noop.so.0.0.0 | @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/auditfilter_noop.so.0.0.0 | ||||
.if ${OSVERSION} < 902000 && ${OSVERSION} >= 800000 | .if ${OSVERSION} < 902000 | ||||
@${MKDIR} -m 0770 \ | @${MKDIR} -m 0770 \ | ||||
${STAGEDIR}${VARAUDIT}/dist ${STAGEDIR}${VARAUDIT}/remote | ${STAGEDIR}${VARAUDIT}/dist ${STAGEDIR}${VARAUDIT}/remote | ||||
.endif | .endif | ||||
.include <bsd.port.post.mk> | .include <bsd.port.post.mk> |