net/ap-maxminddb - The NetBSD Packages Collection

MaxMind DB geolocalisation Apache Module

This module allows you to query MaxMind geolocalization DB files from
Apache. It can be used with net/dbip-asn-lite, net/dbip-city-lite and
net/dbip-country-lite

Exampe usage for Matomo:

LoadModule maxminddb_module lib/httpd/mod_maxminddb.so


    MaxMindDBEnable On
    MaxMindDBFile CITY_DB  /usr/pkg/share/dbip/dbip-city-lite.mmdb
    MaxMindDBFile ASN_DB  /usr/pkg/share/dbip/dbip-asn-lite.mmdb
    MaxMindDBFile COUNTRY_DB  /usr/pkg/share/dbip/dbip-country-lite.mmdb
    MaxMindDBEnv MM_COUNTRY_CODE COUNTRY_DB/country/iso_code
    MaxMindDBEnv MM_COUNTRY_NAME COUNTRY_DB/country/names/en
    MaxMindDBEnv MM_CITY_NAME CITY_DB/city/names/en
    MaxMindDBEnv MM_ORG ASN_DB/autonomous_system_organization
    MaxMindDBEnv MM_LONGITUDE CITY_DB/location/longitude
    MaxMindDBEnv MM_LATITUDE CITY_DB/location/latitude


...

Build dependencies

devel/libtool-base pkgtools/mktools lang/perl5 pkgtools/cwrappers

Runtime dependencies

www/apache24 geography/libmaxminddb www/apache24

Binary packages

OSArchitectureVersion
(none)

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

(none)

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.


Problem reports, updates or suggestions for this package should be reported with send-pr.