summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2018-12-12 00:28:52 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2018-12-12 00:28:52 +0000
commitdf17ca775dd0fdc28bc1fe597e0eb53657439478 (patch)
tree6de53e67dab6df90b1809638062b67af075ce8e4
parentdevel/py-pyrsistent: Persistent/Immutable/Functional data structures (diff)
Add pkg-message instructions to fix geoiplookup with the free databases
GeoIP has free and paid databases with differing granularity. The geoiplookup and geoiplookup6 tools look only for the paid databases. Users with the free databases (as would be obtained through the included geoipupdate.sh script, or though specification of free data files in net/geoipupdate) will need to create symlinks to enable those tools to work with the free database files. The upstream NEWS.md enumerates those symlinks, so this patch includes a link to that file in the upstream repo. PORTREVISION bump for the pkg-message change. PR: 233947 Reported by: Vincent Milum MFH: 2018Q4
Notes
Notes: svn path=/head/; revision=487269
-rw-r--r--net/GeoIP/Makefile1
-rw-r--r--net/GeoIP/files/pkg-message.in4
2 files changed, 5 insertions, 0 deletions
diff --git a/net/GeoIP/Makefile b/net/GeoIP/Makefile
index 89f1027bd9af..3e77a8f9b194 100644
--- a/net/GeoIP/Makefile
+++ b/net/GeoIP/Makefile
@@ -3,6 +3,7 @@
PORTNAME= GeoIP
PORTVERSION= 1.6.12
+PORTREVISION= 1
CATEGORIES= net geography
MASTER_SITES= https://github.com/maxmind/geoip-api-c/releases/download/v${PORTVERSION}/
diff --git a/net/GeoIP/files/pkg-message.in b/net/GeoIP/files/pkg-message.in
index 3b628a0bbb01..05e54b6c5819 100644
--- a/net/GeoIP/files/pkg-message.in
+++ b/net/GeoIP/files/pkg-message.in
@@ -1,3 +1,7 @@
GeoIP does not ship with the actual data files. You must download
them yourself! To obtain the free database, run:
# %%PREFIX%%/bin/geoipupdate.sh
+
+If you are using the free database, you will need to create some
+symlinks for the geoiplookup tools, as described in
+https://github.com/maxmind/geoip-api-c/blob/master/NEWS.md