Up to [cvs.NetBSD.org] / pkgsrc / geography / libmaxminddb
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
libmaxminddb: update to 1.12.2. ## 1.12.2 - 2025-01-10 * `MMDB_get_entry_data_list()` now always sets the passed `entry_data_list` parameter to either `NULL` or valid memory. This makes it safe for callers to use `MMDB_free_entry_data_list()` on it even in case of error. In 1.12.0 `MMDB_get_entry_data_list()` was changed to not set this parameter to valid memory in additional error cases. That change caused segfaults for certain libraries that assumed it was safe to free memory on error. Doing so was never safe, but worked in some cases. This change makes such calls safe. Reported by Petr Pisar. GitHub maxmind/MaxMind-DB-Reader-XS#39. ## 1.12.1 - 2025-01-08 * Added missing `cmake_uninstall.cmake.in` to the source distribution. This was missing from 1.12.0, causing CMake builds to fail. Reported by Marcel Raad. GitHub #367. ## 1.12.0 - 2025-01-07 * Fixed memory leaks in `MMDB_open()`. These could happen with invalid databases or in error situations such as failing to allocate memory. As part of the fix, `MMDB_get_entry_data_list()` now frees memory it allocates on additional errors. Previously it failed to clean up when certain errors occurred. Pull request by pkillarjun. GitHub #356. * There is now a build target to fuzz the library. Pull request by pkillarjun. GitHub #357. * Updated `cmake_minimum_required` to a version range to quiet deprecation warnings on new CMake versions. Reported by gmou3. GitHub #359. * The script for generating man pages no longer uses `autodie`. This eliminates the dependency on `IPC::System::Simple`. Reported by gmou3. GitHub #359. * An uninstall target is now included for CMake. Pull request by gmou3. GitHub #362.
libmaxminddb: update to 1.11.0. ## 1.11.0 - 2024-08-21 * When building with CMake, the man pages will now be generated and installed. Requested by Thomas Klausner. GitHub #351. * Removed unnecessary `$<INSTALL_INTERFACE:generated>` directory from `target_include_directories` in the CMake build configuration. This is a private build directory. Pull request by Ankur Verma. GitHub #354.
libmaxminddb: update to 1.10.0. ## 1.10.0 - 2024-06-10 * When building with CMake, it is now possible to disable the building of binaries (e.g., `mmdblookup`) with the `MAXMINDDB_BUILD_BINARIES` option and the install target generation with the `MAXMINDDB_INSTALL` option. Pull request by Seena Fallah. GitHub #342. * CMake now makes greater use of GNUInstallDirs. Pull request by Maximilian Downey Twiss. GitHub #346. * The reader can now lookup records on a database with a search tree that is greater than 4 gigabytes without sometimes returning erroneous results due to an integer overflow.
libmaxminddb: update to 1.9.1. ## 1.9.1 - 2024-01-09 * `SSIZE_MAX` is now defined conditionally on Windows. The 1.9.0 release would cause a redefinition warning when compiled with MinGW. Reported by Andreas Vögele. GitHub #338. ## 1.9.0 - 2024-01-09 * On very large databases, the calculation to determine the search tree size could overflow. This was fixed and several additional guards against overflows were added. Reported by Sami Salonen. GitHub #335. * Removed `sa_family_t` typedef from the public header on Windows. Pull request by Noah Treuhaft. GitHub #334. * The CMake build was adjusted to allow running builds in parallel. Pull request by Vladyslav Miachkov. GitHub #332.
libmaxminddb: update to 1.8.0. ## 1.8.0 - 2023-11-07 * `PACKAGE_VERSION` is now a private compile definition when building with CMake. Pull request by bsergean. GitHub #308. * `PACKAGE_VERSION` is no longer defined in `maxminddb.h` on Windows. * The feature test macro `_POSIX_C_SOURCE` is no longer set by `maxminddb.h`. As discussed in GitHub #318, this should be set by applications rather than by libraries. * `assert()` is no longer used outside test code. * The deprecated Visual Studio 12 project files in the `projects/` directory have been removed. CMake should be used when building on Windows.
libmaxminddb: update to 1.7.1. ## 1.7.1 - 2022-09-30 * The external symbols test now only runs on Linux. It assumes a Linux environment. Reported by Carlo Cabrera. GitHub #304.
libmaxminddb: update to 1.7.0. ## 1.7.0 - 2022-09-28 * `FD_CLOEXEC` is now set on platforms that do not support `O_CLOEXEC`. Reported by rittneje. GitHub #273. * When building with Visual Studio, you may now build a static runtime with CMake by setting `MSVC_STATIC_RUNTIME` to `ON`. Pull request by Rafael Santiago. GitHub #269. * The CMake build now works on iOS. Pull request by SpaceIm. GitHub #271. * The CMake build now uses the correct library directory on Linux systems using alternate directory structures. Pull request by Satadru Pramanik. GitHub #284. * File size check now correctly compares the size to `SSIZE_MAX`. Reported by marakew. GitHub #301.
geography: Replace RMD160 checksums with BLAKE2s checksums All checksums have been double-checked against existing RMD160 and SHA512 hashes
geography: Remove SHA1 hashes for distfiles
libmaxminddb: update to 1.6.0. ## 1.6.0 - 2021-04-29 * This release includes several improvements to the CMake build. In particular: * C99 support is now properly enabled, fixing builds on older `gcc` versions. Pull request by Jan Vcelak. GitHub #257. * `CMAKE_SHARED_LIBRARY_PREFIX` and `CMAKE_STATIC_LIBRARY_PREFIX` are no longer explicitly set and now use the default values for the platform. Pull request by Jan Vcelak. GitHub #258. * `target_include_directories` now works as expected. Pull request by Jan Vcelak. GitHub #259. * DLLs are now installed on Windows when `libmaxminddb` is built as a shared library. Pull request by Jan Vcelak. GitHub #261. * When built as a dynamic library on Windows, all symbols are now exported. Pull request by Jan Vcelak. GitHub #262.
libmaxminddb: update to 1.5.2. ## 1.5.2 - 2021-02-18 * With `libmaxminddb` on Windows and `mmdblookup` generally, there were instances where the return value of `calloc` was not checked, which could lead to issues in low memory situations or when resource limits had been set. Reported by cve-reporting. GitHub #252. ## 1.5.1 - 2021-02-18 * The formatting of the manpages has been improved and the script that generates them now supports `lowdown` in addition to `pandoc`. Pull request by Faidon Liambotis. GitHub #248.
libmaxminddb: update to 1.5.0 and take MAINTAINER. ChangeLog: ## 1.5.0 - 2021-01-05 * A CMake build script has been added for Windows builds. The Visual Studio project files in `projects` are now considered deprecated and will be removed in a future release.
libmaxminddb: update to 1.4.3. ChangeLog: ## 1.4.3 - 2020-08-06 * On Windows, always call `CreateFileW` instead of `CreateFile`. `CreateFile` could be mapped to `CreateFileA` and not work as expected. Pull request by Sandu Liviu Catalin. GitHub #228. * Fixed use of uninitialized memory in `dump_entry_data_list()` that could cause a heap buffer flow in `mmdblookup`. As part of this fix, most uses of `malloc` were replaced with `calloc`. Reported by azhou. GitHub #236. ## 1.4.2 - 2019-11-02 * The 1.4.0 release introduced a change that increased the size of `MMDB_s`, unintentionally causing an ABI break. This release reverts the relevant commit. ## 1.4.1 - 2019-11-01 * The man page links for function calls were not generated correctly in 1.4.0. This has been corrected. ## 1.4.0 - 2019-11-01 * A negative array index may now be used with `MMDB_get_value`, `MMDB_vget_value`, and `MMDB_aget_value`. This specifies the element from the end of the array. For instance, `-1` would refer to the last element of the array. PR by Kyle Box. GitHub #205. * On Windows, the file name passed to `MMDB_open` is now expected to be UTF-8 encoded. This allows Unicode characters to be used in file names. As part of this change, `mmdblookup` on Windows now converts its arguments to UTF-8. PR by Gerald Combs. GitHub #189 & #191. * Fix a memory leak that occurred when freeing an `MMDB_s` where the database had no languages defined in the metadata. If you are using an official MaxMind database, this leak does not affect you. Pull request by Kókai Péter. GitHub #180. * Add `--disable-binaries` option to `configure`. Pull request by Fabrice Fontaine. GitHub #166. * Previous releases incorrectly included `*.Po` files in the `t` directory. This has been corrected. Reported by Daniel Macks. GitHub #168. * The internal use of the `MMDB_s` now has the `const` modifier. Public functions that accepted an `MMDB_s` as an argument now also declare it as `const`. Pull request by Kurt Johnson. GitHub #199. * `mmdblookup` now displays the prefix length for the record when using the verbose flag. GitHub #172.
libmaxminddb: build fix
geography/libmaxminddb: Import libmaxminddb 1.3.2. The libmaxminddb library provides a C library for reading MaxMind DB files, including the GeoIP2 databases from MaxMind.