ports/net/GeoIP/files/geoipupdate.sh.in
Romain Tartière 1c169c5c36 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)
2019-01-11 19:50:07 +00:00

13 lines
438 B
Bash

#!/bin/sh
cat <<MSG
===============================================================
Maxmind no longer provides the legacy GeoIP databases, and have
removed the databases from their servers entirely.
If a port has an OPTION that supports GeoIP 2 (via
net/libmaxminddb), please switch to that and use geoipupdate
(net/geoipupdate) to fetch the GeoIP 2 databases.
===============================================================
MSG
exit 1