diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2020-01-05 16:17:36 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2020-01-05 16:17:36 +0000 |
commit | d5624747ff3775cd4bcbe31eb37aa877acf8a884 (patch) | |
tree | 527e29a84ea9145fa0dcd587b87f20eabeabfd80 /net/geoipupdate | |
parent | 3c7a0753222a62af2e5b6cc38eff02d474ad0bc2 (diff) | |
download | ports-d5624747ff3775cd4bcbe31eb37aa877acf8a884.tar.gz ports-d5624747ff3775cd4bcbe31eb37aa877acf8a884.zip |
geoipupdate: Add instructions for getting account ID/key
MaxMind now requires a (free) registered account to download any
of the databases, including the free ones. Registration and
download remain free--they just require an account now.
MFH: 2020Q1
Notes
Notes:
svn path=/head/; revision=522160
Diffstat (limited to 'net/geoipupdate')
-rw-r--r-- | net/geoipupdate/Makefile | 2 | ||||
-rw-r--r-- | net/geoipupdate/files/pkg-message.in | 28 |
2 files changed, 30 insertions, 0 deletions
diff --git a/net/geoipupdate/Makefile b/net/geoipupdate/Makefile index 3871d5159594..917a00579f18 100644 --- a/net/geoipupdate/Makefile +++ b/net/geoipupdate/Makefile @@ -3,6 +3,7 @@ PORTNAME= geoipupdate PORTVERSION= 4.1.5 +PORTREVISION= 1 DISTVERSIONPREFIX= v CATEGORIES= net geography @@ -41,6 +42,7 @@ PLIST_FILES= bin/geoipupdate \ '@sample etc/GeoIP.conf.sample' \ '@dir share/GeoIP' PORTDOCS= GeoIP.conf.md geoipupdate.md +SUB_FILES= pkg-message post-extract: ${RM} ${WRKSRC}/go.mod diff --git a/net/geoipupdate/files/pkg-message.in b/net/geoipupdate/files/pkg-message.in new file mode 100644 index 000000000000..3c13db3024aa --- /dev/null +++ b/net/geoipupdate/files/pkg-message.in @@ -0,0 +1,28 @@ +[ +{ type: upgrade + maximum_version: 4.1.5 + message: <<UPGRADE +The free GeoIP2 databases now require a (free) +registered account. + +See: https://blog.maxmind.com/2019/12/18/significant-changes-to-accessing-and-using-geolite2-databases/ +Register for an account: https://www.maxmind.com/en/geolite2/signup +Get a license key: https://www.maxmind.com/en/accounts/155743/license-key + +Place the generated account key and license key +into %%DATADIR%%/GeoIP.conf +UPGRADE +} +{ type: install + message: <<INSTALL +You must register for a (free) MaxMind account +to download the free GeoIP2 databases. + +Register for an account: https://www.maxmind.com/en/geolite2/signup +Get a license key: https://www.maxmind.com/en/accounts/155743/license-key + +Place the generated account key and license key +into %%DATADIR%%/GeoIP.conf +INSTALL +} +] |