[tor-commits] [ooni-probe/master] Add Makefile to fetch Maxmind geoip database files
art at torproject.org
art at torproject.org
Wed Nov 7 17:04:51 UTC 2012
commit e10033c72b4cf3355095b3a0bbdfca3a5dbeac4a
Author: Arturo Filastò <arturo at filasto.net>
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
+
More information about the tor-commits
mailing list