diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2024-04-08 21:37:51 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2024-04-08 21:39:13 +0000 |
commit | 7d1bf08f01b1adef9c6bf26e956ca8f392273318 (patch) | |
tree | 47e175b90e6099098c83380bb765de6ad8ac480a | |
parent | fe6905241e69a58bba27f5cebef11cbcf5847150 (diff) |
net/geoipupdate: Update to 7.0.1
* BREAKING CHANGE: Improvements to the HTTP download API.
* The client now calls two new endpoints:
- /geoip/updates/metadata which is responsible for getting information about
a database edition.
- /geoip/databases/{edition-id}/download which is responsible for downloading
the content of a database edition. This new endpoint redirects downloads to R2
presigned URLs, so systems running geoipupdate need to be able to
reach
- mm-prod-geoip-databases.a2649acb697e2c09b632799562c076f2.r2.cloudflarestorage.com
in addition to updates.maxmind.com.
* BREAKING CHANGE: The public package API has been redesigned. The previous
API was not easy to use and had become a maintenance burden. We now
expose a Client at github.com/maxmind/geoipupdate/client with a
Download() method. The intention is to expose less of the geoipupdate
internals and provide a simpler and easier to use package. Many
previously exposed methods and types are now either internal only or have
been removed.
* BREAKING CHANGE: If set, GEOIPUPDATE_VERBOSE must either be 0 or 1.
All other values will return an error.
* Setting GEOIPUPDATE_VERBOSE to 1 now works as expected. In the 6.0.0 and
6.1.0 releases, the flag was ignored. Reported by pmcevoy. GitHub #298.
geoipupdate now supports retrying on more types of errors
such as HTTP2 INTERNAL_ERROR.
* Now geoipupdate doesn't requires the user to specify the config file
even if all the other arguments are set via the environment variables.
Reported by jsf84ksnf. GitHub #284.
-rw-r--r-- | net/geoipupdate/Makefile | 5 | ||||
-rw-r--r-- | net/geoipupdate/distinfo | 10 |
2 files changed, 7 insertions, 8 deletions
diff --git a/net/geoipupdate/Makefile b/net/geoipupdate/Makefile index 6b8bfd8cf2c7..042843e6de09 100644 --- a/net/geoipupdate/Makefile +++ b/net/geoipupdate/Makefile @@ -1,6 +1,5 @@ PORTNAME= geoipupdate -PORTVERSION= 6.1.0 -PORTREVISION= 3 +PORTVERSION= 7.0.1 DISTVERSIONPREFIX= v CATEGORIES= net geography @@ -14,7 +13,7 @@ LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE-APACHE LICENSE_FILE_MIT= ${WRKSRC}/LICENSE-MIT USES= gmake go:modules,no_targets -GO_MODULE= github.com/maxmind/geoipupdate/v6 +GO_MODULE= github.com/maxmind/geoipupdate/v7 MAKE_ENV+= ${GO_ENV} \ CONFFILE=${PREFIX}/etc/GeoIP.conf \ diff --git a/net/geoipupdate/distinfo b/net/geoipupdate/distinfo index eff1ba1e8f10..9cc3a2045b24 100644 --- a/net/geoipupdate/distinfo +++ b/net/geoipupdate/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1704887182 -SHA256 (go/net_geoipupdate/geoipupdate-v6.1.0/v6.1.0.mod) = bbd28076437417555180c0e79e750655ed5abd3dc63d28c41b4f069a2a5d24a5 -SIZE (go/net_geoipupdate/geoipupdate-v6.1.0/v6.1.0.mod) = 591 -SHA256 (go/net_geoipupdate/geoipupdate-v6.1.0/v6.1.0.zip) = 3e288595a1b50377acc5fc3e198788d8aa39ff4557fddb231311e193a1dc93e3 -SIZE (go/net_geoipupdate/geoipupdate-v6.1.0/v6.1.0.zip) = 65918 +TIMESTAMP = 1712612169 +SHA256 (go/net_geoipupdate/geoipupdate-v7.0.1/v7.0.1.mod) = b6372530b5ad8d2de2abe252328ac88a08c8c87ba5d930bec1e9dc723e39f0ef +SIZE (go/net_geoipupdate/geoipupdate-v7.0.1/v7.0.1.mod) = 746 +SHA256 (go/net_geoipupdate/geoipupdate-v7.0.1/v7.0.1.zip) = 65166061d17f257836b528504e33de9b97d48b4af78c09e917045c7e1b389f8c +SIZE (go/net_geoipupdate/geoipupdate-v7.0.1/v7.0.1.zip) = 72720 |