commit libmaxminddb for openSUSE:Factory
Hello community, here is the log from the commit of package libmaxminddb for openSUSE:Factory checked in at 2018-06-02 11:49:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libmaxminddb (Old) and /work/SRC/openSUSE:Factory/.libmaxminddb.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "libmaxminddb" Sat Jun 2 11:49:53 2018 rev:2 rq:610244 version:1.3.2 Changes: -------- --- /work/SRC/openSUSE:Factory/libmaxminddb/libmaxminddb.changes 2016-09-13 22:23:31.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.libmaxminddb.new/libmaxminddb.changes 2018-06-02 11:49:57.816807975 +0200 @@ -1,0 +2,52 @@ +Thu May 17 13:37:24 UTC 2018 - jweberhofer@weberhofer.at + +- 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: ---- libmaxminddb-1.3.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libmaxminddb.spec ++++++ --- /var/tmp/diff_new_pack.BCUe5I/_old 2018-06-02 11:49:58.996764696 +0200 +++ /var/tmp/diff_new_pack.BCUe5I/_new 2018-06-02 11:49:59.000764549 +0200 @@ -1,7 +1,7 @@ # # spec file for package libmaxminddb # -# Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,19 +16,18 @@ # -Name: libmaxminddb %define lname libmaxminddb0 -Version: 1.2.0 +Name: libmaxminddb +Version: 1.3.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/ 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,11 @@ 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 @@ -64,7 +63,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,28 +81,29 @@ %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 ++++++ libmaxminddb-1.2.0.tar.gz -> libmaxminddb-1.3.2.tar.gz ++++++ ++++ 60734 lines of diff (skipped)
participants (1)
-
root