On Thu, May 26, 2016 at 10:12:02AM +0100, Stuart Henderson wrote: > > > > 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. > > > > We could fit a bit more information into COMMENT, how about this?
> library for MaxMind GeoIP2/GeoLite2 IP geolocation databases
Sounds better indeed, used this as COMMENT-main.
> Do you fancy adding GeoLite2 dbs as subpackages, something like
> net/GeoIP does? (They could go in a separate port but I think it
> makes it easier for people to find them if it's in the main one).
Sure, here is a new tarball implementing the suggestion, I tried to
stay as close as possible to what net/GeoIP is doing.
The DB files are installed in ${LOCALSTATEDIR}/db/GeoIP/, same path
as net/GeoIP. I'm not sure if it's a good idea or not, but in case
geoipupdate gets imported, it would allow to update both GeoLite and
GeoLite2 databases with only one configuration file.
libmaxminddb.tar.gz
Description: application/tar-gz
