ports/187906: [patch] net/GeoIP: geoipupdate.sh to fetch GeoIPv6.dat
Miroslav Lachman
000.fbsd at quip.cz
Mon Mar 24 18:40:01 UTC 2014
>Number: 187906
>Category: ports
>Synopsis: [patch] net/GeoIP: geoipupdate.sh to fetch GeoIPv6.dat
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Mon Mar 24 18:40:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: Miroslav Lachman
>Release: 8.4-RELEASE-p7
>Organization:
codeLab.cz
>Environment:
FreeBSD 8.4-RELEASE-p7 #0: Sat Jan 11 01:45:47 UTC 2014 root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
Update for script geoipupdate.sh to fetch GeoIPv6.dat too.
>How-To-Repeat:
Some tools are expecting /usr/local/share/GeoIP/GeoIPv6.dat
For example sa-update from SpamAssassin package.
>Fix:
Fetch it from Maxmind server. According to this page: http://dev.maxmind.com/geoip/legacy/geolite/
fetch -o - http://geolite.maxmind.com/download/geoip/database/GeoIPv6.dat.gz | gunzip > /usr/local/share/GeoIP/GeoIPv6.dat
Patch attached with submission follows:
--- /usr/ports/net/GeoIP/files/geoipupdate.sh.in.orig 2014-01-24 01:14:07.000000000 +0100
+++ /usr/ports/net/GeoIP/files/geoipupdate.sh.in 2014-03-24 19:25:07.000000000 +0100
@@ -1,2 +1,3 @@
#!/bin/sh
fetch -o - http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz | gunzip > %%DATADIR%%/GeoIP.dat
+fetch -o - http://geolite.maxmind.com/download/geoip/database/GeoIPv6.dat.gz | gunzip > %%DATADIR%%/GeoIPv6.dat
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list