commit geoipupdate for openSUSE:Factory

2024-02-29 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package geoipupdate for openSUSE:Factory 
checked in at 2024-02-29 21:52:36

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


Package is "geoipupdate"

Thu Feb 29 21:52:36 2024 rev:26 rq:1153536 version:6.1.0

Changes:

--- /work/SRC/openSUSE:Factory/geoipupdate/geoipupdate.changes  2024-02-21 
17:58:25.391657337 +0100
+++ /work/SRC/openSUSE:Factory/.geoipupdate.new.1770/geoipupdate.changes
2024-02-29 21:52:59.831764962 +0100
@@ -1,0 +2,5 @@
+Thu Feb 22 17:05:34 UTC 2024 - Valentin Lefebvre 
+
+- Use autosetup to prepare for RPM 4.20. 
+
+---



Other differences:
--
++ geoipupdate.spec ++
--- /var/tmp/diff_new_pack.ssgupX/_old  2024-02-29 21:53:00.355783932 +0100
+++ /var/tmp/diff_new_pack.ssgupX/_new  2024-02-29 21:53:00.355783932 +0100
@@ -16,7 +16,6 @@
 #
 
 
-# Common info
 Name:   geoipupdate
 Version:6.1.0
 Release:0
@@ -53,11 +52,8 @@
 %description legacy
 Script for updating data in GeoIP Legacy format.
 
-
-# Preparation step (unpackung and patching if necessary)
 %prep
-%setup -q -a1
-%patch0 -p1
+%autosetup -p1 -a1
 
 %build
 %if 0%{?suse_version} >= 1500


commit geoipupdate for openSUSE:Factory

2023-08-28 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package geoipupdate for openSUSE:Factory 
checked in at 2023-08-28 17:16:12

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


Package is "geoipupdate"

Mon Aug 28 17:16:12 2023 rev:24 rq:1106213 version:6.0.0

Changes:

--- /work/SRC/openSUSE:Factory/geoipupdate/geoipupdate.changes  2023-06-21 
22:41:07.446827933 +0200
+++ /work/SRC/openSUSE:Factory/.geoipupdate.new.1766/geoipupdate.changes
2023-08-28 17:16:13.126813043 +0200
@@ -1,0 +2,14 @@
+Thu Aug 24 08:03:51 UTC 2023 - valentin.lefeb...@suse.com
+
+- Update to 6.0.0:
+  * geoipupdate now supports configuration via environment variables. Any
+configuration set this way will override any value from the config file,
+but still be overridden by any associated command line option (if any).
+  * Changed the signature of NewConfig in pkg/geoipupdate to no longer accept
+a positional config file path argument, which can now be passed in using 
the
+option from WithConfigFile along with the other optional parameters.
+  * geoipupdate and NewConfig no longer require a config file to exist.
+  * The --stack-trace flag has been removed. This flag has been broken since
+4.11.0.
+
+---

Old:

  geoipupdate-5.1.1.tar.gz

New:

  geoipupdate-6.0.0.tar.gz



Other differences:
--
++ geoipupdate.spec ++
--- /var/tmp/diff_new_pack.RBUr2M/_old  2023-08-28 17:16:14.878875959 +0200
+++ /var/tmp/diff_new_pack.RBUr2M/_new  2023-08-28 17:16:14.882876103 +0200
@@ -18,7 +18,7 @@
 
 # Common info
 Name:   geoipupdate
-Version:5.1.1
+Version:6.0.0
 Release:0
 Summary:GeoIP update client code
 License:Apache-2.0 OR MIT
@@ -53,10 +53,8 @@
 %description legacy
 Script for updating data in GeoIP Legacy format.
 
-
-
-
 # Preparation step (unpackung and patching if necessary)
+
 %prep
 %setup -q -a1
 %patch0 -p1

++ _service ++
--- /var/tmp/diff_new_pack.RBUr2M/_old  2023-08-28 17:16:14.926877683 +0200
+++ /var/tmp/diff_new_pack.RBUr2M/_new  2023-08-28 17:16:14.930877827 +0200
@@ -2,7 +2,7 @@
 
 git
 https://github.com/maxmind/geoipupdate
-v5.0.3
+v6.0.0
 .git
 @PARENT_TAG@
 enable

++ _servicedata ++
--- /var/tmp/diff_new_pack.RBUr2M/_old  2023-08-28 17:16:14.946878401 +0200
+++ /var/tmp/diff_new_pack.RBUr2M/_new  2023-08-28 17:16:14.950878544 +0200
@@ -1,7 +1,7 @@
 
 
 https://github.com/maxmind/geoipupdate
-e70a0bb8f8f6ad6b23bf2b3cdd0659fca576cd90
+62d961efab55f5a9db3700423edf1154ac0f16fd
 
 
 (No newline at EOF)

++ geoipupdate-5.1.1.tar.gz -> geoipupdate-6.0.0.tar.gz ++
 2300 lines of diff (skipped)

++ vendor.tar.gz ++
/work/SRC/openSUSE:Factory/geoipupdate/vendor.tar.gz 
/work/SRC/openSUSE:Factory/.geoipupdate.new.1766/vendor.tar.gz differ: char 1, 
line 1


commit geoipupdate for openSUSE:Factory

2023-06-21 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package geoipupdate for openSUSE:Factory 
checked in at 2023-06-21 22:40:13

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


Package is "geoipupdate"

Wed Jun 21 22:40:13 2023 rev:23 rq:1094336 version:5.1.1

Changes:

--- /work/SRC/openSUSE:Factory/geoipupdate/geoipupdate.changes  2023-04-17 
17:41:50.402411155 +0200
+++ /work/SRC/openSUSE:Factory/.geoipupdate.new.15902/geoipupdate.changes   
2023-06-21 22:41:07.446827933 +0200
@@ -1,0 +2,24 @@
+Wed Jun 21 09:48:29 UTC 2023 - Valentin Lefebvre 
+
+- Update to 5.1.1:
+  * Based on feedback, the change to use a non-root user in 5.1.0 when using
+the Docker image has been reverted. There are no non-Docker changes in this
+release. See GitHub #233.
+
+- Update to 5.1.0:
+  * Fixed the Docker health-check script to use the correct time of the last
+update attempt. Reported by cford1080. GitHub #225.
+  * Added new --output flag to print JSON to standard output describing the
+result of the run.
+  * Compilation with Go versions before 1.19 is no longer supported.
+  * When using the provided Docker images, geoipupdate no longer runs as root
+in the container. Based on pull request by Andreas Grünenfelder. GitHub
+#200.
+
+- Update to 5.0.4:
+  * On releases 4.9.0 through 5.0.3, the incorrect commit was tagged. This
+release attempts to fix the release process to prevent this issue. There
+are no code changes to the binaries provided by MaxMind, either on the
+GitHub Release page or the MaxMind PPA. 
+
+---

Old:

  geoipupdate-5.0.3.tar.gz

New:

  geoipupdate-5.1.1.tar.gz



Other differences:
--
++ geoipupdate.spec ++
--- /var/tmp/diff_new_pack.ZReLw3/_old  2023-06-21 22:41:08.122832002 +0200
+++ /var/tmp/diff_new_pack.ZReLw3/_new  2023-06-21 22:41:08.130832050 +0200
@@ -18,7 +18,7 @@
 
 # Common info
 Name:   geoipupdate
-Version:5.0.3
+Version:5.1.1
 Release:0
 Summary:GeoIP update client code
 License:Apache-2.0 OR MIT
@@ -55,6 +55,7 @@
 
 
 
+
 # Preparation step (unpackung and patching if necessary)
 %prep
 %setup -q -a1

++ geoipupdate-5.0.3.tar.gz -> geoipupdate-5.1.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/geoipupdate-5.0.3/.github/workflows/go.yml 
new/geoipupdate-5.1.1/.github/workflows/go.yml
--- old/geoipupdate-5.0.3/.github/workflows/go.yml  2023-04-13 
20:43:38.0 +0200
+++ new/geoipupdate-5.1.1/.github/workflows/go.yml  2023-05-08 
18:16:35.0 +0200
@@ -11,8 +11,7 @@
   build:
 strategy:
   matrix:
-# I think we need to keep 1.13 for Ubuntu Bionic for the PPA.
-go-version: [1.13.x, 1.14.x, 1.15.x, 1.16.x, 1.17.x, 1.18.x, 1.19.x]
+go-version: [1.19.x, 1.20.x]
 platform: [ubuntu-latest, macos-latest, windows-latest]
 runs-on: ${{ matrix.platform }}
 name: "Build ${{ matrix.go-version }} test on ${{ matrix.platform }}"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/geoipupdate-5.0.3/.golangci.toml 
new/geoipupdate-5.1.1/.golangci.toml
--- old/geoipupdate-5.0.3/.golangci.toml2023-04-13 20:43:38.0 
+0200
+++ new/geoipupdate-5.1.1/.golangci.toml2023-05-08 18:16:35.0 
+0200
@@ -84,6 +84,17 @@
 "wrapcheck",
   ]
 
+# Please note that we only use depguard for stdlib as gomodguard only
+# supports modules currently. See 
https://github.com/ryancurrah/gomodguard/issues/12
+[linters-settings.depguard]
+  list-type = "blacklist"
+  include-go-root = true
+  packages = [
+# ioutil is deprecated. The functions have been moved elsewhere:
+# https://golang.org/doc/go1.16#ioutil
+"io/ioutil",
+  ]
+
 [linters-settings.errcheck]
 # Don't allow setting of error to the blank identifier. If there is a 
legitimate
 # reason, there should be a nolint with an explanation.
@@ -252,7 +263,7 @@
 
 [linters-settings.gofumpt]
 extra-rules = true
-lang-version = "1.18"
+lang-version = "1.19"
 
 [linters-settings.gomodguard]
   [[linters-settings.gomodguard.blocked.modules]]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/geoipupdate-5.0.3/.goreleaser.yml 
new/geoipupdate-5.1.1/.goreleaser.yml
--- old/geoipupdate-5.0.3/.goreleaser.yml   2023-04-13 20:43:38.0 
+0200
+++ new/geoipupdate-5.1.1/.goreleaser.yml   2023-05-08 18:16:35.0 
+0200
@@ -93,6 +93,7 @@
 goarch: amd64
 

commit geoipupdate for openSUSE:Factory

2023-04-17 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package geoipupdate for openSUSE:Factory 
checked in at 2023-04-17 17:41:38

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


Package is "geoipupdate"

Mon Apr 17 17:41:38 2023 rev:22 rq:1079896 version:5.0.3

Changes:

--- /work/SRC/openSUSE:Factory/geoipupdate/geoipupdate.changes  2023-03-21 
17:44:30.154683876 +0100
+++ /work/SRC/openSUSE:Factory/.geoipupdate.new.2023/geoipupdate.changes
2023-04-17 17:41:50.402411155 +0200
@@ -1,0 +2,22 @@
+Mon Apr 17 09:18:15 UTC 2023 - Valentin Lefebvre 
+
+- Update to 5.0.3:
+  * The directory /usr/local/share/GeoIP was being used rather than
+/usr/share/GeoIP. 
+
+- Update to 5.0.2:
+  * "Database ... up to date" messages are now only shown if the verbose
+flag is set. 
+
+- Update to 5.0.1:
+  * set the file permissions on downloaded databases to 0600.
+
+- Update to 5.0.0
+  * Redefined the Reader and Writer interface apis in
+pkg/geoipupdate/database
+  * Changed the signature of NewConfig in pkg/geoipupdate to accept
+optional parameters.
+  * Introduced Parallelism as a new flag and config option to enable
+concurrent database updates.
+
+---

Old:

  geoipupdate-4.11.1.tar.gz

New:

  geoipupdate-5.0.3.tar.gz



Other differences:
--
++ geoipupdate.spec ++
--- /var/tmp/diff_new_pack.1F7JRd/_old  2023-04-17 17:41:51.058414989 +0200
+++ /var/tmp/diff_new_pack.1F7JRd/_new  2023-04-17 17:41:51.066415036 +0200
@@ -18,7 +18,7 @@
 
 # Common info
 Name:   geoipupdate
-Version:4.11.1
+Version:5.0.3
 Release:0
 Summary:GeoIP update client code
 License:Apache-2.0 OR MIT
@@ -55,10 +55,7 @@
 
 
 
-
-
 # Preparation step (unpackung and patching if necessary)
-
 %prep
 %setup -q -a1
 %patch0 -p1

++ _service ++
--- /var/tmp/diff_new_pack.1F7JRd/_old  2023-04-17 17:41:51.126415386 +0200
+++ /var/tmp/diff_new_pack.1F7JRd/_new  2023-04-17 17:41:51.130415410 +0200
@@ -2,7 +2,7 @@
 
 git
 https://github.com/maxmind/geoipupdate
-v4.11.1
+v5.0.3
 .git
 @PARENT_TAG@
 enable
@@ -19,4 +19,3 @@
 
 
 
-

++ _servicedata ++
--- /var/tmp/diff_new_pack.1F7JRd/_old  2023-04-17 17:41:51.154415550 +0200
+++ /var/tmp/diff_new_pack.1F7JRd/_new  2023-04-17 17:41:51.158415573 +0200
@@ -1,7 +1,8 @@
 
 
 https://github.com/maxmind/geoipupdate
-f3dc698e8f17f48bdd77060fa35939297945613f
+e70a0bb8f8f6ad6b23bf2b3cdd0659fca576cd90
 
 
+(No newline at EOF)
 

++ geoipupdate-4.11.1.tar.gz -> geoipupdate-5.0.3.tar.gz ++
 2658 lines of diff (skipped)

++ vendor.tar.gz ++
/work/SRC/openSUSE:Factory/geoipupdate/vendor.tar.gz 
/work/SRC/openSUSE:Factory/.geoipupdate.new.2023/vendor.tar.gz differ: char 1, 
line 1


commit geoipupdate for openSUSE:Factory

2023-03-21 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package geoipupdate for openSUSE:Factory 
checked in at 2023-03-21 17:43:45

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


Package is "geoipupdate"

Tue Mar 21 17:43:45 2023 rev:21 rq:1073473 version:4.11.1

Changes:

--- /work/SRC/openSUSE:Factory/geoipupdate/geoipupdate.changes  2022-11-09 
12:58:34.212731759 +0100
+++ /work/SRC/openSUSE:Factory/.geoipupdate.new.31432/geoipupdate.changes   
2023-03-21 17:44:30.154683876 +0100
@@ -1,0 +2,11 @@
+Tue Mar 21 07:56:45 UTC 2023 - Paolo Stivanin 
+
+- Update to 4.11.1:
+  * github.com/pkg/errors is no longer used to wrap errors.
+  * Docker secrets are now supported for the MaxMind account ID and license 
key. 
+  * The Dockerfile now has a Healthcheck that makes sure the modification date 
of
+the database directory is within the update period.
+  * Removed extra underscore in script variables preventing the Docker secret
+support added in 4.11.0 from working as expected.
+
+---

Old:

  geoipupdate-4.10.0.tar.gz

New:

  geoipupdate-4.11.1.tar.gz



Other differences:
--
++ geoipupdate.spec ++
--- /var/tmp/diff_new_pack.CxqF1X/_old  2023-03-21 17:44:31.034688085 +0100
+++ /var/tmp/diff_new_pack.CxqF1X/_new  2023-03-21 17:44:31.050688162 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package geoipupdate
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
 
 # Common info
 Name:   geoipupdate
-Version:4.10.0
+Version:4.11.1
 Release:0
 Summary:GeoIP update client code
 License:Apache-2.0 OR MIT
@@ -55,6 +55,7 @@
 
 
 
+
 
 # Preparation step (unpackung and patching if necessary)
 

++ _service ++
--- /var/tmp/diff_new_pack.CxqF1X/_old  2023-03-21 17:44:31.102688411 +0100
+++ /var/tmp/diff_new_pack.CxqF1X/_new  2023-03-21 17:44:31.106688430 +0100
@@ -2,7 +2,7 @@
 
 git
 https://github.com/maxmind/geoipupdate
-v4.10.0
+v4.11.1
 .git
 @PARENT_TAG@
 enable

++ _servicedata ++
--- /var/tmp/diff_new_pack.CxqF1X/_old  2023-03-21 17:44:31.130688545 +0100
+++ /var/tmp/diff_new_pack.CxqF1X/_new  2023-03-21 17:44:31.134688564 +0100
@@ -1,7 +1,7 @@
 
 
 https://github.com/maxmind/geoipupdate
-03df2c14edddf7bb33b16443b3d66c86161c6ac6
+f3dc698e8f17f48bdd77060fa35939297945613f
 
 
 

++ geoipupdate-4.10.0.tar.gz -> geoipupdate-4.11.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/geoipupdate-4.10.0/.github/workflows/go.yml 
new/geoipupdate-4.11.1/.github/workflows/go.yml
--- old/geoipupdate-4.10.0/.github/workflows/go.yml 2022-09-26 
20:12:11.0 +0200
+++ new/geoipupdate-4.11.1/.github/workflows/go.yml 2023-03-16 
16:15:11.0 +0100
@@ -18,7 +18,7 @@
 name: "Build ${{ matrix.go-version }} test on ${{ matrix.platform }}"
 steps:
   - name: Set up Go 1.x
-uses: actions/setup-go@v3
+uses: actions/setup-go@v4
 with:
   go-version: ${{ matrix.go-version }}
 id: go
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/geoipupdate-4.10.0/.golangci.toml 
new/geoipupdate-4.11.1/.golangci.toml
--- old/geoipupdate-4.10.0/.golangci.toml   2022-09-26 20:12:11.0 
+0200
+++ new/geoipupdate-4.11.1/.golangci.toml   2023-03-16 16:15:11.0 
+0100
@@ -1,26 +1,36 @@
 [run]
   deadline = "10m"
-
   tests = true
 
 [linters]
   disable-all = true
   enable = [
+"asasalint",
 "asciicheck",
 "bidichk",
 "bodyclose",
 "containedctx",
-"contextcheck",
+# Although this is useful, it complains about quite a few reasonable 
things,
+# e.g., using the request context. We should reevaluate in the future.
+# "contextcheck",
 "depguard",
+# This is probably worthwhile, but there are a number of false positives
+# that would need to be addressed.
+# "dupword",
 "durationcheck",
 "errcheck",
 "errchkjson",
 "errname",
 "errorlint",
+# This doesn't seem to know about CTEs or DELETEs with RETURNING
+# "execinquery",
 "exhaustive",
+# We often don't initialize all of the struct fields. This is fine
+# generally
+# "exhaustruct",
 "exportloopref",
 "forbidigo",
-# We tried this liner but most 

commit geoipupdate for openSUSE:Factory

2022-11-09 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package geoipupdate for openSUSE:Factory 
checked in at 2022-11-09 12:58:24

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


Package is "geoipupdate"

Wed Nov  9 12:58:24 2022 rev:20 rq:1034814 version:4.10.0

Changes:

--- /work/SRC/openSUSE:Factory/geoipupdate/geoipupdate.changes  2022-03-01 
17:04:56.572355317 +0100
+++ /work/SRC/openSUSE:Factory/.geoipupdate.new.1597/geoipupdate.changes
2022-11-09 12:58:34.212731759 +0100
@@ -1,0 +2,10 @@
+Wed Nov  9 10:35:24 UTC 2022 - Paolo Stivanin 
+
+- Update to version 4.10.0:
+  * HTTPS proxies are now supported.
+  * An HTTP request to get the filename for the edition ID
+has been removed. This was previously required as the GeoIP
+Legacy edition IDs bore little relation to the name of
+the database on disk.
+
+---

Old:

  geoipupdate-4.9.0.tar.gz

New:

  geoipupdate-4.10.0.tar.gz



Other differences:
--
++ geoipupdate.spec ++
--- /var/tmp/diff_new_pack.Fw6KFa/_old  2022-11-09 12:58:34.868735458 +0100
+++ /var/tmp/diff_new_pack.Fw6KFa/_new  2022-11-09 12:58:34.872735480 +0100
@@ -18,7 +18,7 @@
 
 # Common info
 Name:   geoipupdate
-Version:4.9.0
+Version:4.10.0
 Release:0
 Summary:GeoIP update client code
 License:Apache-2.0 OR MIT
@@ -57,6 +57,7 @@
 
 
 # Preparation step (unpackung and patching if necessary)
+
 %prep
 %setup -q -a1
 %patch0 -p1

++ _service ++
--- /var/tmp/diff_new_pack.Fw6KFa/_old  2022-11-09 12:58:34.916735728 +0100
+++ /var/tmp/diff_new_pack.Fw6KFa/_new  2022-11-09 12:58:34.920735751 +0100
@@ -1,8 +1,8 @@
 
 
 git
-git://github.com/maxmind/geoipupdate
-v4.9.0
+https://github.com/maxmind/geoipupdate
+v4.10.0
 .git
 @PARENT_TAG@
 enable

++ _servicedata ++
--- /var/tmp/diff_new_pack.Fw6KFa/_old  2022-11-09 12:58:34.940735863 +0100
+++ /var/tmp/diff_new_pack.Fw6KFa/_new  2022-11-09 12:58:34.944735885 +0100
@@ -1,8 +1,7 @@
 
 
-git://github.com/maxmind/geoipupdate
-9b9a5083f52edcbd2e58a5e923eb4101042387e4
+https://github.com/maxmind/geoipupdate
+03df2c14edddf7bb33b16443b3d66c86161c6ac6
 
 
-(No newline at EOF)
 

++ geoipupdate-4.9.0.tar.gz -> geoipupdate-4.10.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/geoipupdate-4.9.0/.github/dependabot.yml 
new/geoipupdate-4.10.0/.github/dependabot.yml
--- old/geoipupdate-4.9.0/.github/dependabot.yml2022-02-15 
23:25:37.0 +0100
+++ new/geoipupdate-4.10.0/.github/dependabot.yml   2022-09-26 
20:12:11.0 +0200
@@ -5,3 +5,7 @@
   schedule:
 interval: daily
   open-pull-requests-limit: 10
+- package-ecosystem: "github-actions"
+  directory: "/"
+  schedule:
+interval: daily
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/geoipupdate-4.9.0/.github/workflows/codeql-analysis.yml 
new/geoipupdate-4.10.0/.github/workflows/codeql-analysis.yml
--- old/geoipupdate-4.9.0/.github/workflows/codeql-analysis.yml 2022-02-15 
23:25:37.0 +0100
+++ new/geoipupdate-4.10.0/.github/workflows/codeql-analysis.yml
2022-09-26 20:12:11.0 +0200
@@ -15,7 +15,7 @@
 
 steps:
 - name: Checkout repository
-  uses: actions/checkout@v2
+  uses: actions/checkout@v3
   with:
 # We must fetch at least the immediate parents so that if this is
 # a pull request then we can checkout the head.
@@ -28,7 +28,7 @@
   
 # Initializes the CodeQL tools for scanning.
 - name: Initialize CodeQL
-  uses: github/codeql-action/init@v1
+  uses: github/codeql-action/init@v2
   # Override language selection by uncommenting this and choosing your 
languages
   # with:
   #   languages: go, javascript, csharp, python, cpp, java
@@ -36,7 +36,7 @@
 # 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
+  uses: github/codeql-action/autobuild@v2
 
 # ?? Command-line programs to run using the OS shell.
 #  https://git.io/JvXDl
@@ -50,4 +50,4 @@
 #   make release
 
 - name: Perform CodeQL Analysis
-  uses: github/codeql-action/analyze@v1
+  uses: github/codeql-action/analyze@v2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 

commit geoipupdate for openSUSE:Factory

2022-03-01 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package geoipupdate for openSUSE:Factory 
checked in at 2022-03-01 17:04:08

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


Package is "geoipupdate"

Tue Mar  1 17:04:08 2022 rev:19 rq:958302 version:4.9.0

Changes:

--- /work/SRC/openSUSE:Factory/geoipupdate/geoipupdate.changes  2021-11-09 
23:55:10.603969938 +0100
+++ /work/SRC/openSUSE:Factory/.geoipupdate.new.1958/geoipupdate.changes
2022-03-01 17:04:56.572355317 +0100
@@ -1,0 +2,9 @@
+Tue Mar  1 15:20:57 UTC 2022 - Paolo Stivanin 
+
+- Update to version 4.9.0:
+  * The client now sets the User-Agent header.
+  * The error handling has been improved.
+  * The goreleaser configuration has been consolidated. There is now
+one checksum file for all builds.
+
+---

Old:

  geoipupdate-4.8.0.tar.gz

New:

  geoipupdate-4.9.0.tar.gz



Other differences:
--
++ geoipupdate.spec ++
--- /var/tmp/diff_new_pack.VnO1dW/_old  2022-03-01 17:04:57.116355461 +0100
+++ /var/tmp/diff_new_pack.VnO1dW/_new  2022-03-01 17:04:57.124355463 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package geoipupdate
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
 
 # Common info
 Name:   geoipupdate
-Version:4.8.0
+Version:4.9.0
 Release:0
 Summary:GeoIP update client code
 License:Apache-2.0 OR MIT
@@ -55,6 +55,7 @@
 
 
 
+
 # Preparation step (unpackung and patching if necessary)
 %prep
 %setup -q -a1

++ _service ++
--- /var/tmp/diff_new_pack.VnO1dW/_old  2022-03-01 17:04:57.176355477 +0100
+++ /var/tmp/diff_new_pack.VnO1dW/_new  2022-03-01 17:04:57.180355478 +0100
@@ -2,7 +2,7 @@
 
 git
 git://github.com/maxmind/geoipupdate
-v4.8.0
+v4.9.0
 .git
 @PARENT_TAG@
 enable

++ _servicedata ++
--- /var/tmp/diff_new_pack.VnO1dW/_old  2022-03-01 17:04:57.200355484 +0100
+++ /var/tmp/diff_new_pack.VnO1dW/_new  2022-03-01 17:04:57.204355485 +0100
@@ -1,7 +1,7 @@
 
 
 git://github.com/maxmind/geoipupdate
-4bf61478cbaf0c0286e7c2f71d0b0f2d473a5ba8
+9b9a5083f52edcbd2e58a5e923eb4101042387e4
 
 
 (No newline at EOF)

++ geoipupdate-4.8.0.tar.gz -> geoipupdate-4.9.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/geoipupdate-4.8.0/.github/workflows/go.yml 
new/geoipupdate-4.9.0/.github/workflows/go.yml
--- old/geoipupdate-4.8.0/.github/workflows/go.yml  2021-06-28 
16:11:50.0 +0200
+++ new/geoipupdate-4.9.0/.github/workflows/go.yml  2022-02-15 
23:25:37.0 +0100
@@ -11,7 +11,8 @@
   build:
 strategy:
   matrix:
-go-version: [1.13.x, 1.14.x, 1.15.x, 1.16.x]
+# I think we need to keep 1.13 for Ubuntu Bionic for the PPA.
+go-version: [1.13.x, 1.14.x, 1.15.x, 1.16.x, 1.17.x]
 platform: [ubuntu-latest, macos-latest, windows-latest]
 runs-on: ${{ matrix.platform }}
 name: "Build ${{ matrix.go-version }} test on ${{ matrix.platform }}"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/geoipupdate-4.8.0/.golangci.toml 
new/geoipupdate-4.9.0/.golangci.toml
--- old/geoipupdate-4.8.0/.golangci.toml2021-06-28 16:11:50.0 
+0200
+++ new/geoipupdate-4.9.0/.golangci.toml2022-02-15 23:25:37.0 
+0100
@@ -1,28 +1,48 @@
 [run]
   deadline = "10m"
+
   tests = true
 
 [linters]
   disable-all = true
   enable = [
+"asciicheck",
+"bidichk",
 "bodyclose",
+"containedctx",
+"contextcheck",
 "deadcode",
 "depguard",
+"durationcheck",
 "errcheck",
+# Seems to cause stack overflows :-(
+# "errchkjson",
+"errname",
 "errorlint",
 "exhaustive",
 "exportloopref",
+"forbidigo",
+# We tried this liner but most places we do forced type asserts are
+# pretty safe, e.g., an atomic.Value when everything is encapsulated
+# in a small package.
+# "forcetypeassert",
 "goconst",
 "gocyclo",
 "gocritic",
+"godot",
 "gofumpt",
-"golint",
+"gomodguard",
 "gosec",
 "gosimple",
 "govet",
+"grouper",
 "ineffassign",
 "lll",
 "makezero",
+# Maintainability Index. Seems like it could be a good idea, but a
+# lot of things fail and we would need to make some decisions about
+  

commit geoipupdate for openSUSE:Factory

2021-11-09 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package geoipupdate for openSUSE:Factory 
checked in at 2021-11-09 23:54:44

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


Package is "geoipupdate"

Tue Nov  9 23:54:44 2021 rev:18 rq:930210 version:4.8.0

Changes:

--- /work/SRC/openSUSE:Factory/geoipupdate/geoipupdate.changes  2021-09-21 
21:14:08.274706166 +0200
+++ /work/SRC/openSUSE:Factory/.geoipupdate.new.1890/geoipupdate.changes
2021-11-09 23:55:10.603969938 +0100
@@ -1,0 +2,7 @@
+Mon Nov 08 15:51:20 UTC 2021 - i...@paolostivanin.com
+
+- Update to version 4.8.0:
+  * The Docker container now supports the following new environment
+variables: GEOIPUPDATE_CONF_FILE and GEOIPUPDATE_DB_DIR
+
+---

Old:

  geoipupdate-4.7.1.tar.gz

New:

  geoipupdate-4.8.0.tar.gz



Other differences:
--
++ geoipupdate.spec ++
--- /var/tmp/diff_new_pack.atr3hF/_old  2021-11-09 23:55:11.507970399 +0100
+++ /var/tmp/diff_new_pack.atr3hF/_new  2021-11-09 23:55:11.511970400 +0100
@@ -18,7 +18,7 @@
 
 # Common info
 Name:   geoipupdate
-Version:4.7.1
+Version:4.8.0
 Release:0
 Summary:GeoIP update client code
 License:Apache-2.0 OR MIT
@@ -54,6 +54,7 @@
 Script for updating data in GeoIP Legacy format.
 
 
+
 # Preparation step (unpackung and patching if necessary)
 %prep
 %setup -q -a1

++ _service ++
--- /var/tmp/diff_new_pack.atr3hF/_old  2021-11-09 23:55:11.547970419 +0100
+++ /var/tmp/diff_new_pack.atr3hF/_new  2021-11-09 23:55:11.547970419 +0100
@@ -2,7 +2,7 @@
 
 git
 git://github.com/maxmind/geoipupdate
-v4.7.1
+v4.8.0
 .git
 @PARENT_TAG@
 enable

++ _servicedata ++
--- /var/tmp/diff_new_pack.atr3hF/_old  2021-11-09 23:55:11.563970427 +0100
+++ /var/tmp/diff_new_pack.atr3hF/_new  2021-11-09 23:55:11.563970427 +0100
@@ -1,6 +1,6 @@
 
 
 git://github.com/maxmind/geoipupdate
-8bb6d26f0b015d27a3470bfe1171c6c68ff4b106
+4bf61478cbaf0c0286e7c2f71d0b0f2d473a5ba8
 
 
\ No newline at end of file

++ geoipupdate-4.7.1.tar.gz -> geoipupdate-4.8.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/geoipupdate-4.7.1/.gitignore 
new/geoipupdate-4.8.0/.gitignore
--- old/geoipupdate-4.7.1/.gitignore1970-01-01 01:00:00.0 +0100
+++ new/geoipupdate-4.8.0/.gitignore2021-06-28 16:11:50.0 +0200
@@ -0,0 +1,5 @@
+*.swp
+/build
+/cmd/geoipupdate/geoipupdate
+/vendor
+.idea
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/geoipupdate-4.7.1/CHANGELOG.md 
new/geoipupdate-4.8.0/CHANGELOG.md
--- old/geoipupdate-4.7.1/CHANGELOG.md  2021-04-19 20:20:49.0 +0200
+++ new/geoipupdate-4.8.0/CHANGELOG.md  2021-06-28 16:11:50.0 +0200
@@ -1,5 +1,17 @@
 # CHANGELOG
 
+## 4.8.0
+
+* The Docker container now supports the following new environment
+  variables:
+
+  * `GEOIPUPDATE_CONF_FILE` - The path where the configuration file will
+be written. The default is `/etc/GeoIP.conf`.
+  * `GEOIPUPDATE_DB_DIR` - The directory where geoipupdate will download
+the databases. The default is `/usr/share/GeoIP`.
+
+  Pull request by Maxence POULAIN. GitHub #143.
+
 ## 4.7.1 (2021-04-19)
 
 * The Alpine version used for the Docker image now tracks the `alpine:3`
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/geoipupdate-4.7.1/_layouts/default.html 
new/geoipupdate-4.8.0/_layouts/default.html
--- old/geoipupdate-4.7.1/_layouts/default.html 2021-04-19 20:20:49.0 
+0200
+++ new/geoipupdate-4.8.0/_layouts/default.html 2021-06-28 16:11:50.0 
+0200
@@ -6,7 +6,7 @@
   
   
   
-  
+  https://static-gh.maxmind.com/maxmind.css; rel="stylesheet">
   
   
   
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/geoipupdate-4.7.1/doc/docker.md 
new/geoipupdate-4.8.0/doc/docker.md
--- old/geoipupdate-4.7.1/doc/docker.md 2021-04-19 20:20:49.0 +0200
+++ new/geoipupdate-4.8.0/doc/docker.md 2021-06-28 16:11:50.0 +0200
@@ -2,7 +2,7 @@
 
 ## Image information
 
-The image is available on [Docker 
Hub](https://hub.docker.com/r/maxmindinc/geoipupdate).  
+The image is available on [Docker 
Hub](https://hub.docker.com/r/maxmindinc/geoipupdate).
 The source code is available on 
[GitHub](https://github.com/maxmind/geoipupdate).
 
 ## Configuring
@@ -33,6 +33,10 @@
   default is `0`.
 * `GEOIPUPDATE_VERBOSE` - Enable verbose mode. 

commit geoipupdate for openSUSE:Factory

2021-09-21 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package geoipupdate for openSUSE:Factory 
checked in at 2021-09-21 21:13:14

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


Package is "geoipupdate"

Tue Sep 21 21:13:14 2021 rev:17 rq:920597 version:4.7.1

Changes:

--- /work/SRC/openSUSE:Factory/geoipupdate/geoipupdate.changes  2021-04-23 
17:51:05.670842543 +0200
+++ /work/SRC/openSUSE:Factory/.geoipupdate.new.1899/geoipupdate.changes
2021-09-21 21:14:08.274706166 +0200
@@ -1,0 +2,6 @@
+Mon Sep 20 07:05:44 UTC 2021 - Johannes Segitz 
+
+- Added hardening to systemd service(s) (bsc#1181400). Modified:
+  * geoipupdate.service
+
+---



Other differences:
--
++ geoipupdate.service ++
--- /var/tmp/diff_new_pack.sCMsnz/_old  2021-09-21 21:14:08.902706876 +0200
+++ /var/tmp/diff_new_pack.sCMsnz/_new  2021-09-21 21:14:08.906706880 +0200
@@ -3,6 +3,19 @@
 Documentation=man:geoipupdate(1) man:GeoIP.conf(5)
 
 [Service]
+# added automatically, for details please see
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
+ProtectSystem=full
+ProtectHome=true
+PrivateDevices=true
+ProtectHostname=true
+ProtectClock=true
+ProtectKernelTunables=true
+ProtectKernelModules=true
+ProtectKernelLogs=true
+ProtectControlGroups=true
+RestrictRealtime=true
+# end of automatic additions 
 Type=oneshot
 WorkingDirectory=/var/lib/GeoIP
 


commit geoipupdate for openSUSE:Factory

2021-04-23 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package geoipupdate for openSUSE:Factory 
checked in at 2021-04-23 17:50:49

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


Package is "geoipupdate"

Fri Apr 23 17:50:49 2021 rev:16 rq:888064 version:4.7.1

Changes:

--- /work/SRC/openSUSE:Factory/geoipupdate/geoipupdate.changes  2020-12-17 
17:08:41.969934795 +0100
+++ /work/SRC/openSUSE:Factory/.geoipupdate.new.12324/geoipupdate.changes   
2021-04-23 17:51:05.670842543 +0200
@@ -1,0 +2,13 @@
+Fri Apr 23 14:36:31 UTC 2021 - Paolo Stivanin 
+
+- Update to 4.7.1: 
+  * In verbose mode, we now print a message before each HTTP request.
+Previously we would not print anything for retried requests.
+  * Expected response errors no longer cause request retries. For example, we
+no longer retry the download request if the database subscription has
+lapsed.
+  * When running with GEOIPUPDATE_FREQUENCY set, the Docker image will now
+stop when sent a SIGTERM instead of waiting for a SIGKILL. Pull request
+by Maxence POULAIN. GitHub #135.
+
+---

Old:

  geoipupdate-4.6.0.tar.gz

New:

  geoipupdate-4.7.1.tar.gz



Other differences:
--
++ geoipupdate.spec ++
--- /var/tmp/diff_new_pack.kfn4ck/_old  2021-04-23 17:51:06.326843671 +0200
+++ /var/tmp/diff_new_pack.kfn4ck/_new  2021-04-23 17:51:06.330843678 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package geoipupdate
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
 
 # Common info
 Name:   geoipupdate
-Version:4.6.0
+Version:4.7.1
 Release:0
 Summary:GeoIP update client code
 License:Apache-2.0 OR MIT
@@ -34,7 +34,7 @@
 Patch0: disable-pandoc.patch
 %if 0%{?suse_version} >= 1500
 # Build-time parameters
-BuildRequires:  go >= 1.11
+BuildRequires:  go >= 1.13
 # Manpage
 BuildRequires:  perl%{?suse_version:-base}
 %endif
@@ -53,6 +53,7 @@
 %description legacy
 Script for updating data in GeoIP Legacy format.
 
+
 # Preparation step (unpackung and patching if necessary)
 %prep
 %setup -q -a1

++ _service ++
--- /var/tmp/diff_new_pack.kfn4ck/_old  2021-04-23 17:51:06.374843753 +0200
+++ /var/tmp/diff_new_pack.kfn4ck/_new  2021-04-23 17:51:06.378843760 +0200
@@ -2,7 +2,7 @@
 
 git
 git://github.com/maxmind/geoipupdate
-v4.6.0
+v4.7.1
 .git
 @PARENT_TAG@
 enable

++ _servicedata ++
--- /var/tmp/diff_new_pack.kfn4ck/_old  2021-04-23 17:51:06.394843788 +0200
+++ /var/tmp/diff_new_pack.kfn4ck/_new  2021-04-23 17:51:06.398843795 +0200
@@ -1,6 +1,6 @@
 
 
 git://github.com/maxmind/geoipupdate
-7b5009fa4cd889997783005cea56180b4b85974e
+8bb6d26f0b015d27a3470bfe1171c6c68ff4b106
 
-
+
\ No newline at end of file

++ geoipupdate-4.6.0.tar.gz -> geoipupdate-4.7.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/geoipupdate-4.6.0/.github/dependabot.yml 
new/geoipupdate-4.7.1/.github/dependabot.yml
--- old/geoipupdate-4.6.0/.github/dependabot.yml1970-01-01 
01:00:00.0 +0100
+++ new/geoipupdate-4.7.1/.github/dependabot.yml2021-04-19 
20:20:49.0 +0200
@@ -0,0 +1,7 @@
+version: 2
+updates:
+- package-ecosystem: gomod
+  directory: "/"
+  schedule:
+interval: daily
+  open-pull-requests-limit: 10
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/geoipupdate-4.6.0/.github/workflows/codeql-analysis.yml 
new/geoipupdate-4.7.1/.github/workflows/codeql-analysis.yml
--- old/geoipupdate-4.6.0/.github/workflows/codeql-analysis.yml 2020-12-14 
17:54:50.0 +0100
+++ new/geoipupdate-4.7.1/.github/workflows/codeql-analysis.yml 2021-04-19 
20:20:49.0 +0200
@@ -2,6 +2,8 @@
 
 on:
   push:
+branches-ignore:
+  - 'dependabot/**'
   pull_request:
   schedule:
 - cron: '0 11 * * 2'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/geoipupdate-4.6.0/.github/workflows/go.yml 
new/geoipupdate-4.7.1/.github/workflows/go.yml
--- old/geoipupdate-4.6.0/.github/workflows/go.yml  2020-12-14 
17:54:50.0 +0100
+++ new/geoipupdate-4.7.1/.github/workflows/go.yml  2021-04-19 
20:20:49.0 +0200
@@ -11,9 +11,7 @@
   build:
 strategy:
   matrix:
-# We test back to 1.11 as we need 

commit geoipupdate for openSUSE:Factory

2020-12-17 Thread User for buildservice source handling
Hello community,

here is the log from the commit of package geoipupdate for openSUSE:Factory 
checked in at 2020-12-17 17:04:42

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


Package is "geoipupdate"

Thu Dec 17 17:04:42 2020 rev:15 rq:856477 version:4.6.0

Changes:

--- /work/SRC/openSUSE:Factory/geoipupdate/geoipupdate.changes  2020-11-05 
21:55:33.080099001 +0100
+++ /work/SRC/openSUSE:Factory/.geoipupdate.new.5145/geoipupdate.changes
2020-12-17 17:08:41.969934795 +0100
@@ -1,0 +2,8 @@
+Wed Dec 16 12:19:29 UTC 2020 - Paolo Stivanin 
+
+- Update to 4.6.0
+  * Show version number in verbose output.
+  * Retry downloads in more scenarios. Previously we would not retry
+failures occurring when reading the response body, but now we do.
+
+---

Old:

  geoipupdate-4.5.0.tar.gz

New:

  geoipupdate-4.6.0.tar.gz



Other differences:
--
++ geoipupdate.spec ++
--- /var/tmp/diff_new_pack.OIhbCt/_old  2020-12-17 17:08:43.805936617 +0100
+++ /var/tmp/diff_new_pack.OIhbCt/_new  2020-12-17 17:08:43.809936622 +0100
@@ -18,13 +18,14 @@
 
 # Common info
 Name:   geoipupdate
-Version:4.5.0
+Version:4.6.0
 Release:0
 Summary:GeoIP update client code
 License:Apache-2.0 OR MIT
 Group:  Productivity/Networking/Other
 URL:https://github.com/maxmind/geoipupdate
 Source0:%{name}-%{version}.tar.gz
+# go mod vendor && tar cf vendor.tar.gz vendor/
 Source1:vendor.tar.gz
 Source2:geoipupdate.timer
 Source3:geoipupdate.service

++ _service ++
--- /var/tmp/diff_new_pack.OIhbCt/_old  2020-12-17 17:08:43.849936662 +0100
+++ /var/tmp/diff_new_pack.OIhbCt/_new  2020-12-17 17:08:43.853936665 +0100
@@ -2,7 +2,7 @@
 
 git
 git://github.com/maxmind/geoipupdate
-v4.5.0
+v4.6.0
 .git
 @PARENT_TAG@
 enable

++ _servicedata ++
--- /var/tmp/diff_new_pack.OIhbCt/_old  2020-12-17 17:08:43.869936681 +0100
+++ /var/tmp/diff_new_pack.OIhbCt/_new  2020-12-17 17:08:43.869936681 +0100
@@ -1,6 +1,6 @@
 
 
 git://github.com/maxmind/geoipupdate
-65d57e3edea7798cd72adaafca50e96f34a61d59
+7b5009fa4cd889997783005cea56180b4b85974e
 
 

++ geoipupdate-4.5.0.tar.gz -> geoipupdate-4.6.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/geoipupdate-4.5.0/CHANGELOG.md 
new/geoipupdate-4.6.0/CHANGELOG.md
--- old/geoipupdate-4.5.0/CHANGELOG.md  2020-10-28 22:03:38.0 +0100
+++ new/geoipupdate-4.6.0/CHANGELOG.md  2020-12-14 17:54:50.0 +0100
@@ -1,5 +1,11 @@
 # CHANGELOG
 
+## 4.6.0 (2020-12-14)
+
+* Show version number in verbose output.
+* Retry downloads in more scenarios. Previously we would not retry failures
+  occurring when reading the response body, but now we do.
+
 ## 4.5.0 (2020-10-28)
 
 * We no longer use a third party library for exponential backoff. This
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/geoipupdate-4.5.0/cmd/geoipupdate/main.go 
new/geoipupdate-4.6.0/cmd/geoipupdate/main.go
--- old/geoipupdate-4.5.0/cmd/geoipupdate/main.go   2020-10-28 
22:03:38.0 +0100
+++ new/geoipupdate-4.6.0/cmd/geoipupdate/main.go   2020-12-14 
17:54:50.0 +0100
@@ -45,6 +45,7 @@
}
 
if config.Verbose {
+   log.Printf("geoipupdate version %s", version)
log.Printf("Using config file %s", args.ConfigFile)
log.Printf("Using database directory %s", 
config.DatabaseDirectory)
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/geoipupdate-4.5.0/pkg/geoipupdate/database/http_reader.go 
new/geoipupdate-4.6.0/pkg/geoipupdate/database/http_reader.go
--- old/geoipupdate-4.5.0/pkg/geoipupdate/database/http_reader.go   
2020-10-28 22:03:38.0 +0100
+++ new/geoipupdate-4.6.0/pkg/geoipupdate/database/http_reader.go   
2020-12-14 17:54:50.0 +0100
@@ -10,6 +10,7 @@
"log"
"net/http"
"net/url"
+   "os"
"time"
 
"github.com/maxmind/geoipupdate/v4/pkg/geoipupdate"
@@ -52,25 +53,107 @@
}
}()
 
-   maxMindURL := fmt.Sprintf(
+   updateURL := fmt.Sprintf(
"%s/geoip/databases/%s/update?db_md5=%s",
reader.url,
url.PathEscape(editionID),
url.QueryEscape(destination.GetHash()),
)
 
-   req, err := http.NewRequest(http.MethodGet, maxMindURL, nil) // nolint: