Accepting request 710871 from Application:Geo

OBS-URL: https://build.opensuse.org/request/show/710871
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/geoipupdate?expand=0&rev=7
This commit is contained in:
Dominique Leuenberger 2019-06-19 19:14:07 +00:00 committed by Git OBS Bridge
commit e09e3382df
4 changed files with 81 additions and 14 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5119fd0e338cd083e886228b26679c64bcbaade8a815be092aecf865a610ab26
size 371882

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c3bb4a01bded3d9ea2fca1aad0a978a5fc7784e4cfb889126ce4e82bf5cf37d0
size 33767

View File

@ -1,3 +1,66 @@
-------------------------------------------------------------------
Wed Jun 19 10:34:53 UTC 2019 - Johannes Weberhofer <jweberhofer@weberhofer.at>
- Fixed build
- Update to version 3.1.1
* This version now allows parsing of license keys longer than 12
characters.
- Update to version 3.1.0
* This version restores the ability to use the `AccountID` / `UserId`
999999 along with an all-zero license key when downloading free
databases. However, the use of this combination is not recommended
and may break in future versions.
* When printing verbose output, only the first four character of the
`LicenseKey` will now be displayed.
- Update to version 3.0.1
* When there were no updates available, 3.0.0 incorrectly returned an
exit code of 1 instead of 0. This release reverts to the pre-3.0.0
behavior, returning an exit code of 0 in this case.
- Update to version 3.0.0
* BREAKING CHANGE: When downloading the free databases without a
MaxMind account, you must either not have `AccountID`, `UserId`,
or `LicenseKey` set in your configuration file or they must be set
to the zero values previously recommended in our documentation. Any
other value will cause an authorization error.
* BREAKING CHANGE: The configuration options `Protocol`,
`SkipPeerVerification`, and `SkipHostnameVerification` are no longer
supported. If they are present in the configuration file, they will
be ignored. HTTPS with peer and hostname verification will be used
on all requests.
* BREAKING CHANGE: The configuration file must have the `AccountID`
or the deprecated `UserId` when downloading a paid database.
Previously, when downloading the GeoIP Legacy Country database, you
were able to only provide the `LicenseKey`.
* IMPORTANT: `geoipupdate-pureperl.pl` has been removed and will no
longer be distributed with `geoipupdate`. This Perl script had known
issues and did not have feature parity with the C implementation. If
you were using the Perl version, we recommend that you switch to the
C version. If you are not able to do this, you may continue using the
Perl version distributed with 2.5.0.
* This program no longer uses the following endpoints:
`/app/update_getipaddr`, `/app/update`, and `/app/update_secure`.
`/geoip/databases/{edition_id}/update` is now used instead.
* Fixed issue in `gu_strnlen()` dereferencing a pointer before checking
that it was in array bounds. Issue found by fcntl.
* We now update the default GeoIP.conf during installation so that
directory paths match build parameters. Previously this config always
said the data directory was under /usr/local/share which was not always
accurate.
* Improve the error checking and display the underlying reason for the
error when possible. Reported by Jonathan Kosgei. GitHub #82.
* Document that the `LockFile` is not removed from the filesystem after
a successful exit from the program. GitHub issue #79.
* Make default configuration directory agree with default installation
directory.
-------------------------------------------------------------------
Thu Nov 16 09:09:29 UTC 2017 - mpluskal@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package geoipupdate
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 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
@ -12,18 +12,20 @@
# 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: geoipupdate
Version: 2.5.0
Version: 3.1.1
Release: 0
Summary: GeoIP update client code
License: GPL-2.0
License: GPL-2.0-only
Group: Productivity/Networking/System
Url: https://www.maxmind.com
Source0: https://github.com/maxmind/geoipupdate/releases/download/v%{version}/%{name}-%{version}.tar.gz
URL: https://www.maxmind.com
Source0: https://github.com/maxmind/geoipupdate-legacy/archive/v%{version}/%{name}-legacy-%{version}.tar.gz
BuildRequires: autoconf
BuildRequires: libtool
BuildRequires: pkgconfig
BuildRequires: pkgconfig(libcurl)
BuildRequires: pkgconfig(zlib)
@ -35,9 +37,10 @@ Legacy binary databases. Currently the program only supports Linux and
other Unix- like systems.
%prep
%setup -q
%setup -q -n %{name}-legacy-%{version}
%build
autoreconf --install
%configure \
--datadir=%{_localstatedir}/lib
make %{?_smp_mflags}
@ -50,15 +53,16 @@ install -D -p -m 0644 conf/GeoIP.conf.default \
rm -rf %{buildroot}%{_datadir}/doc/geoipupdate
%check
make check
make %{?_smp_mflags} check
%files
%doc README.md ChangeLog.md LICENSE
%license LICENSE
%doc README.md ChangeLog.md
%config(noreplace) %{_sysconfdir}/GeoIP.conf
%config %{_sysconfdir}/GeoIP.conf.default
%dir %{_localstatedir}/lib/GeoIP
%{_bindir}/geoipupdate
%{_mandir}/man1/geoipupdate.1%{ext_man}
%{_mandir}/man5/GeoIP.conf.5%{ext_man}
%{_mandir}/man1/geoipupdate.1%{?ext_man}
%{_mandir}/man5/GeoIP.conf.5%{?ext_man}
%changelog