Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Sep 2019 11:44:19 +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: r513025 - head/security/suricata
Message-ID:  <201909271144.x8RBiJZv076547@repo.freebsd.org>

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



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