Hello community, here is the log from the commit of package GeoIP for openSUSE:Factory checked in at 2015-11-23 07:30:10 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/GeoIP (Old) and /work/SRC/openSUSE:Factory/.GeoIP.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "GeoIP" Changes: -------- --- /work/SRC/openSUSE:Factory/GeoIP/GeoIP.changes 2015-09-30 05:53:18.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.GeoIP.new/GeoIP.changes 2015-11-23 07:30:11.000000000 +0100 @@ -1,0 +2,22 @@ +Mon Nov 16 11:05:00 UTC 2015 - mrueckert@suse.de + +- Update to 1.6.7 + * Fixed a MSVC parser stack overflow when parsing regionName.c + and timeZone.c. Fix by elliotlo. GitHub #64. + * Updated region codes and timezones. + When using GEOIP_MEMORY_CACHE with an invalid database file, + the search tree traversal could attempt to read memory outside + of the memory allocated for the memory cache, resulting in a + segmentation fault. A check was added to ensure that the + traversal code does not try to read beyond the end of the file, + whether in memory, memory mapped, or on disk. + * Previously the return values from file reads were ignored. We now + check these values to ensure that there were no errors. +- copy the tools from the debian package to work with the database + files. new BR gcc-c++. Files are installed into the same path as + on debian /usr/lib/geoip/. new binaries: + /usr/lib/geoip/geoip-generator + /usr/lib/geoip/geoip-generator-asn + /usr/lib/geoip/v4-to-v6-layout.pl + +------------------------------------------------------------------- Old: ---- GeoIP-1.6.6.tar.gz New: ---- GeoIP-1.6.7.tar.gz geoip-asn-csv-to-dat.cpp geoip-csv-to-dat.cpp v4-to-v6-layout.pl ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ GeoIP.spec ++++++ --- /var/tmp/diff_new_pack.ZElRQ5/_old 2015-11-23 07:30:12.000000000 +0100 +++ /var/tmp/diff_new_pack.ZElRQ5/_new 2015-11-23 07:30:12.000000000 +0100 @@ -17,7 +17,7 @@ Name: GeoIP -Version: 1.6.6 +Version: 1.6.7 Release: 0 Summary: Library to find the country that any IP address originates from License: LGPL-2.1+ @@ -28,7 +28,11 @@ Source2: README.SUSE Source3: geoip-fetch Source4: baselibs.conf +Source5: geoip-csv-to-dat.cpp +Source6: geoip-asn-csv-to-dat.cpp +Source7: v4-to-v6-layout.pl BuildRequires: pkg-config +BuildRequires: gcc-c++ BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} Recommends: curl @@ -115,8 +119,12 @@ %install make DESTDIR=%{buildroot} install %{?_smp_mflags} -install -d %{buildroot}%{_localstatedir}/lib/GeoIP +install -d %{buildroot}%{_localstatedir}/lib/GeoIP %{buildroot}%{_prefix}/lib/geoip/ install data/* %{buildroot}%{_localstatedir}/lib/GeoIP/ +# +g++ %{optflags} -I %{buildroot}%{_includedir} -L %{buildroot}%{_libdir} -o %{buildroot}%{_prefix}/lib/geoip/geoip-generator %{S:5} -lGeoIP +g++ %{optflags} -I %{buildroot}%{_includedir} -L %{buildroot}%{_libdir} -o %{buildroot}%{_prefix}/lib/geoip/geoip-generator-asn %{S:6} -lGeoIP +install -m 0755 %{S:7} %{buildroot}%{_prefix}/lib/geoip/ # do not ship these rm %{buildroot}%{_libdir}/libGeoIP.la # install fetcher @@ -148,6 +156,7 @@ %{_mandir}/man1/geoiplookup6.1* %{_mandir}/man1/geoiplookup.1* %{_sbindir}/geoip-fetch +%{_prefix}/lib/geoip/ %files data %defattr(-, root, root, -) ++++++ GeoIP-1.6.6.tar.gz -> GeoIP-1.6.7.tar.gz ++++++ ++++ 24841 lines of diff (skipped) ++++++ geoip-asn-csv-to-dat.cpp ++++++ ++++ 889 lines (skipped) ++++++ geoip-csv-to-dat.cpp ++++++ ++++ 1504 lines (skipped) ++++++ v4-to-v6-layout.pl ++++++ #!/usr/bin/perl use warnings; use strict; # Script from Boris Zentner (Maxmind) # This script converts the IPv4 csv database to the same # format as the IPv6 database. sub _x { sprintf("%02x%02x:%02x%02x", split(/\./, $_[0])); } while(<STDIN>){ chomp; my($f, $t, $tail) = split /,/, $_, 3; for($t, $f){ s/^"//; s/"$//; } my $xxxxf = _x($f); my $xxxxt = _x($t); print <<__OUT__; "::$f", "::$t", $tail "::ffff:$f", "::ffff:$t", $tail "2002:${xxxxf}::", "2002:${xxxxt}:ffff:ffff:ffff:ffff:ffff", $tail __OUT__ } exit(0);
participants (1)
-
root@hilbert.suse.de