Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Jan 2019 19:50:07 +0000 (UTC)
From:      =?UTF-8?Q?Romain_Tarti=c3=a8re?= <romain@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r489992 - in head/net/GeoIP: . files
Message-ID:  <201901111950.x0BJo7KT071755@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: romain
Date: Fri Jan 11 19:50:07 2019
New Revision: 489992
URL: https://svnweb.freebsd.org/changeset/ports/489992

Log:
  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)

Modified:
  head/net/GeoIP/Makefile
  head/net/GeoIP/files/geoipupdate.sh.in

Modified: head/net/GeoIP/Makefile
==============================================================================
--- head/net/GeoIP/Makefile	Fri Jan 11 19:46:22 2019	(r489991)
+++ head/net/GeoIP/Makefile	Fri Jan 11 19:50:07 2019	(r489992)
@@ -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}/
 

Modified: head/net/GeoIP/files/geoipupdate.sh.in
==============================================================================
--- head/net/GeoIP/files/geoipupdate.sh.in	Fri Jan 11 19:46:22 2019	(r489991)
+++ head/net/GeoIP/files/geoipupdate.sh.in	Fri Jan 11 19:50:07 2019	(r489992)
@@ -10,3 +10,4 @@ net/libmaxminddb), please switch to that and use geoip
 (net/geoipupdate) to fetch the GeoIP 2 databases.
 ===============================================================
 MSG
+exit 1



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201901111950.x0BJo7KT071755>