aboutsummaryrefslogtreecommitdiffstats
path: root/net/GeoIP
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2014-07-28 23:35:36 +0800
committeradamw <adamw@FreeBSD.org>2014-07-28 23:35:36 +0800
commitbd08faf2a1a134e2feb05ee70a8ef45bc3b2f122 (patch)
treec1cdaefb5d9df6d0c39c6b348d19dffef8e3e700 /net/GeoIP
parent31834175665addac3ab34e3b537328d452ad13b9 (diff)
downloadfreebsd-ports-gnome-bd08faf2a1a134e2feb05ee70a8ef45bc3b2f122.tar.gz
freebsd-ports-gnome-bd08faf2a1a134e2feb05ee70a8ef45bc3b2f122.tar.zst
freebsd-ports-gnome-bd08faf2a1a134e2feb05ee70a8ef45bc3b2f122.zip
Give at least some indication of what is happening.
Diffstat (limited to 'net/GeoIP')
-rw-r--r--net/GeoIP/files/geoipupdate.sh.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/GeoIP/files/geoipupdate.sh.in b/net/GeoIP/files/geoipupdate.sh.in
index 6e937aa32579..73625467f8a2 100644
--- a/net/GeoIP/files/geoipupdate.sh.in
+++ b/net/GeoIP/files/geoipupdate.sh.in
@@ -1,5 +1,7 @@
#!/bin/sh
+echo Fetching GeoIP.dat and GeoIPv6.dat...
+
TEMPFILE=`mktemp %%DATADIR%%/GeoIP.dat-XXXXXX`
if fetch -o - http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz | gunzip >> $TEMPFILE ; then
chmod 644 $TEMPFILE
@@ -13,6 +15,7 @@ else
echo GeoIP.dat download failed
exit 1
fi
+
TEMPFILE=`mktemp %%DATADIR%%/GeoIPv6.dat-XXXXXX`
if fetch -o - http://geolite.maxmind.com/download/geoip/database/GeoIPv6.dat.gz | gunzip >> $TEMPFILE ; then
chmod 644 $TEMPFILE