libmaxminddb
Library for the MaxMind DB and GeoIP2 file formats
libmaxminddb
Description
The libmaxminddb library is 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 addresses while allowing for great flexibility in the type of data associated with an address.
The libmaxminddb library comes with a command line utility, mmdblookup, which allows to look up an IP address in a GeoIP2 or MaxMind DB file. The geoipupdate tool, available in a separate package, allows to download such files.
Install
Channel stable v1.3.2-2
This app is curated in HaikuPorts. Install it from there, it is already available in HaikuDepot.
pkgman install libmaxminddb
Careful: the file comes from HaikuPorts' own server, but installing it by hand is not the way in. It is pkgman that resolves the dependencies an .hpkg does not carry with it, and a package installed on its own may simply not run. Use the pkgman command above, unless you know exactly why you want the file.