2013-09-20 22:55:24 +00:00
|
|
|
# Created by: alm
|
2007-07-15 17:46:42 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= bsmtrace
|
2014-02-09 20:29:37 +00:00
|
|
|
PORTVERSION= 1.4
|
|
|
|
PORTREVISION= 0
|
2007-07-15 17:46:42 +00:00
|
|
|
CATEGORIES= security
|
2015-05-14 10:15:04 +00:00
|
|
|
MASTER_SITES= LOCAL/csjp
|
2007-07-15 17:46:42 +00:00
|
|
|
|
|
|
|
MAINTAINER= alm@FreeBSD.org
|
|
|
|
COMMENT= BSM based intrusion detection system
|
|
|
|
|
2017-07-23 09:01:03 +00:00
|
|
|
LICENSE= BSD2CLAUSE
|
|
|
|
|
2007-07-15 17:46:42 +00:00
|
|
|
SUB_FILES= pkg-message
|
|
|
|
|
2012-05-25 17:15:53 +00:00
|
|
|
MAKE_JOBS_UNSAFE= yes
|
2007-07-15 17:46:42 +00:00
|
|
|
|
2014-02-08 20:54:44 +00:00
|
|
|
OPTIONS_DEFINE= PCRE EXAMPLES
|
|
|
|
|
2017-07-23 09:01:03 +00:00
|
|
|
PCRE_LIB_DEPENDS= libpcre.so:devel/pcre
|
|
|
|
PCRE_MAKE_ENV= PCRE=1
|
|
|
|
PCRE_USES= localbase
|
|
|
|
PCRE_LIBS= -lpcre
|
2007-07-15 17:46:42 +00:00
|
|
|
|
|
|
|
pre-build:
|
|
|
|
${REINPLACE_CMD} -e \
|
|
|
|
's,/etc/bsmtrace.conf,${PREFIX}/etc/bsmtrace.conf,' \
|
|
|
|
${WRKSRC}/config.h
|
|
|
|
|
|
|
|
do-install:
|
2014-02-08 20:54:44 +00:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin
|
2017-07-23 09:01:03 +00:00
|
|
|
|
2014-02-08 20:54:44 +00:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.conf.5 \
|
|
|
|
${STAGEDIR}${MAN5PREFIX}/man/man5
|
2007-07-15 17:46:42 +00:00
|
|
|
|
2017-07-23 09:01:03 +00:00
|
|
|
do-install-EXAMPLES-on:
|
|
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
|
2012-05-25 17:15:53 +00:00
|
|
|
.include <bsd.port.mk>
|