BSD Ports

geography/libmaxminddb 1.14.0 NetBSD

C library for the MaxMind DB file format

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
6b96663c95
License
apache-2.0
Categories
geography
Package size
64.2 KiB, 325.3 KiB installed

Description

The libmaxminddb library provides a C library for reading MaxMind DB files, including the GeoIP2 databases from MaxMind.

In the other systems

SystemPortVersion
NetBSDgeography/libmaxminddb1.14.0
FreeBSDnet/libmaxminddb1.14.1
OpenBSDnet/libmaxminddb1.14.1
DragonFlynet/libmaxminddb1.12.2
MidnightBSDnet/libmaxminddb1.11.0

Install

Binary package:

pkgin install libmaxminddb

From pkgsrc:

cd /usr/pkgsrc/geography/libmaxminddb && make install clean

Dependencies

Commit history 2

DateCommitCreditsLog message
6b96663c95 adam libmaxminddb: updated to 1.14.1
1.14.1 - 2026-09-17 - Fixed a `-Wsign-compare` warning in `MMDB_open()` that broke builds with `-Werror` on platforms where `ssize_t` is 32 bits, such as i686.
627d04ee8e wiz libmaxminddb: update to 1.14.0.
## 1.14.0 - 2026-09-08 - Bounded the resources that `MMDB_get_entry_data_list()` spends decoding a single entry. A crafted database could nest data-section pointers to shared targets so that decoding one entry cost exponential time and memory, or point many times at one large value so that a caller copying the result materialized far more data than the file holds. The decoder now follows the Reader Resource Limits section of the MaxMind DB specification. Each call is limited to 65,536 values and 2 MiB of string and bytes payload, in addition to the existing recursive-decoder depth limit of 512. See the `MMDB_get_entry_data_list()` documentation for details. - Exceeding a limit returns the new `MMDB_DECODER_LIMIT_ERROR` status. A …