- Update to version 2.3.1:

* geoipupdate now uses TCP keep-alive when compiled with cURL
    7.25 or greater.
  * Previously, on an invalid gzip file, geoipupdate would output
    binary data to stderr. It now displays an appropriate error
    message.
  * Install README, ChangeLog, GeoIP.conf.default etc into docdir.
  * $(sysconfdir) is now created if it doesn't exist.
  * The sample config file is now usable.

OBS-URL: https://build.opensuse.org/package/show/Application:Geo/geoipupdate?expand=0&rev=10
This commit is contained in:
Martin Pluskal 2017-01-05 15:50:14 +00:00 committed by Git OBS Bridge
parent 0cc0806c14
commit dbf75ad728
4 changed files with 23 additions and 8 deletions

View File

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

3
geoipupdate-2.3.1.tar.gz Normal file
View File

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

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Thu Jan 5 15:40:45 UTC 2017 - mpluskal@suse.com
- Update to version 2.3.1:
* geoipupdate now uses TCP keep-alive when compiled with cURL
7.25 or greater.
* Previously, on an invalid gzip file, geoipupdate would output
binary data to stderr. It now displays an appropriate error
message.
* Install README, ChangeLog, GeoIP.conf.default etc into docdir.
* $(sysconfdir) is now created if it doesn't exist.
* The sample config file is now usable.
-------------------------------------------------------------------
Fri Jul 1 17:31:03 UTC 2016 - toddrme2178@gmail.com

View File

@ -1,7 +1,7 @@
#
# spec file for package geoipupdate
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017 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
@ -17,18 +17,17 @@
Name: geoipupdate
Version: 2.2.2
Version: 2.3.1
Release: 0
Summary: GeoIP update client code
License: GPL-2.0
Group: Productivity/Networking/System
Url: https://www.maxmind.com
Source0: https://github.com/maxmind/geoipupdate/releases/download/v%{version}/%{name}-%{version}.tar.gz
BuildRequires: pkg-config
BuildRequires: pkgconfig
BuildRequires: pkgconfig(libcurl)
BuildRequires: pkgconfig(zlib)
Conflicts: GeoIP < 1.6.0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
The GeoIP Update program performs automatic updates of GeoIP2 and GeoIP
@ -40,12 +39,15 @@ other Unix- like systems.
%build
%configure \
--datadir=%{_localstatedir}/lib
--datadir=%{_localstatedir}/lib
make %{?_smp_mflags}
%install
%make_install
install -d %{buildroot}%{_localstatedir}/lib/GeoIP
install -D -p -m 0644 conf/GeoIP.conf.default \
%{buildroot}%{_sysconfdir}/GeoIP.conf.default
rm -rf %{buildroot}%{_datadir}/doc/geoipupdate
%files
%defattr(-,root,root)