[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [ooni-probe/master] Add Makefile to fetch Maxmind geoip database files



commit e10033c72b4cf3355095b3a0bbdfca3a5dbeac4a
Author: Arturo Filastò <arturo@xxxxxxxxxxx>
Date:   Wed Nov 7 18:04:24 2012 +0100

    Add Makefile to fetch Maxmind geoip database files
---
 data/Makefile |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/data/Makefile b/data/Makefile
new file mode 100644
index 0000000..b64c939
--- /dev/null
+++ b/data/Makefile
@@ -0,0 +1,10 @@
+geoip:
+	wget http://www.maxmind.com/download/geoip/database/asnum/GeoIPASNum.dat.gz
+	gunzip GeoIPASNum.dat.gz
+	wget http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz
+	gunzip GeoIP.dat.gz
+	wget http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz
+	gunzip GeoLiteCity.dat.gz
+clean:
+	rm -f *.dat
+

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits