Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Jul 2017 16:46:24 +0000 (UTC)
From:      Renato Botelho <garga@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r445663 - head/security/suricata
Message-ID:  <201707131646.v6DGkOtv065629@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201707131646.v6DGkOtv065629>