Created attachment 188210 [details]
Patch to add libmaxminddb to the build.
gdnsd2 prefers libmaxminddb over libGeoIP if it is present. It would be nice to be able to configure the package build to do that.
Half-baked patch attached. I added a radio option to pick one or the other, or neither. libmaxminddb appears to be able to read the old .dat and the new .mmdb files just fine and appears to be a strict superset of GeoIP so I set it to be the default.
Caveat: I changed GeoIP from a run depends to lib depends. I'm not sure if run depends was intended.
A commit references this bug:
Date: Thu Nov 23 21:35:00 UTC 2017
New revision: 454804
- Add libmaxminddb for geoip2 support
- Bump PORTREVISION
Submitted by: peter@