aboutsummaryrefslogtreecommitdiff
path: root/security/suricata
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2015-04-27 16:05:52 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2015-04-27 16:05:52 +0000
commit479c57434df740ba4ee93166bf3fd166ace648cf (patch)
treee8298ea4e8ea71f0e3658b2111e3778e7858ace6 /security/suricata
parent6923b2e94653514a146324a7c993d4e9fe332cf6 (diff)
downloadports-479c57434df740ba4ee93166bf3fd166ace648cf.tar.gz
ports-479c57434df740ba4ee93166bf3fd166ace648cf.zip
- Add JSON to OPTIONS_DEFAULT to match default configuration where eve-log
support is enabled - Package threshold.config configuration file PR: 197937 Approved by: koobs (maintainer)
Notes
Notes: svn path=/head/; revision=384861
Diffstat (limited to 'security/suricata')
-rw-r--r--security/suricata/Makefile5
-rw-r--r--security/suricata/pkg-plist1
2 files changed, 4 insertions, 2 deletions
diff --git a/security/suricata/Makefile b/security/suricata/Makefile
index be1ac8db9b50..7d5ae719eed4 100644
--- a/security/suricata/Makefile
+++ b/security/suricata/Makefile
@@ -3,6 +3,7 @@
PORTNAME= suricata
PORTVERSION= 2.0.6
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= http://www.openinfosecfoundation.org/download/ \
http://mirrors.rit.edu/zi/
@@ -28,7 +29,7 @@ INSTALL_TARGET= install-strip
PATHFIX_MAKEFILEIN= Makefile.am
OPTIONS_DEFINE= GEOIP HTP_PORT IPFW JSON NSS PORTS_PCAP PRELUDE SC TESTS
-OPTIONS_DEFAULT= HTP_PORT IPFW PRELUDE
+OPTIONS_DEFAULT= HTP_PORT IPFW JSON PRELUDE
OPTIONS_RADIO= SCRIPTS
OPTIONS_RADIO_SCRIPTS= LUA LUAJIT
OPTIONS_SUB= yes
@@ -108,7 +109,7 @@ CONFIGURE_ARGS+=--enable-gccprotect \
LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet11-config
CONFIG_DIR?= ${ETCDIR}
-CONFIG_FILES= suricata.yaml classification.config reference.config
+CONFIG_FILES= suricata.yaml classification.config reference.config threshold.config
RULES_DIR= ${CONFIG_DIR}/rules
RULES_FILES= decoder-events.rules dns-events.rules files.rules http-events.rules smtp-events.rules stream-events.rules tls-events.rules
LOGS_DIR?= /var/log/${PORTNAME}
diff --git a/security/suricata/pkg-plist b/security/suricata/pkg-plist
index 49d75344f565..5c452acc58e8 100644
--- a/security/suricata/pkg-plist
+++ b/security/suricata/pkg-plist
@@ -59,6 +59,7 @@ bin/suricata
@sample %%ETCDIR%%/suricata.yaml.sample
@sample %%ETCDIR%%/classification.config.sample
@sample %%ETCDIR%%/reference.config.sample
+@sample %%ETCDIR%%/threshold.config.sample
%%ETCDIR%%/rules/decoder-events.rules
%%ETCDIR%%/rules/dns-events.rules
%%ETCDIR%%/rules/files.rules