1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00
freebsd-ports/security/bsmtrace3/Makefile
Kyle Evans fc4cda8929 security/bsmtrace3: update to the 3.1 -fno-common build fix
The only changes between 3.0 and 3.1 are a change to the README to note work
sponsored by an organization, and the -fno-common build fix.

-fno-common is now the default in LLVM 11/GCC 10.

PR:		248756
Approved by:	csjp (maintainer, also discussed with)
MFH:		2020Q3 (-fno-common build fix)
2020-08-24 00:26:55 +00:00

45 lines
913 B
Makefile

# $FreeBSD$
PORTNAME= bsmtrace
PORTVERSION= 3.1
DISTVERSIONPREFIX= v
CATEGORIES= security
PKGNAMESUFFIX= 3
MAINTAINER= csjp@FreeBSD.org
COMMENT= BSM based intrusion detection system
LICENSE= BSD2CLAUSE
LIB_DEPENDS= libpcre.so:devel/pcre
CONFLICTS_INSTALL= bsmtrace-[0-9]*
USE_GITHUB= yes
GH_ACCOUNT= openbsm
SUB_FILES= pkg-message
MAKE_JOBS_UNSAFE= yes
OPTIONS_DEFINE= EXAMPLES
pre-build:
${REINPLACE_CMD} -e \
's,/etc/bsmtrace.conf,${PREFIX}/etc/bsmtrace.conf,' \
${WRKSRC}/config.h
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 \
${STAGEDIR}${MAN1PREFIX}/share/man/man1
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.conf.5 \
${STAGEDIR}${MAN5PREFIX}/share/man/man5
do-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>