Hello community, here is the log from the commit of package libmaxminddb for openSUSE:Leap:15.2 checked in at 2020-01-23 09:20:24 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/libmaxminddb (Old) and /work/SRC/openSUSE:Leap:15.2/.libmaxminddb.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libmaxminddb" Thu Jan 23 09:20:24 2020 rev:12 rq:762066 version:1.4.2 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/libmaxminddb/libmaxminddb.changes 2020-01-15 15:21:58.106460883 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.libmaxminddb.new.26092/libmaxminddb.changes 2020-01-23 09:20:25.686685668 +0100 @@ -1,0 +2,68 @@ +Wed Nov 20 13:46:56 UTC 2019 - Dominique Leuenberger <[email protected]> + +- Add baselibs.conf: build libmaxminddb0-32bit, which is required + by libdns1310-32bit (new dependency gained). + +------------------------------------------------------------------- +Sun Nov 3 16:56:13 UTC 2019 - Andreas Stieger <[email protected]> + +- update to 1.4.2: + * negative array index for MMDB_*get_value specifies the last element + * Fix a memory leak when using custom databases without languages + defined in the metadata + * mmdblookup now displays the prefix length for the record when + using the verbose flag + +------------------------------------------------------------------- +Thu May 17 13:37:24 UTC 2018 - [email protected] + +- Run tests +- Packaged LICENSE + +- Update to version 1.3.2 + * Allocate memory for MMDB_entry_data_list_s structs in separate chunks + rather than one large chunk. This simplifies accessing memory in + MMDB_get_entry_data_list() and increases performance. It builds on the + changes in 1.3.0 and 1.3.1. + * We no longer export data_pool_* symbols. These are internal functions + but we were previously exporting them. Pull request by Faidon Liambotis. + gh#maxmind/libmaxminddb#162. + * Build with POSIX.1-2008 by default if the system supports it. This allows + use of open() with O_CLOEXEC. We retain support for systems that + provide only POSIX.1-2001. + Open the database with the O_CLOEXEC flag if the system provides it. + * This avoids cases where we could leak fds when called in multi-threaded + programs that fork() and exec(). Original report and PR by Brandon L + Black. + * Added a test to ensure we export only intended symbols (e.g. MMDB_*). + +- Update to version 1.3.1 + * Fix build problems related to rpl_malloc(). Pull request by Rainer + Gerhards. gh#maxmind/libmaxminddb + * Fix a race to set and read data in a field on the MMDB_s struct + (ipv4_start_node). gh#maxmind/libmaxminddb#153. + * Fix cases of invalid memory access when using + MMDB_get_entry_data_list(). This was introduced in 1.3.0 and occurred + when performing large lookups. gh#maxmind/libmaxminddb#153. + +- Update to version 1.3.0 + * Perform fewer memory allocations in MMDB_get_entry_data_list(). This + significantly improves its performance. gh#maxmind/libmaxminddb#147. + * Fix mmdblookup's build epoch reporting on some systems. Big endian + systems with a 32-bit time_t no longer show a database build date of + 1970-01-01 00:00:00. Pull request by Rainer Jung. gh#maxmind/libmaxminddb#143. + +- Update to version 1.2.1 + * Use autoconf to check the system's endianness rather than trying to do this + with compiler-defined macros like __BYTE_ORDER__. Apparently this didn't + work properly on a Sparc system. gh#maxmind/libmaxminddb#120. + * Several compiler warnings on Visual C++ were fixed. Pull request by Marcel + Raad. gh#maxmind/libmaxminddb#130. + * Fix segmentation faults found in MMDB_open() using afl-fuzz. This + occurred on corrupt databases that had a data pointer large enough to + cause an integer overflow when doing bound checking. Reported by Ryan + Whitworth. gh#maxmind/libmaxminddb#140. + * Add --disable-tests option to configure. Pull request by Fabrice + Fontaine. gh#maxmind/libmaxminddb#136. + +------------------------------------------------------------------- Old: ---- libmaxminddb-1.2.0.tar.gz New: ---- baselibs.conf libmaxminddb-1.4.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libmaxminddb.spec ++++++ --- /var/tmp/diff_new_pack.23YlWO/_old 2020-01-23 09:20:27.082686369 +0100 +++ /var/tmp/diff_new_pack.23YlWO/_new 2020-01-23 09:20:27.086686371 +0100 @@ -1,7 +1,7 @@ # # spec file for package libmaxminddb # -# Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LLC. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,23 +12,22 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # -Name: libmaxminddb %define lname libmaxminddb0 -Version: 1.2.0 +Name: libmaxminddb +Version: 1.4.2 Release: 0 Summary: C library for the MaxMind DB file format License: Apache-2.0 -Group: Development/Libraries/C and C++ +URL: https://dev.maxmind.com/ Source: https://github.com/maxmind/libmaxminddb/releases/download/%{version}/%{name}-%{version}.tar.gz -Url: http://dev.maxmind.com/ +Source99: baselibs.conf BuildRequires: fdupes BuildRequires: gcc-c++ -BuildRequires: pkg-config -BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: pkgconfig %description The libmaxminddb library provides a C library for reading MaxMind DB @@ -37,11 +36,10 @@ addresses while allowing for great flexibility in the type of data associated with an address. -%package -n %lname +%package -n %{lname} Summary: C library for the MaxMind DB file format -Group: System/Libraries -%description -n %lname +%description -n %{lname} The libmaxminddb library provides a C library for reading MaxMind DB files, including the GeoIP2 databases from MaxMind. This is a custom binary format designed to facilitate fast lookups of IP @@ -50,7 +48,6 @@ %package -n mmdblookup Summary: An utility to look up an IP address in a MaxMind DB file -Group: Productivity/Networking/Other %description -n mmdblookup The libmaxminddb library provides a C library for reading MaxMind DB @@ -63,8 +60,7 @@ %package devel Summary: Development files for the MaxMind DB file format library -Group: Development/Libraries/C and C++ -Requires: %lname = %version +Requires: %{lname} = %{version} %description devel The libmaxminddb library provides a C library for reading MaxMind DB @@ -82,32 +78,32 @@ %configure --disable-static make %{?_smp_mflags} +%check +make %{?_smp_mflags} check + %install %make_install -rm %buildroot/%_libdir/*.la -%fdupes -s %buildroot/%_prefix +find %{buildroot} -type f -name "*.la" -delete -print +%fdupes -s %{buildroot}/%{_prefix} -%post -n %lname -p /sbin/ldconfig -%postun -n %lname -p /sbin/ldconfig +%post -n %{lname} -p /sbin/ldconfig +%postun -n %{lname} -p /sbin/ldconfig -%files -n %lname -%defattr(-,root,root) -%doc LICENSE +%files -n %{lname} +%license LICENSE %{_libdir}/%{name}.so.* %files -n mmdblookup -%defattr(-,root,root) %doc doc/mmdblookup.md %{_bindir}/mmdblookup %{_mandir}/man1/mmdblookup.* %files devel -%defattr(-,root,root) %doc Changes.md NOTICE README.md doc/mmdblookup.md doc/libmaxminddb.md +%license LICENSE %{_includedir}/* %{_libdir}/%{name}.so %{_libdir}/pkgconfig/%{name}.pc -%{_mandir}/man3/%{name}.* -%{_mandir}/man3/MMDB_*.* +%{_mandir}/man3/* %changelog ++++++ baselibs.conf ++++++ libmaxminddb0 ++++++ libmaxminddb-1.2.0.tar.gz -> libmaxminddb-1.4.2.tar.gz ++++++ ++++ 63655 lines of diff (skipped)
