Update to new GeoLite databases.

BE AWARE! GeoIP legacy databases are deprecated upstream and updates to these
will stop.  The free GeoLite legacy databases will no longer be updated after
1 April 2018.  See https://blog.maxmind.com/tag/geolite-legacy/

The free GeoLite2 databases could be used instead e.g. for command line lookup:

# pkg_add libmaxminddb geolite2-country
$ mmdblookup -f /var/db/GeoIP/GeoLite2-Country.mmdb -i 9.9.9.9 country iso_code
This commit is contained in:
sthen 2018-01-05 14:21:58 +00:00
parent 87ff72a6ac
commit 9da1b35469
3 changed files with 10 additions and 4 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.52 2017/11/03 10:26:11 sthen Exp $
# $OpenBSD: Makefile,v 1.53 2018/01/05 14:21:58 sthen Exp $
COMMENT-main= find the country where IP address/hostname originates from
COMMENT-db= GeoIP GeoLite database: IPv4/v6 address to country
@ -6,7 +6,8 @@ COMMENT-city= GeoIP GeoLite database: IPv4/v6 address to city
COMMENT-asn= GeoIP GeoLite database: IPv4/v6 address to AS number
V= 1.6.11
D= 20171103
REVISION-main= 0
D= 20180105
DISTNAME= GeoIP-$V
PKGNAME-main= GeoIP-$V
PKGNAME-db= geolite-country-$D

View File

@ -1,4 +1,4 @@
SHA256 (GeoIP-1.6.11.tar.gz) = sOWpIgC1q1QNEYmD97cZHK9PrxroecRK+j/yoqvNsPU=
SHA256 (geolite-data-20171103.tar.xz) = ZCnuQWsyTWIkPcKvh6SuFt/KnFUHoNQEKHCiz1tlzs8=
SHA256 (geolite-data-20180105.tar.xz) = OUWK5bFmoskMvyWptzmu8o16BDZffEAUw7cSXGgJrsE=
SIZE (GeoIP-1.6.11.tar.gz) = 471777
SIZE (geolite-data-20171103.tar.xz) = 22281300
SIZE (geolite-data-20180105.tar.xz) = 22164940

View File

@ -0,0 +1,5 @@
GeoIP legacy databases are deprecated upstream and updates to these will stop.
The free GeoLite legacy databases will no longer be updated after 1 April 2018.
See https://blog.maxmind.com/tag/geolite-legacy/