- Update to version 6.1.0:
* Update indirect dependencies
* Bump golang.org/x/sync from 0.5.0 to 0.6.0
* Bump github/codeql-action from 2 to 3
* Bump actions/setup-go from 4 to 5
* Bump golang.org/x/sync from 0.4.0 to 0.5.0
* Resync golangci-lint config and fix several small issues
* Update changelog after fixing #262
* Trim white spaces when reading from secret files
* Bump golang.org/x/sync from 0.3.0 to 0.4.0
* Set API client version to the same as the binary version
* Use https URLs
* Bump actions/checkout from 3 to 4
* Update Go version in go.mod
OBS-URL: https://build.opensuse.org/request/show/1148444
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/geoipupdate?expand=0&rev=25
- 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.
OBS-URL: https://build.opensuse.org/request/show/1073473
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/geoipupdate?expand=0&rev=21
* 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.
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/geoipupdate?expand=0&rev=42
- 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.
OBS-URL: https://build.opensuse.org/request/show/888055
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/geoipupdate?expand=0&rev=35
- 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.
OBS-URL: https://build.opensuse.org/request/show/846029
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/geoipupdate?expand=0&rev=31
* 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.
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/geoipupdate?expand=0&rev=14
- Run tests during build
* 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.
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/geoipupdate?expand=0&rev=13
- 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. Reported by Antonios
Karagiannis. GitHub #29.
* Previously, a variable named ERROR was used. This caused issues building
on Windows. Reported by Gisle Vanem. GitHub #36.
OBS-URL: https://build.opensuse.org/request/show/542190
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/geoipupdate?expand=0&rev=12
* 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