aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2017-07-23 17:01:03 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2017-07-23 17:01:03 +0800
commit60e6a0a66a637974b33e51ba750ed2860ffeff05 (patch)
tree6d905cfc459cf40abddd780ce2833ba4b0414713 /security
parent517b45309d0c71fc79fce6feda49a8b67b655901 (diff)
downloadfreebsd-ports-gnome-60e6a0a66a637974b33e51ba750ed2860ffeff05.tar.gz
freebsd-ports-gnome-60e6a0a66a637974b33e51ba750ed2860ffeff05.tar.zst
freebsd-ports-gnome-60e6a0a66a637974b33e51ba750ed2860ffeff05.zip
- Add LICENSE
- Switch to options helpers - Update WWW Approved by: portmgr blanket
Diffstat (limited to 'security')
-rw-r--r--security/bsmtrace/Makefile21
-rw-r--r--security/bsmtrace/pkg-descr2
2 files changed, 12 insertions, 11 deletions
diff --git a/security/bsmtrace/Makefile b/security/bsmtrace/Makefile
index 5465eaf5e962..645be0a06207 100644
--- a/security/bsmtrace/Makefile
+++ b/security/bsmtrace/Makefile
@@ -10,20 +10,18 @@ MASTER_SITES= LOCAL/csjp
MAINTAINER= alm@FreeBSD.org
COMMENT= BSM based intrusion detection system
+LICENSE= BSD2CLAUSE
+
SUB_FILES= pkg-message
MAKE_JOBS_UNSAFE= yes
OPTIONS_DEFINE= PCRE EXAMPLES
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MPCRE}
-LIB_DEPENDS= libpcre.so:devel/pcre
-MAKE_ENV+= PCRE=1
-CFLAGS+= -I${LOCALBASE}/include
-LIBS+= -L${LOCALBASE}/lib -lpcre
-.endif
+PCRE_LIB_DEPENDS= libpcre.so:devel/pcre
+PCRE_MAKE_ENV= PCRE=1
+PCRE_USES= localbase
+PCRE_LIBS= -lpcre
pre-build:
${REINPLACE_CMD} -e \
@@ -32,10 +30,13 @@ pre-build:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin
- @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
- ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf ${STAGEDIR}${EXAMPLESDIR}
+
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.conf.5 \
${STAGEDIR}${MAN5PREFIX}/man/man5
+do-install-EXAMPLES-on:
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf ${STAGEDIR}${EXAMPLESDIR}
+
.include <bsd.port.mk>
diff --git a/security/bsmtrace/pkg-descr b/security/bsmtrace/pkg-descr
index 8ae901b6734c..c18c363fa5fe 100644
--- a/security/bsmtrace/pkg-descr
+++ b/security/bsmtrace/pkg-descr
@@ -3,4 +3,4 @@ and real-time audit event analysis through auditpipe(4). This host based
IDS operates using a finite state machine principles with a flexible
sequence driven signature system.
-WWW: http://people.freebsd.org/~csjp/bsmtrace/bsmtrace.txt
+WWW: https://people.freebsd.org/~csjp/bsmtrace/bsmtrace.txt