Skip to content

Commit

Permalink
net/geoipupdate: Update to 7.0.1
Browse files Browse the repository at this point in the history
 *  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.
  • Loading branch information
assistcontrol committed Apr 8, 2024
1 parent fe69052 commit 7d1bf08
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
5 changes: 2 additions & 3 deletions net/geoipupdate/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
PORTNAME= geoipupdate
PORTVERSION= 6.1.0
PORTREVISION= 3
PORTVERSION= 7.0.1
DISTVERSIONPREFIX= v
CATEGORIES= net geography

Expand All @@ -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 \
Expand Down
10 changes: 5 additions & 5 deletions net/geoipupdate/distinfo
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 7d1bf08

Please sign in to comment.