Hi ports@, Here is a new port for net/libmaxminddb.
There is an example program [1] provided in the Git repository in order to test the library, which can be compiled as follow: gcc example.c -I/usr/local/include -L/usr/local/lib -lmaxminddb -oexample After downloading a GeoLite2 database [2], it can be tested as follow: example GeoLite2-Country.mmdb 129.128.5.194 example GeoLite2-City.mmdb 129.128.5.194 [1] https://github.com/maxmind/libmaxminddb/blob/master/doc/libmaxminddb.md#example [2] https://dev.maxmind.com/geoip/geoip2/geolite2/ >From DESCR: The libmaxminddb library provides a C library for reading MaxMind DB files, including the GeoIP2 databases from MaxMind. This is a custom binary format designed to facilitate fast lookups of IP adresses while allowing for great flexibility in the type of data associated with an address.
libmaxminddb.tar.gz
Description: application/tar-gz