commit geoipupdate for openSUSE:Factory

2020-11-05 Thread root
Hello community,

here is the log from the commit of package geoipupdate for openSUSE:Factory 
checked in at 2020-11-05 21:54:47

Comparing /work/SRC/openSUSE:Factory/geoipupdate (Old)
 and  /work/SRC/openSUSE:Factory/.geoipupdate.new.11331 (New)


Package is "geoipupdate"

Thu Nov  5 21:54:47 2020 rev:14 rq:846049 version:4.5.0

Changes:

--- /work/SRC/openSUSE:Factory/geoipupdate/geoipupdate.changes  2020-05-07 
14:56:35.246519254 +0200
+++ /work/SRC/openSUSE:Factory/.geoipupdate.new.11331/geoipupdate.changes   
2020-11-05 21:55:33.080099001 +0100
@@ -1,0 +2,21 @@
+Wed Nov  4 15:54:26 UTC 2020 - Paolo Stivanin 
+
+- Update to version 4.5.0:
+* We no longer use a third party library for exponential backoff
+* The edition ID is now included when there is a failure retrieving
+  a database
+* The Docker image no longer prints the generated GeoIP.conf when
+  starting up. This prevents a possible leak of the account's
+  license key
+* The minimum Go version is now 1.11.
+* Failing HTTP requests are now retried using an exponential backoff.
+  The period to keep retrying any failed request is set to 5 minutes
+  by default and can be adjusted using the new RetryFor
+  configuration option.
+* When using the go package rather than the command-line tool, the
+  null value for RetryFor will be 0 seconds, which means no retries
+  will be performed. To change that, set RetryFor explicitly in the
+  Config you provide, or obtain your Config value via
+  geoipupdate.NewConfig.
+
+---

Old:

  geoipupdate-4.3.0.tar.gz

New:

  geoipupdate-4.5.0.tar.gz



Other differences:
--
++ geoipupdate.spec ++
--- /var/tmp/diff_new_pack.NgjoXk/_old  2020-11-05 21:55:33.888097185 +0100
+++ /var/tmp/diff_new_pack.NgjoXk/_new  2020-11-05 21:55:33.892097176 +0100
@@ -18,7 +18,7 @@
 
 # Common info
 Name:   geoipupdate
-Version:4.3.0
+Version:4.5.0
 Release:0
 Summary:GeoIP update client code
 License:Apache-2.0 OR MIT
@@ -33,7 +33,7 @@
 Patch0: disable-pandoc.patch
 %if 0%{?suse_version} >= 1500
 # Build-time parameters
-BuildRequires:  go >= 1.10
+BuildRequires:  go >= 1.11
 # Manpage
 BuildRequires:  perl%{?suse_version:-base}
 %endif

++ _service ++
--- /var/tmp/diff_new_pack.NgjoXk/_old  2020-11-05 21:55:33.952097041 +0100
+++ /var/tmp/diff_new_pack.NgjoXk/_new  2020-11-05 21:55:33.952097041 +0100
@@ -2,7 +2,7 @@
 
 git
 git://github.com/maxmind/geoipupdate
-v4.3.0
+v4.5.0
 .git
 @PARENT_TAG@
 enable

++ _servicedata ++
--- /var/tmp/diff_new_pack.NgjoXk/_old  2020-11-05 21:55:33.976096987 +0100
+++ /var/tmp/diff_new_pack.NgjoXk/_new  2020-11-05 21:55:33.976096987 +0100
@@ -1,6 +1,6 @@
 
 
 git://github.com/maxmind/geoipupdate
-09ac4548fd9311541cb0885e361eb57804b7b781
+65d57e3edea7798cd72adaafca50e96f34a61d59
 
 

++ geoipupdate-4.3.0.tar.gz -> geoipupdate-4.5.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/geoipupdate-4.3.0/.github/workflows/codeql-analysis.yml 
new/geoipupdate-4.5.0/.github/workflows/codeql-analysis.yml
--- old/geoipupdate-4.3.0/.github/workflows/codeql-analysis.yml 1970-01-01 
01:00:00.0 +0100
+++ new/geoipupdate-4.5.0/.github/workflows/codeql-analysis.yml 2020-10-28 
22:03:38.0 +0100
@@ -0,0 +1,51 @@
+name: "Code scanning - action"
+
+on:
+  push:
+  pull_request:
+  schedule:
+- cron: '0 11 * * 2'
+
+jobs:
+  CodeQL-Build:
+
+runs-on: ubuntu-latest
+
+steps:
+- name: Checkout repository
+  uses: actions/checkout@v2
+  with:
+# We must fetch at least the immediate parents so that if this is
+# a pull request then we can checkout the head.
+fetch-depth: 2
+
+# If this run was triggered by a pull request event, then checkout
+# the head of the pull request instead of the merge commit.
+- run: git checkout HEAD^2
+  if: ${{ github.event_name == 'pull_request' }}
+  
+# Initializes the CodeQL tools for scanning.
+- name: Initialize CodeQL
+  uses: github/codeql-action/init@v1
+  # Override language selection by uncommenting this and choosing your 
languages
+  # with:
+  #   languages: go, javascript, csharp, python, cpp, java
+
+# Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).
+# If this step fails, then you should remove it and run the build manually 
(see below)
+- name: Autobuild
+  uses: github/codeql-action/autobuild@v1
+
+# ℹ️ Command-line programs to run using the OS shell.
+#  

commit geoipupdate for openSUSE:Factory

2020-05-07 Thread root
Hello community,

here is the log from the commit of package geoipupdate for openSUSE:Factory 
checked in at 2020-05-07 14:56:33

Comparing /work/SRC/openSUSE:Factory/geoipupdate (Old)
 and  /work/SRC/openSUSE:Factory/.geoipupdate.new.2738 (New)


Package is "geoipupdate"

Thu May  7 14:56:33 2020 rev:13 rq:800977 version:4.3.0

Changes:

--- /work/SRC/openSUSE:Factory/geoipupdate/geoipupdate.changes  2020-04-18 
00:33:46.502467856 +0200
+++ /work/SRC/openSUSE:Factory/.geoipupdate.new.2738/geoipupdate.changes
2020-05-07 14:56:35.246519254 +0200
@@ -1,0 +2,14 @@
+Thu May 07 08:06:55 UTC 2020 - Paolo Stivanin 
+
+- Update to version 4.3.0:
+  * Set release date
+  * Push multiple versions with different tags
+  * Use correct org name
+  * Add a less-strict .yamllintrc
+  * Test on go 1.14.x
+  * Shows location of GeoIP.conf when issue in file
+  * Remove extra space
+  * Fix typo in config file generation
+  * Make the edition IDs list format clearer
+
+---

Old:

  geoipupdate-4.2.2.tar.gz

New:

  geoipupdate-4.3.0.tar.gz



Other differences:
--
++ geoipupdate.spec ++
--- /var/tmp/diff_new_pack.ax29wY/_old  2020-05-07 14:56:36.330521208 +0200
+++ /var/tmp/diff_new_pack.ax29wY/_new  2020-05-07 14:56:36.334521216 +0200
@@ -18,7 +18,7 @@
 
 # Common info
 Name:   geoipupdate
-Version:4.2.2
+Version:4.3.0
 Release:0
 Summary:GeoIP update client code
 License:Apache-2.0 OR MIT

++ _service ++
--- /var/tmp/diff_new_pack.ax29wY/_old  2020-05-07 14:56:36.394521323 +0200
+++ /var/tmp/diff_new_pack.ax29wY/_new  2020-05-07 14:56:36.394521323 +0200
@@ -1,22 +1,21 @@
 
-  
-git
-git://github.com/maxmind/geoipupdate
-v4.2.2
-.git
-@PARENT_TAG@
-enable
-v(.*)
-  
+
+git
+git://github.com/maxmind/geoipupdate
+v4.3.0
+.git
+@PARENT_TAG@
+enable
+v(.*)
+
 
-  
-*.tar
-gz
-  
+
+*.tar
+gz
+
 
-  
-  
+
 
-  
+
 
 

++ _servicedata ++
--- /var/tmp/diff_new_pack.ax29wY/_old  2020-05-07 14:56:36.414521360 +0200
+++ /var/tmp/diff_new_pack.ax29wY/_new  2020-05-07 14:56:36.418521367 +0200
@@ -1,10 +1,6 @@
 
-
-git://github.com/maxmind/geoiplookup.git
-  b7d56e8cecca387a33a2d246897a737eefdee501
-git://github.com/maxmind/geoipupdate.git
-  b7d56e8cecca387a33a2d246897a737eefdee501
-https://github.com/maxmind/geoipupdate
-  b7d56e8cecca387a33a2d246897a737eefdee501
-git://github.com/maxmind/geoipupdate
-  b7d56e8cecca387a33a2d246897a737eefdee501
\ No newline at end of file
+
+git://github.com/maxmind/geoipupdate
+09ac4548fd9311541cb0885e361eb57804b7b781
+
+

++ geoipupdate-4.2.2.tar.gz -> geoipupdate-4.3.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/geoipupdate-4.2.2/.goreleaser-packages.yml 
new/geoipupdate-4.3.0/.goreleaser-packages.yml
--- old/geoipupdate-4.2.2/.goreleaser-packages.yml  2020-02-21 
21:14:17.0 +0100
+++ new/geoipupdate-4.3.0/.goreleaser-packages.yml  2020-04-16 
18:35:28.0 +0200
@@ -16,12 +16,16 @@
 goarch:
   - '386'
   - 'amd64'
+  - 'arm'
+  - 'arm64'
 goos:
   - 'linux'
 hooks:
   post: 'make data BUILDDIR=. CONFFILE=/etc/GeoIP.conf 
DATADIR=/usr/share/GeoIP'
 ldflags:
   - '-s -w -X main.version={{.Version}} -X 
main.defaultConfigFile=/etc/GeoIP.conf -X 
main.defaultDatabaseDirectory=/usr/share/GeoIP'
+env:
+  - CGO_ENABLED=0
 checksum:
   name_template: 'checksums-dpkg-rpm.txt'
 nfpms:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/geoipupdate-4.2.2/.goreleaser-windows.yml 
new/geoipupdate-4.3.0/.goreleaser-windows.yml
--- old/geoipupdate-4.2.2/.goreleaser-windows.yml   2020-02-21 
21:14:17.0 +0100
+++ new/geoipupdate-4.3.0/.goreleaser-windows.yml   2020-04-16 
18:35:28.0 +0200
@@ -21,6 +21,8 @@
   - 'windows'
 hooks:
   post: 'make data OS=Windows_NT BUILDDIR=.'
+env:
+  - CGO_ENABLED=0
 checksum:
   name_template: 'checksums-windows.txt'
 release:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/geoipupdate-4.2.2/.goreleaser.yml 
new/geoipupdate-4.3.0/.goreleaser.yml
--- old/geoipupdate-4.2.2/.goreleaser.yml   2020-02-21 21:14:17.0 
+0100
+++ new/geoipupdate-4.3.0/.goreleaser.yml   2020-04-16 18:35:28.0 
+0200
@@ -16,10 +16,23 @@
 goarch:
   - '386'
 

commit geoipupdate for openSUSE:Factory

2020-04-17 Thread root
Hello community,

here is the log from the commit of package geoipupdate for openSUSE:Factory 
checked in at 2020-04-18 00:32:49

Comparing /work/SRC/openSUSE:Factory/geoipupdate (Old)
 and  /work/SRC/openSUSE:Factory/.geoipupdate.new.2738 (New)


Package is "geoipupdate"

Sat Apr 18 00:32:49 2020 rev:12 rq:794910 version:4.2.2

Changes:

--- /work/SRC/openSUSE:Factory/geoipupdate/geoipupdate.changes  2020-03-26 
23:35:00.222812511 +0100
+++ /work/SRC/openSUSE:Factory/.geoipupdate.new.2738/geoipupdate.changes
2020-04-18 00:33:46.502467856 +0200
@@ -1,0 +2,5 @@
+Fri Apr 17 12:35:42 UTC 2020 - Vítězslav Čížek 
+
+- Fix license, it's actually Apache-2.0 or MIT (bsc#1169766)
+
+---



Other differences:
--
++ geoipupdate.spec ++
--- /var/tmp/diff_new_pack.ARRjnZ/_old  2020-04-18 00:33:47.490469902 +0200
+++ /var/tmp/diff_new_pack.ARRjnZ/_new  2020-04-18 00:33:47.490469902 +0200
@@ -21,7 +21,7 @@
 Version:4.2.2
 Release:0
 Summary:GeoIP update client code
-License:GPL-2.0-only
+License:Apache-2.0 OR MIT
 Group:  Productivity/Networking/Other
 URL:https://github.com/maxmind/geoipupdate
 Source0:%{name}-%{version}.tar.gz




commit geoipupdate for openSUSE:Factory

2020-03-26 Thread root
Hello community,

here is the log from the commit of package geoipupdate for openSUSE:Factory 
checked in at 2020-03-26 23:34:09

Comparing /work/SRC/openSUSE:Factory/geoipupdate (Old)
 and  /work/SRC/openSUSE:Factory/.geoipupdate.new.3160 (New)


Package is "geoipupdate"

Thu Mar 26 23:34:09 2020 rev:11 rq:788574 version:4.2.2

Changes:

--- /work/SRC/openSUSE:Factory/geoipupdate/geoipupdate.changes  2020-03-17 
13:09:58.313790976 +0100
+++ /work/SRC/openSUSE:Factory/.geoipupdate.new.3160/geoipupdate.changes
2020-03-26 23:35:00.222812511 +0100
@@ -1,0 +2,8 @@
+Thu Mar 26 10:21:28 UTC 2020 - Vítězslav Čížek 
+
+- Make /etc/GeoIP.conf readable only by root as it contains MaxMind
+  account information now
+- Add README.SUSE with description how to get the latest data
+  (jsc#SLE-11184, jsc#ECO-1405)
+
+---

New:

  README.SUSE



Other differences:
--
++ geoipupdate.spec ++
--- /var/tmp/diff_new_pack.8LQ0qi/_old  2020-03-26 23:35:01.682813038 +0100
+++ /var/tmp/diff_new_pack.8LQ0qi/_new  2020-03-26 23:35:01.682813038 +0100
@@ -29,6 +29,7 @@
 Source2:geoipupdate.timer
 Source3:geoipupdate.service
 Source4:geoipupdate-legacy
+Source5:README.SUSE
 Patch0: disable-pandoc.patch
 %if 0%{?suse_version} >= 1500
 # Build-time parameters
@@ -74,6 +75,7 @@
 install -D -m0755 build/geoipupdate   %{buildroot}%{_bindir}/geoipupdate
 %endif
 install -D -m0755 %{SOURCE4}  
%{buildroot}%{_bindir}/geoipupdate-legacy
+install -D -m0644 %{SOURCE5}  
%{buildroot}%{_docdir}/geoipupdate/README.SUSE
 install -D -m0644 conf/GeoIP.conf.default %{buildroot}%{_sysconfdir}/GeoIP.conf
 install -d -m0755 %{buildroot}%{_localstatedir}/lib/GeoIP
 sed -ri \
@@ -98,10 +100,10 @@
 
 %files
 %license LICENSE-*
-%config(noreplace) %{_sysconfdir}/GeoIP.conf
+%attr(0600,root,root) %config(noreplace) %{_sysconfdir}/GeoIP.conf
 %dir %{_localstatedir}/lib/GeoIP
 %if 0%{?suse_version} >= 1500
-%doc README.md build/geoipupdate.md build/GeoIP.conf.md
+%doc README.md README.SUSE build/geoipupdate.md build/GeoIP.conf.md
 %{_bindir}/geoipupdate
 %{_unitdir}/%{name}.service
 %{_unitdir}/%{name}.timer

++ README.SUSE ++
Automatically fetching GeoIP "free" databases
==

On January 2, 2019, Maxmind, the company behind the geoip database,
discontinued the GeoLite Legacy databases, which are no longer
available for download.
(https://support.maxmind.com/geolite-legacy-discontinuation-notice/)

Free geolocation data is still available through the GeoLite2 databases.
However, due to some legal changes
(https://blog.maxmind.com/2019/12/18/significant-changes-to-accessing-and-using-geolite2-databases/)
starting December 30, 2019, the Geolite2 database users are required to
register for a MaxMind account and obtain a license key in
order to download GeoLite2 databases.

The following packages are introduced to work with the new database format
and distribution:

libmaxminddb is the library for working with the geolite2 format. It doesn't
download any data, just works with a local .mmdb database.

geoipupdate is the official Maxmind's tool for downloading the
geo database. Users need to fill in its configuration file with their
Maxmind account details. It's possible to generate the entire config
from the Maxmind web page, once one has an account.

geolite2legacy is a script for converting geolite2 data to the old
geoip format. Accepts only the CSV format as input.

We also ship a geoipupdate-legacy subpackage, which is a wrapper around
geoipupdate. It downloads the data and converts them to the old format
using geolite2legacy. The data will be stored at the usual place
(/var/lib/GeoIP), so this should be transparent to existing applications.
It's basically a re-implementation of geoip-fetch which was shipped
within GeoIP package (but no longer works).

How to get the latest GeoIP data


(1) Register a MaxMind account at https://www.maxmind.com/en/geolite2/signup

(2) Fill in the account information in /etc/GeoIP.conf

(3) Install geoipupdate package

# zypper in geoipupdate

(4) Download the latest GeoIP data

# geoipupdate

Local libmaxminddb is up-to-date and packages are to work with the geo data.

Optional:

(5) Install geoipupdate-legacy package

# zypper in geoipupdate-legacy

(6) Download and export the data to the old format

# geoipupdate-legacy

Local GeoIP database is up-to-date and packages are ready to work with
the new geo data using the old GeoIP library.

Tips


These databases can become out-of-date quite quickly unless
the user manually fetches and replaces them regularly.

commit geoipupdate for openSUSE:Factory

2020-03-17 Thread root
Hello community,

here is the log from the commit of package geoipupdate for openSUSE:Factory 
checked in at 2020-03-17 13:09:47

Comparing /work/SRC/openSUSE:Factory/geoipupdate (Old)
 and  /work/SRC/openSUSE:Factory/.geoipupdate.new.3160 (New)


Package is "geoipupdate"

Tue Mar 17 13:09:47 2020 rev:10 rq:785641 version:4.2.2

Changes:

--- /work/SRC/openSUSE:Factory/geoipupdate/geoipupdate.changes  2020-03-05 
23:19:03.521203623 +0100
+++ /work/SRC/openSUSE:Factory/.geoipupdate.new.3160/geoipupdate.changes
2020-03-17 13:09:58.313790976 +0100
@@ -1,0 +2,7 @@
+Fri Mar 13 10:40:08 UTC 2020 - pgaj...@suse.com
+
+- introduce geoipupdate-legacy script [bsc#1156194]
+- added sources
+  + geoipupdate-legacy
+
+---

New:

  geoipupdate-legacy



Other differences:
--
++ geoipupdate.spec ++
--- /var/tmp/diff_new_pack.X0V9Mo/_old  2020-03-17 13:09:58.809791357 +0100
+++ /var/tmp/diff_new_pack.X0V9Mo/_new  2020-03-17 13:09:58.813791360 +0100
@@ -28,23 +28,36 @@
 Source1:vendor.tar.gz
 Source2:geoipupdate.timer
 Source3:geoipupdate.service
+Source4:geoipupdate-legacy
 Patch0: disable-pandoc.patch
+%if 0%{?suse_version} >= 1500
 # Build-time parameters
 BuildRequires:  go >= 1.10
 # Manpage
 BuildRequires:  perl%{?suse_version:-base}
+%endif
 
 %description
 The GeoIP Update program performs automatic updates of GeoIP2 and GeoIP Legacy
 binary databases. Currently the program only supports Linux and other
 Unix-like systems.
 
+%package legacy
+Summary:GeoIP Lagacy Format Updater
+Group:  Productivity/Networking/Other
+Requires:   geoipupdate
+Requires:   geolite2legacy
+
+%description legacy
+Script for updating data in GeoIP Legacy format.
+
 # Preparation step (unpackung and patching if necessary)
 %prep
 %setup -q -a1
 %patch0 -p1
 
 %build
+%if 0%{?suse_version} >= 1500
 export GOCACHE=$(pwd -P)/.gocache
 export GOTRACEBACK=crash
 export GOFLAGS='-a -mod=vendor -buildmode=pie -gcflags=all=-dwarf=false 
-ldflags=all=-s -ldflags=all=-w'
@@ -52,20 +65,24 @@
   CONFFILE=%{_sysconfdir}/GeoIP.conf \
   DATADIR=%{_localstatedir}/lib/GeoIP \
   VERSION=%{version}
+%endif
 
 %install
+%if 0%{?suse_version} >= 1500
 install -D -m0644 %{SOURCE2}  
%{buildroot}%{_unitdir}/geoipupdate.timer
 install -D -m0644 %{SOURCE3}  
%{buildroot}%{_unitdir}/geoipupdate.service
 install -D -m0755 build/geoipupdate   %{buildroot}%{_bindir}/geoipupdate
+%endif
+install -D -m0755 %{SOURCE4}  
%{buildroot}%{_bindir}/geoipupdate-legacy
 install -D -m0644 conf/GeoIP.conf.default %{buildroot}%{_sysconfdir}/GeoIP.conf
 install -d -m0755 %{buildroot}%{_localstatedir}/lib/GeoIP
 sed -ri \
- -e '/^UserId\s*/ s|YOUR_USER_ID_HERE|99|' \
- -e '/^LicenseKey\s*/ s|YOUR_LICENSE_KEY_HERE||' \
- -e '/^ProductIds\s*/ s|^(\w+s*).+$|\1 GeoLite2-City GeoLite2-Country 
GeoLite-Legacy-IPv6-City GeoLite-Legacy-IPv6-Country 506 517 533|' \
+ -e 's|YOUR_ACCOUNT_ID_HERE|99|' \
+ -e 's|YOUR_LICENSE_KEY_HERE||' \
  -e '/^(#\s*)?DatabaseDirectory/ 
s|^(#\s*)?(\w+\s*).+$|\2%{_localstatedir}/lib/GeoIP|' \
  %{buildroot}%{_sysconfdir}/GeoIP.conf
 
+%if 0%{?suse_version} >= 1500
 %pre
 %service_add_pre %{name}.service
 
@@ -77,14 +94,20 @@
 
 %postun
 %service_del_postun %{name}.service
+%endif
 
 %files
-%doc README.md build/geoipupdate.md build/GeoIP.conf.md
 %license LICENSE-*
 %config(noreplace) %{_sysconfdir}/GeoIP.conf
-%{_bindir}/geoipupdate
 %dir %{_localstatedir}/lib/GeoIP
+%if 0%{?suse_version} >= 1500
+%doc README.md build/geoipupdate.md build/GeoIP.conf.md
+%{_bindir}/geoipupdate
 %{_unitdir}/%{name}.service
 %{_unitdir}/%{name}.timer
+%endif
+
+%files legacy
+%{_bindir}/geoipupdate-legacy
 
 %changelog

++ geoipupdate-legacy ++
#!/bin/bash
geoip_conf='/etc/GeoIP.conf'

function conf_value()
{
  key=$1
  value=$(grep $key $geoip_conf | sed -e 's:#.*::' -e "s:$key::")
  if [ -z $value ]; then
echo $key not configured in $geoip_conf
exit 1
  fi
  echo $value
}

function download_geodata_csv()
{
  csv_product=$1
  echo ">>> Downloading $csv_product.zip"
  curl 
"https://download.maxmind.com/app/geoip_download?edition_id=$csv_product_key=$license_key=zip;
 \
   -o $database_directory/$csv_product.zip
}

function geolite_to_legacy()
{
  csv_product=$1
  echo ">>> Converting $csv_product.zip to legacy format"
  if ! which geolite2legacy >/dev/null 2>&1; then
echo 'geolite2legacy program required'
return
  fi

  pushd $database_directory
  if [ ! -f $csv_product.zip ]; then
echo $database_directory/$csv_product.zip not found
return
  fi

  geolite2legacy -i 

commit geoipupdate for openSUSE:Factory

2020-03-05 Thread root
Hello community,

here is the log from the commit of package geoipupdate for openSUSE:Factory 
checked in at 2020-03-05 23:18:58

Comparing /work/SRC/openSUSE:Factory/geoipupdate (Old)
 and  /work/SRC/openSUSE:Factory/.geoipupdate.new.26092 (New)


Package is "geoipupdate"

Thu Mar  5 23:18:58 2020 rev:9 rq:781418 version:4.2.2

Changes:

--- /work/SRC/openSUSE:Factory/geoipupdate/geoipupdate.changes  2019-06-20 
18:56:35.920944324 +0200
+++ /work/SRC/openSUSE:Factory/.geoipupdate.new.26092/geoipupdate.changes   
2020-03-05 23:19:03.521203623 +0100
@@ -1,0 +2,54 @@
+Wed Mar 04 07:24:45 UTC 2020 - i...@paolostivanin.com
+
+- Update to version 4.2.2:
+  * Prepare for 4.2.2
+  * Use go get on 1.10
+  * Only use debug.ReadBuildInfo on 1.12+
+  * Update changelog
+  * Set required Go version to 1.10
+  * Test back to Go 1.10
+  * Do not unnecessarily use errors.Is
+  * Add changelog for #76
+  * Update for GoReleaser nfpm section change
+  * Bump copyright year
+
+- Add disable-pandoc.patch
+
+---
+Wed Mar 04 07:23:56 UTC 2020 - i...@paolostivanin.com
+
+- Update to version 4.2.2:
+  * Prepare for 4.2.2
+  * Use go get on 1.10
+  * Only use debug.ReadBuildInfo on 1.12+
+  * Update changelog
+  * Set required Go version to 1.10
+  * Test back to Go 1.10
+  * Do not unnecessarily use errors.Is
+  * Add changelog for #76
+  * Update for GoReleaser nfpm section change
+  * Bump copyright year
+
+---
+Tue Mar 03 15:31:26 UTC 2020 - i...@paolostivanin.com
+
+- Update to version 4.2.2:
+  * Prepare for 4.2.2
+  * Use go get on 1.10
+  * Only use debug.ReadBuildInfo on 1.12+
+  * Update changelog
+  * Set required Go version to 1.10
+  * Test back to Go 1.10
+  * Do not unnecessarily use errors.Is
+  * Add changelog for #76
+  * Update for GoReleaser nfpm section change
+  * Bump copyright year
+
+---
+Tue Mar  3 13:47:31 UTC 2020 - Paolo Stivanin 
+
+- Update to 4.2.2
+  A lot of changes since last release. Please have a look at
+  https://github.com/maxmind/geoipupdate/releases for more info
+
+---

Old:

  geoipupdate-legacy-3.1.1.tar.gz

New:

  _service
  _servicedata
  disable-pandoc.patch
  geoipupdate-4.2.2.tar.gz
  vendor.tar.gz



Other differences:
--
++ geoipupdate.spec ++
--- /var/tmp/diff_new_pack.bODAzK/_old  2020-03-05 23:19:05.173204557 +0100
+++ /var/tmp/diff_new_pack.bODAzK/_new  2020-03-05 23:19:05.197204571 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package geoipupdate
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,50 +16,55 @@
 #
 
 
+# Common info
 Name:   geoipupdate
-Version:3.1.1
+Version:4.2.2
 Release:0
 Summary:GeoIP update client code
 License:GPL-2.0-only
-Group:  Productivity/Networking/System
-URL:https://www.maxmind.com
-Source0:
https://github.com/maxmind/geoipupdate-legacy/archive/v%{version}/%{name}-legacy-%{version}.tar.gz
-Source1:geoipupdate.timer
-Source2:geoipupdate.service
-BuildRequires:  autoconf
-BuildRequires:  libtool
-BuildRequires:  pkgconfig
-BuildRequires:  pkgconfig(libcurl)
-BuildRequires:  pkgconfig(systemd)
-BuildRequires:  pkgconfig(zlib)
-Conflicts:  GeoIP < 1.6.0
-%{?systemd_requires}
+Group:  Productivity/Networking/Other
+URL:https://github.com/maxmind/geoipupdate
+Source0:%{name}-%{version}.tar.gz
+Source1:vendor.tar.gz
+Source2:geoipupdate.timer
+Source3:geoipupdate.service
+Patch0: disable-pandoc.patch
+# Build-time parameters
+BuildRequires:  go >= 1.10
+# Manpage
+BuildRequires:  perl%{?suse_version:-base}
 
 %description
-The GeoIP Update program performs automatic updates of GeoIP2 and GeoIP
-Legacy binary databases. Currently the program only supports Linux and
-other Unix- like systems.
+The GeoIP Update program performs automatic updates of GeoIP2 and GeoIP Legacy
+binary databases. Currently the program only supports Linux and other
+Unix-like systems.
 
+# Preparation step (unpackung and patching if necessary)
 %prep
-%setup -q -n %{name}-legacy-%{version}
+%setup -q -a1
+%patch0 -p1
 
 %build
-autoreconf --install
-%configure \
-  --datadir=%{_localstatedir}/lib
-make %{?_smp_mflags}
+export GOCACHE=$(pwd -P)/.gocache
+export GOTRACEBACK=crash
+export GOFLAGS='-a -mod=vendor 

commit geoipupdate for openSUSE:Factory

2019-06-20 Thread root
Hello community,

here is the log from the commit of package geoipupdate for openSUSE:Factory 
checked in at 2019-06-20 18:56:34

Comparing /work/SRC/openSUSE:Factory/geoipupdate (Old)
 and  /work/SRC/openSUSE:Factory/.geoipupdate.new.4811 (New)


Package is "geoipupdate"

Thu Jun 20 18:56:34 2019 rev:8 rq:711034 version:3.1.1

Changes:

--- /work/SRC/openSUSE:Factory/geoipupdate/geoipupdate.changes  2019-06-19 
21:14:37.390876146 +0200
+++ /work/SRC/openSUSE:Factory/.geoipupdate.new.4811/geoipupdate.changes
2019-06-20 18:56:35.920944324 +0200
@@ -1,0 +2,6 @@
+Thu Jun 20 05:35:01 UTC 2019 - Wolfgang Rosenauer 
+
+- added systemd timer for weekly updates
+  (needs to be enabled by admin)
+
+---

New:

  geoipupdate.service
  geoipupdate.timer



Other differences:
--
++ geoipupdate.spec ++
--- /var/tmp/diff_new_pack.xpv5dE/_old  2019-06-20 18:56:37.276946182 +0200
+++ /var/tmp/diff_new_pack.xpv5dE/_new  2019-06-20 18:56:37.280946187 +0200
@@ -24,12 +24,16 @@
 Group:  Productivity/Networking/System
 URL:https://www.maxmind.com
 Source0:
https://github.com/maxmind/geoipupdate-legacy/archive/v%{version}/%{name}-legacy-%{version}.tar.gz
+Source1:geoipupdate.timer
+Source2:geoipupdate.service
 BuildRequires:  autoconf
 BuildRequires:  libtool
 BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(libcurl)
+BuildRequires:  pkgconfig(systemd)
 BuildRequires:  pkgconfig(zlib)
 Conflicts:  GeoIP < 1.6.0
+%{?systemd_requires}
 
 %description
 The GeoIP Update program performs automatic updates of GeoIP2 and GeoIP
@@ -51,10 +55,24 @@
 install -D -p -m 0644 conf/GeoIP.conf.default \
   %{buildroot}%{_sysconfdir}/GeoIP.conf.default
 rm -rf %{buildroot}%{_datadir}/doc/geoipupdate
+install -D -m 0644 %{SOURCE1} %{buildroot}%{_unitdir}/%{name}.timer
+install -D -m 0644 %{SOURCE2} %{buildroot}%{_unitdir}/%{name}.service
 
 %check
 make %{?_smp_mflags} check
 
+%pre
+%service_add_pre %{name}.service
+
+%post
+%service_add_post %{name}.service
+
+%preun
+%service_del_preun %{name}.service
+
+%postun
+%service_del_postun %{name}.service
+
 %files
 %license LICENSE
 %doc README.md ChangeLog.md
@@ -62,6 +80,8 @@
 %config %{_sysconfdir}/GeoIP.conf.default
 %dir %{_localstatedir}/lib/GeoIP
 %{_bindir}/geoipupdate
+%{_unitdir}/%{name}.service
+%{_unitdir}/%{name}.timer
 %{_mandir}/man1/geoipupdate.1%{?ext_man}
 %{_mandir}/man5/GeoIP.conf.5%{?ext_man}
 

++ geoipupdate.service ++
[Unit]
Description=Update GeoIP databases
Documentation=man:geoipupdate(1) man:GeoIP.conf(5)

[Service]
Type=oneshot
WorkingDirectory=/var/lib/GeoIP

ExecStart=/usr/bin/geoipupdate
++ geoipupdate.timer ++
[Unit]
Description=Weekly update of GeoLite2 databases
Documentation=man:geoipupdate(1) man:GeoIP.conf(5)

[Timer]
OnUnitInactiveSec=1w
OnStartupSec=1h
AccuracySec=1h

[Install]
WantedBy=timers.target




commit geoipupdate for openSUSE:Factory

2019-06-19 Thread root
Hello community,

here is the log from the commit of package geoipupdate for openSUSE:Factory 
checked in at 2019-06-19 21:14:07

Comparing /work/SRC/openSUSE:Factory/geoipupdate (Old)
 and  /work/SRC/openSUSE:Factory/.geoipupdate.new.4811 (New)


Package is "geoipupdate"

Wed Jun 19 21:14:07 2019 rev:7 rq:710871 version:3.1.1

Changes:

--- /work/SRC/openSUSE:Factory/geoipupdate/geoipupdate.changes  2017-11-16 
14:03:57.635219172 +0100
+++ /work/SRC/openSUSE:Factory/.geoipupdate.new.4811/geoipupdate.changes
2019-06-19 21:14:37.390876146 +0200
@@ -1,0 +2,63 @@
+Wed Jun 19 10:34:53 UTC 2019 - Johannes Weberhofer 
+
+- 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`
+99 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.
+
+---

Old:

  geoipupdate-2.5.0.tar.gz

New:

  geoipupdate-legacy-3.1.1.tar.gz



Other differences:
--
++ geoipupdate.spec ++
--- /var/tmp/diff_new_pack.1jBHXY/_old  2019-06-19 21:14:38.246877018 +0200
+++ /var/tmp/diff_new_pack.1jBHXY/_new  2019-06-19 21:14:38.246877018 +0200
@@ -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 

commit geoipupdate for openSUSE:Factory

2017-11-16 Thread root
Hello community,

here is the log from the commit of package geoipupdate for openSUSE:Factory 
checked in at 2017-11-16 14:03:53

Comparing /work/SRC/openSUSE:Factory/geoipupdate (Old)
 and  /work/SRC/openSUSE:Factory/.geoipupdate.new (New)


Package is "geoipupdate"

Thu Nov 16 14:03:53 2017 rev:6 rq:542193 version:2.5.0

Changes:

--- /work/SRC/openSUSE:Factory/geoipupdate/geoipupdate.changes  2017-01-10 
10:48:41.503307770 +0100
+++ /work/SRC/openSUSE:Factory/.geoipupdate.new/geoipupdate.changes 
2017-11-16 14:03:57.635219172 +0100
@@ -1,0 +2,36 @@
+Thu Nov 16 09:09:29 UTC 2017 - mplus...@suse.com
+
+- Update to version 2.5.0:
+  * Document the LockFile option in the GeoIP.conf man page.
+  * Remove unused base64 library.
+  * Add the new configuration option PreserveFileTimes. If set, the
+downloaded files will get the same modification times as their
+original on the server. Default is 0 (unset).
+  * Use the correct types when calling curl_easy_setopt().
+  * In GeoIP.conf, the UserId option was renamed to AccountID and
+the ProductIds option was renamed to EditionIDs. The old
+options will continue to work, but upgrading to the new names
+is recommended for forward compatibility.
+- Cleanup previous changelog entry
+- Run tests during build
+
+---
+Mon Oct 16 15:35:45 UTC 2017 - mathias.hom...@opensuse.org
+
+- Update to version 2.4.0:
+  * geoipupdate now checks that the database directory is writable.
+If it is not, it reports the problem and aborts.
+  * geoipupdate now acquires a lock when starting up to ensure only
+one instance may run at a time. A new option, LockFile, exists
+to set the file to use as a lock. By default, LockFile is the
+file .geoipupdate.lock in the database directory.
+  * geoipupdate now prints out additional information from the
+server when a download request results in something other than
+HTTP status 2xx. This provides more information when the API
+does not respond with a database file. In conjunction with
+changes to the download service itself, errors such as lacking
+a subscription no longer show up with the message "not a valid
+gzip file".
+  * ${datarootdir}/GeoIP is now created on make install.
+
+---

Old:

  geoipupdate-2.3.1.tar.gz

New:

  geoipupdate-2.5.0.tar.gz



Other differences:
--
++ geoipupdate.spec ++
--- /var/tmp/diff_new_pack.mTQyKK/_old  2017-11-16 14:03:59.195162634 +0100
+++ /var/tmp/diff_new_pack.mTQyKK/_new  2017-11-16 14:03:59.199162489 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   geoipupdate
-Version:2.3.1
+Version:2.5.0
 Release:0
 Summary:GeoIP update client code
 License:GPL-2.0
@@ -49,8 +49,10 @@
   %{buildroot}%{_sysconfdir}/GeoIP.conf.default
 rm -rf %{buildroot}%{_datadir}/doc/geoipupdate
 
+%check
+make check
+
 %files
-%defattr(-,root,root)
 %doc README.md ChangeLog.md LICENSE
 %config(noreplace) %{_sysconfdir}/GeoIP.conf
 %config %{_sysconfdir}/GeoIP.conf.default

++ geoipupdate-2.3.1.tar.gz -> geoipupdate-2.5.0.tar.gz ++
 4548 lines of diff (skipped)




commit geoipupdate for openSUSE:Factory

2016-02-08 Thread h_root
Hello community,

here is the log from the commit of package geoipupdate for openSUSE:Factory 
checked in at 2016-02-08 09:47:49

Comparing /work/SRC/openSUSE:Factory/geoipupdate (Old)
 and  /work/SRC/openSUSE:Factory/.geoipupdate.new (New)


Package is "geoipupdate"

Changes:

--- /work/SRC/openSUSE:Factory/geoipupdate/geoipupdate.changes  2015-11-10 
10:03:25.0 +0100
+++ /work/SRC/openSUSE:Factory/.geoipupdate.new/geoipupdate.changes 
2016-02-08 09:47:51.0 +0100
@@ -1,0 +2,7 @@
+Thu Feb  4 20:17:08 UTC 2016 - mplus...@suse.com
+
+- Update to version 2.2.2
+  * geoipupdate now calls fsync on the database directory after a 
+rename to make it durable in the event of a crash.
+
+---

Old:

  geoipupdate-2.2.1.tar.gz

New:

  geoipupdate-2.2.2.tar.gz



Other differences:
--
++ geoipupdate.spec ++
--- /var/tmp/diff_new_pack.3p1iJY/_old  2016-02-08 09:47:52.0 +0100
+++ /var/tmp/diff_new_pack.3p1iJY/_new  2016-02-08 09:47:52.0 +0100
@@ -1,7 +1,7 @@
 #
-# spec file for package spec
+# spec file for package geoipupdate
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 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,7 +17,7 @@
 
 
 Name:   geoipupdate
-Version:2.2.1
+Version:2.2.2
 Release:0
 Summary:GeoIP update client code
 License:GPL-2.0
@@ -54,7 +54,7 @@
 %config %{_sysconfdir}/GeoIP.conf.default
 %dir %{_localstatedir}/lib/GeoIP
 %{_bindir}/geoipupdate
-%{_mandir}/man1/*
-%{_mandir}/man5/*
+%{_mandir}/man1/geoipupdate.1%{ext_man}
+%{_mandir}/man5/GeoIP.conf.5%{ext_man}
 
 %changelog

++ geoipupdate-2.2.1.tar.gz -> geoipupdate-2.2.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/geoipupdate-2.2.1/ChangeLog.md 
new/geoipupdate-2.2.2/ChangeLog.md
--- old/geoipupdate-2.2.1/ChangeLog.md  2015-02-26 05:12:31.0 +0100
+++ new/geoipupdate-2.2.2/ChangeLog.md  2016-01-21 19:29:30.0 +0100
@@ -1,13 +1,18 @@
 GeoIP Update Change Log
 ===
 
+2.2.2 (2016-01-21)
+--
+
+* `geoipupdate` now calls `fsync` on the database directory after a `rename`
+  to make it durable in the event of a crash.
+
 2.2.1 (2015-02-25)
 --
 
 * Bump version number to correct PPA release issue. No other changes to the
   source distribution.
 
-
 2.2.0 (2015-02-25)
 --
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/geoipupdate-2.2.1/Makefile.in 
new/geoipupdate-2.2.2/Makefile.in
--- old/geoipupdate-2.2.1/Makefile.in   2015-02-26 05:12:46.0 +0100
+++ new/geoipupdate-2.2.2/Makefile.in   2016-01-21 19:47:25.0 +0100
@@ -1,7 +1,7 @@
-# Makefile.in generated by automake 1.14.1 from Makefile.am.
+# Makefile.in generated by automake 1.15 from Makefile.am.
 # @configure_input@
 
-# Copyright (C) 1994-2013 Free Software Foundation, Inc.
+# Copyright (C) 1994-2014 Free Software Foundation, Inc.
 
 # This Makefile.in is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -14,7 +14,17 @@
 
 @SET_MAKE@
 VPATH = @srcdir@
-am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
+am__is_gnu_make = { \
+  if test -z '$(MAKELEVEL)'; then \
+false; \
+  elif test -n '$(MAKE_HOST)'; then \
+true; \
+  elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
+true; \
+  else \
+false; \
+  fi; \
+}
 am__make_running_with_option = \
   case $${target_option-} in \
   ?) ;; \
@@ -78,13 +88,12 @@
 build_triplet = @build@
 host_triplet = @host@
 subdir = .
-DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
-   $(top_srcdir)/configure $(am__configure_deps) compile \
-   config.guess config.sub install-sh missing ltmain.sh
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/configure.ac
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
+DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
+   $(am__configure_deps) $(am__DIST_COMMON)
 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
  configure.lineno config.status.lineno
 mkinstalldirs = $(install_sh) -d
@@ -146,6 +155,8 @@
 CTAGS = ctags
 CSCOPE = cscope
 DIST_SUBDIRS = $(SUBDIRS)
+am__DIST_COMMON = $(srcdir)/Makefile.in compile config.guess \
+   config.sub depcomp install-sh ltmain.sh missing
 DISTFILES = 

commit geoipupdate for openSUSE:Factory

2015-11-10 Thread h_root
Hello community,

here is the log from the commit of package geoipupdate for openSUSE:Factory 
checked in at 2015-11-10 10:03:18

Comparing /work/SRC/openSUSE:Factory/geoipupdate (Old)
 and  /work/SRC/openSUSE:Factory/.geoipupdate.new (New)


Package is "geoipupdate"

Changes:

--- /work/SRC/openSUSE:Factory/geoipupdate/geoipupdate.changes  2015-02-24 
13:06:46.0 +0100
+++ /work/SRC/openSUSE:Factory/.geoipupdate.new/geoipupdate.changes 
2015-11-10 10:03:25.0 +0100
@@ -1,0 +2,16 @@
+Sun Nov  8 13:56:31 UTC 2015 - p.drou...@gmail.com
+
+- Update to version 2.2.1
+  * Version bump to fix PPA issue
+- Changes from version 2.2.0
+  * geoipupdate now verifies the MD5 of the new database before 
+deploying it. If the database MD5 does not match the expected MD5,
+geoipupdate will exit with an error.
+  * The copy of base64.c and base64.h was switched to a version under
+GPL 2+ to prevent a license conflict.
+  * The LICENSE file was added to the distribution.
+  * Several issues in the documentation were fixed.
+- Remove gpl-2.0.txt; now included in the tarball
+- Perform a spec-cleaner
+
+---

Old:

  geoipupdate-2.1.0.tar.gz
  gpl-2.0.txt

New:

  geoipupdate-2.2.1.tar.gz



Other differences:
--
++ geoipupdate.spec ++
--- /var/tmp/diff_new_pack.CSeW2v/_old  2015-11-10 10:03:26.0 +0100
+++ /var/tmp/diff_new_pack.CSeW2v/_new  2015-11-10 10:03:26.0 +0100
@@ -1,5 +1,5 @@
 #
-# spec file for package geoipupdate
+# spec file for package spec
 #
 # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
@@ -15,18 +15,18 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 Name:   geoipupdate
-Version:   2.1.0
+Version:2.2.1
 Release:   0
-License:   GPL-2.0
 Summary:   GeoIP update client code
-Url:   https://www.maxmind.com
+License:GPL-2.0
 Group: System/Tools
+Url:https://www.maxmind.com
 Source0:   
https://github.com/maxmind/geoipupdate/releases/download/v%{version}/%{name}-%{version}.tar.gz
-Source1:   http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
 BuildRequires:  pkg-config
-BuildRequires:  pkgconfig(zlib)
 BuildRequires: pkgconfig(libcurl)
+BuildRequires:  pkgconfig(zlib)
 Conflicts: GeoIP < 1.6.0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
@@ -44,18 +44,17 @@
 make %{?_smp_mflags}
 
 %install
-make install DESTDIR=%{buildroot} %{?_smp_mflags}
-install -m 644 %{SOURCE1} .
+%make_install
 install -d %{buildroot}%{_localstatedir}/lib/GeoIP
 
 %files
 %defattr(-,root,root)
-%doc README.md ChangeLog.md gpl-2.0.txt
+%doc README.md ChangeLog.md LICENSE
 %config(noreplace) %{_sysconfdir}/GeoIP.conf
 %config %{_sysconfdir}/GeoIP.conf.default
 %dir %{_localstatedir}/lib/GeoIP
 %{_bindir}/geoipupdate
-%doc %{_mandir}/man1/*
-%doc %{_mandir}/man5/*
+%{_mandir}/man1/*
+%{_mandir}/man5/*
 
 %changelog

++ geoipupdate-2.1.0.tar.gz -> geoipupdate-2.2.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/geoipupdate-2.1.0/ChangeLog.md 
new/geoipupdate-2.2.1/ChangeLog.md
--- old/geoipupdate-2.1.0/ChangeLog.md  2014-11-06 22:47:30.0 +0100
+++ new/geoipupdate-2.2.1/ChangeLog.md  2015-02-26 05:12:31.0 +0100
@@ -1,6 +1,24 @@
 GeoIP Update Change Log
 ===
 
+2.2.1 (2015-02-25)
+--
+
+* Bump version number to correct PPA release issue. No other changes to the
+  source distribution.
+
+
+2.2.0 (2015-02-25)
+--
+
+* `geoipupdate` now verifies the MD5 of the new database before deploying it.
+  If the database MD5 does not match the expected MD5, `geoipupdate` will
+  exit with an error.
+* The copy of `base64.c` and `base64.h` was switched to a version under GPL 2+
+  to prevent a license conflict.
+* The `LICENSE` file was added to the distribution.
+* Several issues in the documentation were fixed.
+
 2.1.0 (2014-11-06)
 --
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/geoipupdate-2.1.0/LICENSE 
new/geoipupdate-2.2.1/LICENSE
--- old/geoipupdate-2.1.0/LICENSE   1970-01-01 01:00:00.0 +0100
+++ new/geoipupdate-2.2.1/LICENSE   2014-02-07 16:09:10.0 +0100
@@ -0,0 +1,339 @@
+GNU GENERAL PUBLIC LICENSE
+   Version 2, June 1991
+
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+