BSD Ports

net/ap-maxminddb 1.2.0 NetBSD

MaxMind DB geolocalisation Apache Module

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
apache-2.0
Categories
net
Package size
7.9 KiB, 18.5 KiB installed

Description

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

<Locaton /> 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 </Locaton>

...

Install

Binary package:

pkgin install ap24-maxminddb

From pkgsrc:

cd /usr/pkgsrc/net/ap-maxminddb && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_641.2.0
NetBSD 10.1 aarch641.2.0
SmartOS / illumos x86_641.2.0
macOS 15 arm641.2.0

Dependencies

Run dependencies 2

No port depends on this one.