Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Jan 2020 16:17:36 +0000 (UTC)
From:      Adam Weinberger <adamw@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r522160 - in head/net/geoipupdate: . files
Message-ID:  <202001051617.005GHaP8089207@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adamw
Date: Sun Jan  5 16:17:36 2020
New Revision: 522160
URL: https://svnweb.freebsd.org/changeset/ports/522160

Log:
  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

Added:
  head/net/geoipupdate/files/pkg-message.in   (contents, props changed)
Modified:
  head/net/geoipupdate/Makefile

Modified: head/net/geoipupdate/Makefile
==============================================================================
--- head/net/geoipupdate/Makefile	Sun Jan  5 15:57:38 2020	(r522159)
+++ head/net/geoipupdate/Makefile	Sun Jan  5 16:17:36 2020	(r522160)
@@ -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

Added: head/net/geoipupdate/files/pkg-message.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/geoipupdate/files/pkg-message.in	Sun Jan  5 16:17:36 2020	(r522160)
@@ -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
+}
+]



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202001051617.005GHaP8089207>