svn commit: r445663 - head/security/suricata
Renato Botelho
garga at FreeBSD.org
Thu Jul 13 16:46:25 UTC 2017
Author: garga
Date: Thu Jul 13 16:46:24 2017
New Revision: 445663
URL: https://svnweb.freebsd.org/changeset/ports/445663
Log:
Add new REDIS option (off by default) to security/suricata
Approved by: Franco Fichtner <franco at opnsense.org> (maintainer)
Obtained from: https://github.com/pfsense/FreeBSD-ports/pull/363
Sponsored by: Rubicon Communications, LLC (Netgate)
Differential Revision: https://reviews.freebsd.org/D11139
Modified:
head/security/suricata/Makefile
Modified: head/security/suricata/Makefile
==============================================================================
--- head/security/suricata/Makefile Thu Jul 13 16:45:57 2017 (r445662)
+++ head/security/suricata/Makefile Thu Jul 13 16:46:24 2017 (r445663)
@@ -27,7 +27,8 @@ CPE_VENDOR= openinfosecfoundation
INSTALL_TARGET= install-strip
TEST_TARGET= check
-OPTIONS_DEFINE= GEOIP HTP_PORT IPFW JSON NETMAP NSS PORTS_PCAP PRELUDE SC TESTS
+OPTIONS_DEFINE= GEOIP HTP_PORT IPFW JSON NETMAP NSS PORTS_PCAP PRELUDE \
+ REDIS SC TESTS
OPTIONS_DEFINE_amd64= HYPERSCAN
OPTIONS_DEFAULT= HTP_PORT IPFW JSON NETMAP PRELUDE
OPTIONS_SUB= yes
@@ -48,6 +49,7 @@ NETMAP_DESC= Netmap support for inline IDP
NSS_DESC= File checksums and SSL/TLS fingerprinting
PORTS_PCAP_DESC= Use libpcap from ports
PRELUDE_DESC= Prelude support for NIDS alerts
+REDIS_DESC= Redis output support
SC_DESC= Suricata socket client (suricatasc)
TESTS_DESC= Unit tests in suricata binary
@@ -101,6 +103,11 @@ PRELUDE_LIB_DEPENDS= libprelude.so:security/libprelud
libltdl.so:devel/libltdl
PRELUDE_CONFIGURE_ENABLE= prelude
PRELUDE_CONFIGURE_ON= --with-libprelude-prefix=${LOCALBASE}
+
+REDIS_LIB_DEPENDS= libhiredis.so:databases/hiredis
+REDIS_CONFIGURE_ON= --enable-hiredis \
+ --with-libhiredis-includes=${LOCALBASE}/include \
+ --with-libhiredis-libraries=${LOCALBASE}/lib
SC_USES= python
SC_CONFIGURE_ENV= ac_cv_path_HAVE_PYTHON_CONFIG=yes
More information about the svn-ports-all
mailing list