nginx/auto/lib
Sergey Kandaurov 2b5c2b605b
Some checks failed
buildbot / buildbot (push) Has been cancelled
GeoIP: support for the MaxMind DB (MMDB) databases
The MaxMind DB format is now recognized, with the fallback to the
legacy format (reached End-of-Life in May 2022).  Migration requires
switching to MMDB database files:

    geoip_country  /usr/share/GeoIP/GeoLite2-Country.mmdb;
    geoip_city     /usr/share/GeoIP/GeoLite2-City.mmdb;
    geoip_org      /usr/share/GeoIP/GeoLite2-ASN.mmdb;

Either libmaxminddb or libGeoIP is sufficient to build the modules;
configure fails if neither is found.

Notes on the MMDB lookups:

*) $geoip_country_code3 and $geoip_city_country_code3 are converted from
   the alpha-2 codes with a compiled-in ISO 3166-1 table, as the MMDB
   databases provide alpha-2 codes only.

*) $geoip_org looks up "autonomous_system_organization", "isp",
   "organization", and "domain" in turn, to match the legacy ASNum, ISP,
   Org, and Domain database editions.

*) $geoip_area_code has no MMDB counterpart and is never found.

*) $geoip_region and $geoip_region_name come from subdivisions[0], and
   thus may differ in value from the legacy ones.

*) $geoip_dma_code comes from location.metro_code, which is deprecated
   by MaxMind and may be absent.

Co-authored-by: Nitin Swami <n.swami@f5.com>
2026-09-30 20:17:54 +04:00
..
geoip GeoIP: support for the MaxMind DB (MMDB) databases 2026-09-30 20:17:54 +04:00
google-perftools Configure: added support for Homebrew on Apple Silicon. 2024-02-26 20:00:43 +00:00
libatomic Configure: fixed --with-libatomic=DIR with recent libatomic_ops. 2025-01-30 17:16:10 +04:00
libgd Configure: added support for Homebrew on Apple Silicon. 2024-02-26 20:00:43 +00:00
libxslt Configure: fixed compiler warnings with "-Wall -Wextra". 2018-07-24 18:46:54 +03:00
openssl QUIC: using QUIC API introduced in OpenSSL 3.5. 2025-05-23 15:00:47 +04:00
pcre Configure: MSVC compatibility with PCRE2 10.47. 2025-11-06 15:34:58 +04:00
perl Configure: detect nginx version for nginx.pm at make time. 2016-12-16 19:54:37 +03:00
zlib Win32: simplified and improved handling of MSVC versions. 2016-02-13 06:47:34 +03:00
conf Configure: fixed PCRE requirement check by ngx_http_rewrite_module. 2017-07-19 12:05:50 +03:00
make Internal md5 and sha1 implementations are now always used. 2016-06-30 18:57:39 +03:00