geoip: import scripts for building the xt_geoip database

This commit is contained in:
Jan Engelhardt
2010-07-24 11:14:14 +02:00
parent 4d48511f01
commit 922a9be87d
8 changed files with 64 additions and 5 deletions

8
geoip/geoip_download.sh Executable file
View File

@@ -0,0 +1,8 @@
#!/bin/sh
rm -f GeoIPv6.csv{,.gz} GeoIPCountryCSV.zip GeoIPCountryWhois.csv;
wget \
http://geolite.maxmind.com/download/geoip/database/GeoIPv6.csv.gz \
http://geolite.maxmind.com/download/geoip/database/GeoIPCountryCSV.zip;
gzip -d GeoIPv6.csv.gz;
unzip GeoIPCountryCSV.zip;