Page MenuHomeFreeBSD

D24437.diff
No OneTemporary

D24437.diff

Index: head/security/Makefile
===================================================================
--- head/security/Makefile
+++ head/security/Makefile
@@ -60,6 +60,7 @@
SUBDIR += bruteforceblocker
SUBDIR += bsdsfv
SUBDIR += bsmtrace
+ SUBDIR += bsmtrace3
SUBDIR += bugs
SUBDIR += bzrtp
SUBDIR += ca_root_nss
Index: head/security/bsmtrace3/Makefile
===================================================================
--- head/security/bsmtrace3/Makefile
+++ head/security/bsmtrace3/Makefile
@@ -0,0 +1,44 @@
+# $FreeBSD$
+
+PORTNAME= bsmtrace
+PORTVERSION= 3.0
+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>
Index: head/security/bsmtrace3/distinfo
===================================================================
--- head/security/bsmtrace3/distinfo
+++ head/security/bsmtrace3/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1586997209
+SHA256 (openbsm-bsmtrace-v3.0_GH0.tar.gz) = 7b3575cbd2ecb4368221bd8e732f194825e75db44b61cb13c959e1dde3d3c831
+SIZE (openbsm-bsmtrace-v3.0_GH0.tar.gz) = 32679
Index: head/security/bsmtrace3/files/pkg-message.in
===================================================================
--- head/security/bsmtrace3/files/pkg-message.in
+++ head/security/bsmtrace3/files/pkg-message.in
@@ -0,0 +1,10 @@
+[
+{ type: install
+ message: <<EOM
+Please note a sample configuration file for bsmtrace has been installed
+in %%EXAMPLESDIR%%. This file will not be
+suitable for your own system, but can be used as a reference to get
+started.
+EOM
+}
+]
Index: head/security/bsmtrace3/pkg-descr
===================================================================
--- head/security/bsmtrace3/pkg-descr
+++ head/security/bsmtrace3/pkg-descr
@@ -0,0 +1,6 @@
+bsmtrace is a BSM based intrusion detection system, utilizing audit trails
+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: https://www.github.com/openbsm/bsmtrace
Index: head/security/bsmtrace3/pkg-plist
===================================================================
--- head/security/bsmtrace3/pkg-plist
+++ head/security/bsmtrace3/pkg-plist
@@ -0,0 +1,4 @@
+sbin/bsmtrace
+share/man/man1/bsmtrace.1.gz
+share/man/man5/bsmtrace.conf.5.gz
+%%EXAMPLESDIR%%/bsmtrace.conf

File Metadata

Mime Type
text/plain
Expires
Sat, Jul 11, 3:01 PM (4 h, 49 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34963633
Default Alt Text
D24437.diff (3 KB)

Event Timeline