aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--dns/gdnsd2/Makefile17
1 files changed, 12 insertions, 5 deletions
diff --git a/dns/gdnsd2/Makefile b/dns/gdnsd2/Makefile
index aca6a44668a8..0eb775f953c1 100644
--- a/dns/gdnsd2/Makefile
+++ b/dns/gdnsd2/Makefile
@@ -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