1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-19 08:13:21 +00:00

- 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)
This commit is contained in:
Antoine Brodin 2015-04-27 16:05:52 +00:00
parent 6923b2e946
commit 479c57434d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=384861
2 changed files with 4 additions and 2 deletions

View File

@ -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}

View File

@ -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