58 Commits

Author SHA256 Message Date
Dominique Leuenberger
6c85ba27dc Accepting request 1153536 from Application:Geo
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1153536
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/geoipupdate?expand=0&rev=26
2024-02-29 20:52:36 +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
Ana Guerrero
f7e69bb234 Accepting request 1148444 from Application:Geo
- 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
2024-02-21 16:58:18 +00:00
Paolo Stivanin
53c80c12ac OBS-URL: https://build.opensuse.org/package/show/Application:Geo/geoipupdate?expand=0&rev=52 2024-02-21 08:18:27 +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
Ana Guerrero
24b6855b4e Accepting request 1106213 from Application:Geo
OBS-URL: https://build.opensuse.org/request/show/1106213
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/geoipupdate?expand=0&rev=24
2023-08-28 15:16:12 +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
Dominique Leuenberger
0a0647fc0c Accepting request 1094336 from Application:Geo
OBS-URL: https://build.opensuse.org/request/show/1094336
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/geoipupdate?expand=0&rev=23
2023-06-21 20:40:13 +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
Dominique Leuenberger
059528b170 Accepting request 1079896 from Application:Geo
OBS-URL: https://build.opensuse.org/request/show/1079896
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/geoipupdate?expand=0&rev=22
2023-04-17 15:41:38 +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
Dominique Leuenberger
82a731857c Accepting request 1073473 from Application:Geo
- 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
2023-03-21 16:43:45 +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
Dominique Leuenberger
c86f15e080 Accepting request 1034814 from Application:Geo
- 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/request/show/1034814
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/geoipupdate?expand=0&rev=20
2022-11-09 11:58:24 +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
Dominique Leuenberger
ade9cd965a Accepting request 958302 from Application:Geo
- 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/request/show/958302
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/geoipupdate?expand=0&rev=19
2022-03-01 16:04:08 +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
Dominique Leuenberger
8159447b50 Accepting request 930210 from Application:Geo
- 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/request/show/930210
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/geoipupdate?expand=0&rev=18
2021-11-09 22:54:44 +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
Dominique Leuenberger
40aa9271e3 Accepting request 920597 from Application:Geo
OBS-URL: https://build.opensuse.org/request/show/920597
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/geoipupdate?expand=0&rev=17
2021-09-21 19:13:14 +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
Dominique Leuenberger
8ba30c93e6 Accepting request 888064 from Application:Geo
OBS-URL: https://build.opensuse.org/request/show/888064
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/geoipupdate?expand=0&rev=16
2021-04-23 15:50:49 +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
Dominique Leuenberger
b3679bd0d1 Accepting request 856477 from Application:Geo
OBS-URL: https://build.opensuse.org/request/show/856477
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/geoipupdate?expand=0&rev=15
2020-12-17 16:04:42 +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
Dominique Leuenberger
e9ae1f91a3 Accepting request 846049 from Application:Geo
OBS-URL: https://build.opensuse.org/request/show/846049
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/geoipupdate?expand=0&rev=14
2020-11-05 20:54:47 +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
Dominique Leuenberger
d33a857bcb Accepting request 800977 from Application:Geo
OBS-URL: https://build.opensuse.org/request/show/800977
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/geoipupdate?expand=0&rev=13
2020-05-07 12:56:33 +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
Dominique Leuenberger
49f7681987 Accepting request 794910 from Application:Geo
OBS-URL: https://build.opensuse.org/request/show/794910
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/geoipupdate?expand=0&rev=12
2020-04-17 22:32:49 +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
Dominique Leuenberger
30f35f67ab Accepting request 788574 from Application:Geo
OBS-URL: https://build.opensuse.org/request/show/788574
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/geoipupdate?expand=0&rev=11
2020-03-26 22:34:09 +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
Dominique Leuenberger
c5cf643380 Accepting request 785641 from Application:Geo
OBS-URL: https://build.opensuse.org/request/show/785641
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/geoipupdate?expand=0&rev=10
2020-03-17 12:09:47 +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
Dominique Leuenberger
63f5e1d7fd Accepting request 781418 from Application:Geo
OBS-URL: https://build.opensuse.org/request/show/781418
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/geoipupdate?expand=0&rev=9
2020-03-05 22:18:58 +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
Dominique Leuenberger
ca04c8c9d5 Accepting request 711034 from Application:Geo
OBS-URL: https://build.opensuse.org/request/show/711034
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/geoipupdate?expand=0&rev=8
2019-06-20 16:56:34 +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
Dominique Leuenberger
e09e3382df Accepting request 710871 from Application:Geo
OBS-URL: https://build.opensuse.org/request/show/710871
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/geoipupdate?expand=0&rev=7
2019-06-19 19:14:07 +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
Dominique Leuenberger
87753d4137 Accepting request 542193 from Application:Geo
- Update to version 2.5.0:

OBS-URL: https://build.opensuse.org/request/show/542193
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/geoipupdate?expand=0&rev=6
2017-11-16 13:03:53 +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
Dominique Leuenberger
1c8a047a0f Accepting request 448900 from Application:Geo
- Update to version 2.3.1:

OBS-URL: https://build.opensuse.org/request/show/448900
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/geoipupdate?expand=0&rev=5
2017-01-10 09:48:40 +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
Dominique Leuenberger
526d73de62 Accepting request 405978 from Application:Geo
1

OBS-URL: https://build.opensuse.org/request/show/405978
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/geoipupdate?expand=0&rev=4
2016-07-03 10:28:57 +00:00