svn commit: r513025 - head/security/suricata

Renato Botelho garga at FreeBSD.org
Fri Sep 27 11:44:20 UTC 2019


Author: garga
Date: Fri Sep 27 11:44:19 2019
New Revision: 513025
URL: https://svnweb.freebsd.org/changeset/ports/513025

Log:
  security/suricata: Restore GEOIP option
  
  GeoIP option works with libmaxminddb since 4.1.5.  Add GEOIP option back.
  
  PR:		240835
  Approved by:	Franco Fichtner <franco at opnsense.org> (maintainer)
  Sponsored by:	Rubicon Communications, LLC (Netgate)

Modified:
  head/security/suricata/Makefile

Modified: head/security/suricata/Makefile
==============================================================================
--- head/security/suricata/Makefile	Fri Sep 27 11:33:21 2019	(r513024)
+++ head/security/suricata/Makefile	Fri Sep 27 11:44:19 2019	(r513025)
@@ -33,7 +33,7 @@ CPE_VENDOR=	openinfosecfoundation
 INSTALL_TARGET=		install-strip
 TEST_TARGET=		check
 
-OPTIONS_DEFINE=		IPFW JSON NETMAP NSS PORTS_PCAP PRELUDE \
+OPTIONS_DEFINE=		GEOIP IPFW JSON NETMAP NSS PORTS_PCAP PRELUDE \
 			PYTHON REDIS RUST TESTS
 OPTIONS_DEFINE_amd64=	HYPERSCAN
 OPTIONS_DEFAULT=	IPFW JSON NETMAP PYTHON RUST
@@ -44,6 +44,7 @@ OPTIONS_RADIO_SCRIPTS=	LUA LUAJIT
 
 SCRIPTS_DESC=		Scripting
 
+GEOIP_DESC=		GeoIP support
 HYPERSCAN_DESC=		Hyperscan support
 IPFW_DESC=		IPFW and IP Divert support for inline IDP
 JSON_DESC=		JSON output support
@@ -57,6 +58,9 @@ PYTHON_DESC=		Python-based update and control utilitie
 REDIS_DESC=		Redis output support
 RUST_DESC=		Rust parser support
 TESTS_DESC=		Unit tests in suricata binary
+
+GEOIP_LIB_DEPENDS=		libmaxminddb.so:net/libmaxminddb
+GEOIP_CONFIGURE_ON=		--enable-geoip
 
 HYPERSCAN_LIB_DEPENDS=		libhs.so:devel/hyperscan
 HYPERSCAN_CONFIGURE_ON=		--with-libhs-includes=${LOCALBASE}/include \


More information about the svn-ports-all mailing list