Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/geography/libmaxminddb libmaxminddb: update to 1.4.3.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b2182990e3bb
branches:  trunk
changeset: 437012:b2182990e3bb
user:      fcambus <fcambus%pkgsrc.org@localhost>
date:      Fri Aug 14 14:14:44 2020 +0000

description:
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.

diffstat:

 geography/libmaxminddb/Makefile |   4 ++--
 geography/libmaxminddb/PLIST    |   3 ++-
 geography/libmaxminddb/distinfo |  10 +++++-----
 3 files changed, 9 insertions(+), 8 deletions(-)

diffs (43 lines):

diff -r 08c973187ded -r b2182990e3bb geography/libmaxminddb/Makefile
--- a/geography/libmaxminddb/Makefile   Fri Aug 14 11:14:36 2020 +0000
+++ b/geography/libmaxminddb/Makefile   Fri Aug 14 14:14:44 2020 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.2 2020/01/18 23:32:08 rillig Exp $
+# $NetBSD: Makefile,v 1.3 2020/08/14 14:14:44 fcambus Exp $
 
-DISTNAME=      libmaxminddb-1.3.2
+DISTNAME=      libmaxminddb-1.4.3
 CATEGORIES=    geography
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=maxmind/}
 GITHUB_RELEASE=        ${PKGVERSION_NOREV}
diff -r 08c973187ded -r b2182990e3bb geography/libmaxminddb/PLIST
--- a/geography/libmaxminddb/PLIST      Fri Aug 14 11:14:36 2020 +0000
+++ b/geography/libmaxminddb/PLIST      Fri Aug 14 14:14:44 2020 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2018/09/10 20:55:20 fhajny Exp $
+@comment $NetBSD: PLIST,v 1.2 2020/08/14 14:14:44 fcambus Exp $
 bin/mmdblookup
 include/maxminddb.h
 include/maxminddb_config.h
@@ -19,4 +19,5 @@
 man/man3/MMDB_read_node.3
 man/man3/MMDB_strerror.3
 man/man3/MMDB_vget_value.3
+man/man3/defined.3
 man/man3/libmaxminddb.3
diff -r 08c973187ded -r b2182990e3bb geography/libmaxminddb/distinfo
--- a/geography/libmaxminddb/distinfo   Fri Aug 14 11:14:36 2020 +0000
+++ b/geography/libmaxminddb/distinfo   Fri Aug 14 14:14:44 2020 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.2 2018/09/29 12:54:16 tnn Exp $
+$NetBSD: distinfo,v 1.3 2020/08/14 14:14:44 fcambus Exp $
 
-SHA1 (libmaxminddb-1.3.2.tar.gz) = 52668a7944d8dd35ec998b545e1ab80d1e6c3257
-RMD160 (libmaxminddb-1.3.2.tar.gz) = 199373bd1003493fb17ee855b5a5f9ff75a70afa
-SHA512 (libmaxminddb-1.3.2.tar.gz) = 906e80531a901091fd9f88075ece5189b0885400216ea994889d9250dd37ead14e00dc14ca2a38eb2100e4814d0eb3a205ba1618606f1375ab0dcc3981097115
-Size (libmaxminddb-1.3.2.tar.gz) = 619009 bytes
+SHA1 (libmaxminddb-1.4.3.tar.gz) = b656a260a080ccf67a502df0786e61650eab70de
+RMD160 (libmaxminddb-1.4.3.tar.gz) = e3800097029380ec0651036d37c56aab57522d61
+SHA512 (libmaxminddb-1.4.3.tar.gz) = 7fd97678ea6ca41cc4530864276b0233acbb16208571dc4694902943b3aa7e97c683c5676ea3f2de948c67aebd083f5d073b9ae36b7e89059c17f797ffddf65e
+Size (libmaxminddb-1.4.3.tar.gz) = 602272 bytes
 SHA1 (patch-t_libtap_tap.c) = 85cefd897f2eade00a0c9e9b2cf5e0ca7c7c9337



Home | Main Index | Thread Index | Old Index