31 Commits

Author SHA256 Message Date
Paolo Stivanin
cf13622648 Accepting request 1172226 from home:vlefebvre:branches:Application:Geo
Update to version 7.0.1, and fix the geoipupdate-legacy script

OBS-URL: https://build.opensuse.org/request/show/1172226
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/geoipupdate?expand=0&rev=56
2024-05-07 05:53:23 +00:00
Paolo Stivanin
2902cc7d21 Accepting request 1149610 from home:vlefebvre:branches:Application:Geo
Use autosetup

OBS-URL: https://build.opensuse.org/request/show/1149610
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/geoipupdate?expand=0&rev=54
2024-02-23 07:21:43 +00:00
Paolo Stivanin
cdf28fc828 OBS-URL: https://build.opensuse.org/package/show/Application:Geo/geoipupdate?expand=0&rev=51 2024-02-21 08:17:45 +00:00
Paolo Stivanin
de53783f31 Accepting request 1148428 from home:vlefebvre:branches:Application:Geo
release to version 6.1.0

OBS-URL: https://build.opensuse.org/request/show/1148428
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/geoipupdate?expand=0&rev=50
2024-02-21 08:17:05 +00:00
Paolo Stivanin
3d16af95cb Accepting request 1105572 from home:vlefebvre:branches:Application:Geo
Update to 6.0.0

OBS-URL: https://build.opensuse.org/request/show/1105572
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/geoipupdate?expand=0&rev=48
2023-08-28 05:51:18 +00:00
Paolo Stivanin
fcc00b167c Accepting request 1094335 from home:vlefebvre:branches:Application:Geo
Update to 5.1.1

OBS-URL: https://build.opensuse.org/request/show/1094335
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/geoipupdate?expand=0&rev=46
2023-06-21 10:00:03 +00:00
Paolo Stivanin
6d6615ba25 Accepting request 1079887 from home:vlefebvre:branches:Application:Geo
Update to 5.0.3

OBS-URL: https://build.opensuse.org/request/show/1079887
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/geoipupdate?expand=0&rev=44
2023-04-17 11:10:59 +00:00
Paolo Stivanin
8514f4306f - 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/package/show/Application:Geo/geoipupdate?expand=0&rev=42
2023-03-21 08:07:55 +00:00
Paolo Stivanin
35a0f73a55 - 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.

OBS-URL: https://build.opensuse.org/package/show/Application:Geo/geoipupdate?expand=0&rev=40
2022-11-09 10:40:14 +00:00
Paolo Stivanin
94578f8abd - 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.

OBS-URL: https://build.opensuse.org/package/show/Application:Geo/geoipupdate?expand=0&rev=39
2022-03-01 15:22:24 +00:00
Paolo Stivanin
233bd09be4 - Update to version 4.8.0:
* The Docker container now supports the following new environment
variables: GEOIPUPDATE_CONF_FILE and GEOIPUPDATE_DB_DIR

OBS-URL: https://build.opensuse.org/package/show/Application:Geo/geoipupdate?expand=0&rev=38
2021-11-08 15:54:51 +00:00
Paolo Stivanin
11e0e6e31f Accepting request 920515 from home:jsegitz:branches:systemdhardening:Application:Geo
Automatic systemd hardening effort by the security team. This has not been tested. For details please see https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort

OBS-URL: https://build.opensuse.org/request/show/920515
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/geoipupdate?expand=0&rev=37
2021-09-21 08:07:01 +00:00
Martin Pluskal
46e3e7e12e Accepting request 888055 from home:polslinux:branches:Application:Geo
- 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
2021-04-23 14:59:05 +00:00
Martin Pluskal
aedc3ceeba Accepting request 856453 from home:polslinux:branches:Application:Geo
- 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.

OBS-URL: https://build.opensuse.org/request/show/856453
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/geoipupdate?expand=0&rev=33
2020-12-16 13:48:24 +00:00
Martin Pluskal
027cc6e554 Accepting request 846029 from home:polslinux:branches:Application:Geo
- 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
2020-11-04 17:00:51 +00:00
Dirk Stoecker
d1c08a682a Accepting request 800975 from home:polslinux:branches:Application:Geo
- 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

OBS-URL: https://build.opensuse.org/request/show/800975
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/geoipupdate?expand=0&rev=29
2020-05-07 08:22:37 +00:00
Paolo Stivanin
04491bdc8c Accepting request 794907 from home:vitezslav_cizek:branches:Application:Geo
- Fix license, it's actually Apache-2.0 or MIT (bsc#1169766)

OBS-URL: https://build.opensuse.org/request/show/794907
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/geoipupdate?expand=0&rev=27
2020-04-17 12:56:38 +00:00
Martin Pluskal
f86b91ee37 Accepting request 788532 from home:vitezslav_cizek:branches:Application:Geo
Just add references to keep SLE-15-SP2 changelog in sync

OBS-URL: https://build.opensuse.org/request/show/788532
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/geoipupdate?expand=0&rev=25
2020-03-26 14:08:05 +00:00
Paolo Stivanin
6eb253a647 Accepting request 788497 from home:vitezslav_cizek:branches:Application:Geo
- 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

OBS-URL: https://build.opensuse.org/request/show/788497
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/geoipupdate?expand=0&rev=24
2020-03-26 11:03:21 +00:00
Paolo Stivanin
95cad8fa70 Accepting request 785639 from home:pgajdos
- introduce geoipupdate-legacy script [bsc#1156194]
- added sources
  + geoipupdate-legacy

OBS-URL: https://build.opensuse.org/request/show/785639
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/geoipupdate?expand=0&rev=22
2020-03-16 13:49:13 +00:00
Martin Pluskal
6680fd4588 Accepting request 781411 from home:polslinux:branches:Application:Geo
- 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

OBS-URL: https://build.opensuse.org/request/show/781411
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/geoipupdate?expand=0&rev=20
2020-03-04 09:37:49 +00:00
Martin Pluskal
a781f30036 Accepting request 710994 from home:wrosenauer:devel
- added systemd timer for weekly updates
  (needs to be enabled by admin)

OBS-URL: https://build.opensuse.org/request/show/710994
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/geoipupdate?expand=0&rev=18
2019-06-20 08:36:20 +00:00
Martin Pluskal
908eeceffa Accepting request 710870 from home:weberho:branches:Application:Geo
- Fixed build
- Update to version 3.1.1

This is now the legacy version. The latest version is based on Go.

OBS-URL: https://build.opensuse.org/request/show/710870
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/geoipupdate?expand=0&rev=16
2019-06-19 10:52:20 +00:00
Martin Pluskal
12a0ea772a - 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.

OBS-URL: https://build.opensuse.org/package/show/Application:Geo/geoipupdate?expand=0&rev=14
2017-11-16 09:13:30 +00:00
Martin Pluskal
c8e11a5d60 - Cleanup previous changelog entry
- 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
2017-11-16 09:09:39 +00:00
Martin Pluskal
6db070b657 Accepting request 542190 from home:lemmy04:branches:Application:Geo
- 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
2017-11-16 09:04:59 +00:00
Martin Pluskal
dbf75ad728 - 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
2017-01-05 15:50:14 +00:00
Martin Pluskal
0cc0806c14 Accepting request 405975 from home:TheBlackCat:branches:Application:Geo
Fix Group tag.

OBS-URL: https://build.opensuse.org/request/show/405975
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/geoipupdate?expand=0&rev=8
2016-07-01 17:36:53 +00:00
Martin Pluskal
5f7af5c031 - 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.

OBS-URL: https://build.opensuse.org/package/show/Application:Geo/geoipupdate?expand=0&rev=5
2016-02-04 20:18:45 +00:00
Martin Pluskal
f2fad2a1f0 Accepting request 342995 from home:posophe:branches:Application:Geo
update

OBS-URL: https://build.opensuse.org/request/show/342995
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/geoipupdate?expand=0&rev=3
2015-11-08 14:06:36 +00:00
Martin Pluskal
50f299ca26 Accepting request 287118 from home:pluskalm
New package

OBS-URL: https://build.opensuse.org/request/show/287118
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/geoipupdate?expand=0&rev=1
2015-02-21 11:49:12 +00:00