Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Nov 2017 21:35:00 +0000 (UTC)
From:      Ryan Steinmetz <zi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r454804 - head/dns/gdnsd2
Message-ID:  <201711232135.vANLZ0HX023281@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: zi
Date: Thu Nov 23 21:35:00 2017
New Revision: 454804
URL: https://svnweb.freebsd.org/changeset/ports/454804

Log:
  - Add libmaxminddb for geoip2 support
  - Bump PORTREVISION
  
  PR:		223814
  Submitted by:	peter@

Modified:
  head/dns/gdnsd2/Makefile

Modified: head/dns/gdnsd2/Makefile
==============================================================================
--- head/dns/gdnsd2/Makefile	Thu Nov 23 21:33:00 2017	(r454803)
+++ head/dns/gdnsd2/Makefile	Thu Nov 23 21:35:00 2017	(r454804)
@@ -3,7 +3,7 @@
 
 PORTNAME=	gdnsd
 PORTVERSION=	2.2.4
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	dns
 MASTER_SITES=	https://github.com/gdnsd/gdnsd/releases/download/v${PORTVERSION}/ \
 		ZI \
@@ -34,11 +34,18 @@ USE_RC_SUBR=	gdnsd
 USERS?=		gdnsd
 GROUPS?=	gdnsd
 
-OPTIONS_DEFINE=	DOCS GEOIP URCU
-OPTIONS_DEFAULT=GEOIP
+OPTIONS_DEFINE=	DOCS URCU
+OPTIONS_DEFAULT=MAXMINDDB
 
-GEOIP_DESC=		Enable GeoIP Support
-GEOIP_RUN_DEPENDS=	GeoIP>=0:net/GeoIP
+OPTIONS_RADIO=		GEOLIB
+OPTIONS_RADIO_GEOLIB=	GEOIP MAXMINDDB
+GEOLIB_DESC=		GeoIP backend
+
+GEOIP_DESC=		Enable GeoIP1 Support
+GEOIP_LIB_DEPENDS=	libGeoIP.so:net/GeoIP
+
+MAXMINDDB_DESC=		Enable GeoIP1 + GeoIP2 Support
+MAXMINDDB_LIB_DEPENDS=	libmaxminddb.so:net/libmaxminddb
 
 URCU_DESC=		Read-Copy-Update Support (Faster Zone Parsing)
 URCU_CONFIGURE_WITH=	urcu



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