aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorromain <romain@FreeBSD.org>2019-01-12 03:50:07 +0800
committerromain <romain@FreeBSD.org>2019-01-12 03:50:07 +0800
commit3613cf41342f67c5752c3a3f0a1e8f01c2533bd2 (patch)
tree73cd5104f4d70e33cc98bcbd717a931d22245639
parenta2f74bd164ba3ae40755e411237a622524d5f289 (diff)
downloadfreebsd-ports-gnome-3613cf41342f67c5752c3a3f0a1e8f01c2533bd2.tar.gz
freebsd-ports-gnome-3613cf41342f67c5752c3a3f0a1e8f01c2533bd2.tar.zst
freebsd-ports-gnome-3613cf41342f67c5752c3a3f0a1e8f01c2533bd2.zip
Report failure to the caller in geoipupdate.sh
The script was returning an error due to the service not being offered anymore. The update attempt was replaced with an information message, but it's better to still return 1 as it did before to allow users detecting they have a problem. Reported by: aramw (maintainer)
-rw-r--r--net/GeoIP/Makefile2
-rw-r--r--net/GeoIP/files/geoipupdate.sh.in1
2 files changed, 2 insertions, 1 deletions
diff --git a/net/GeoIP/Makefile b/net/GeoIP/Makefile
index d024b158e77a..b2b2166d594b 100644
--- a/net/GeoIP/Makefile
+++ b/net/GeoIP/Makefile
@@ -3,7 +3,7 @@
PORTNAME= GeoIP
PORTVERSION= 1.6.12
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= net geography
MASTER_SITES= https://github.com/maxmind/geoip-api-c/releases/download/v${PORTVERSION}/
diff --git a/net/GeoIP/files/geoipupdate.sh.in b/net/GeoIP/files/geoipupdate.sh.in
index c8dcdbc80975..6f08d5e9d8db 100644
--- a/net/GeoIP/files/geoipupdate.sh.in
+++ b/net/GeoIP/files/geoipupdate.sh.in
@@ -10,3 +10,4 @@ net/libmaxminddb), please switch to that and use geoipupdate
(net/geoipupdate) to fetch the GeoIP 2 databases.
===============================================================
MSG
+exit 1