svn commit: r454804 - head/dns/gdnsd2

Ryan Steinmetz zi at FreeBSD.org
Thu Nov 23 21:35:01 UTC 2017


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


More information about the svn-ports-all mailing list