From owner-svn-ports-branches@freebsd.org Mon Jan 14 00:07:43 2019 Return-Path: Delivered-To: svn-ports-branches@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 10C4E148D9F5; Mon, 14 Jan 2019 00:07:43 +0000 (UTC) (envelope-from adamw@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A401E977B6; Mon, 14 Jan 2019 00:07:42 +0000 (UTC) (envelope-from adamw@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 8B58122CFC; Mon, 14 Jan 2019 00:07:42 +0000 (UTC) (envelope-from adamw@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x0E07guv034056; Mon, 14 Jan 2019 00:07:42 GMT (envelope-from adamw@FreeBSD.org) Received: (from adamw@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x0E07gxg034055; Mon, 14 Jan 2019 00:07:42 GMT (envelope-from adamw@FreeBSD.org) Message-Id: <201901140007.x0E07gxg034055@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: adamw set sender to adamw@FreeBSD.org using -f From: Adam Weinberger Date: Mon, 14 Jan 2019 00:07:42 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r490220 - in branches/2019Q1/net/GeoIP: . files X-SVN-Group: ports-branches X-SVN-Commit-Author: adamw X-SVN-Commit-Paths: in branches/2019Q1/net/GeoIP: . files X-SVN-Commit-Revision: 490220 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: A401E977B6 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.97 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.97)[-0.968,0]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-branches@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for all the branches of the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jan 2019 00:07:43 -0000 Author: adamw Date: Mon Jan 14 00:07:41 2019 New Revision: 490220 URL: https://svnweb.freebsd.org/changeset/ports/490220 Log: MFH: r489642 r489971 r489992 r490212 Deprecate net/GeoIP, and expire it at the end of the month Note that only the legacy format is deprecated. The GeoIP2 databases are alive and well. I completely missed that GeoIP has been deprecated for the last year, and it expired upstream last week. Maxmind no longer provides the legacy database, rendering this port useless. Users must switch to GeoIP2 immediately. OPTIONS changes and instructions will be coming in the next few days. See https://support.maxmind.com/geolite-legacy-discontinuation-notice/ Although it won't be purged from the quarterly branch, it probably makes sense to MFH this deprecation notice. PR: 234715 Reported by: rigoletto Replace the geoipupdate.sh script (which just produced 404 errors) with a message explaining why, and what to do about it. 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) Extend the GeoIP expiration to a month from now to give users a bit more time to find a new solution. Approved by: portmgr (with hat) Modified: branches/2019Q1/net/GeoIP/Makefile branches/2019Q1/net/GeoIP/files/geoipupdate.sh.in Directory Properties: branches/2019Q1/ (props changed) Modified: branches/2019Q1/net/GeoIP/Makefile ============================================================================== --- branches/2019Q1/net/GeoIP/Makefile Sun Jan 13 23:34:15 2019 (r490219) +++ branches/2019Q1/net/GeoIP/Makefile Mon Jan 14 00:07:41 2019 (r490220) @@ -3,7 +3,7 @@ PORTNAME= GeoIP PORTVERSION= 1.6.12 -PORTREVISION= 1 +PORTREVISION= 3 CATEGORIES= net geography MASTER_SITES= https://github.com/maxmind/geoip-api-c/releases/download/v${PORTVERSION}/ @@ -13,6 +13,9 @@ COMMENT= Find the country that any IP address or hostn LICENSE= GPLv2 USES= libtool pathfix + +DEPRECATED= Legacy databases no longer available. Switch to net/libmaxminddb instead +EXPIRATION_DATE=2019-02-15 USE_LDCONFIG= yes GNU_CONFIGURE= yes Modified: branches/2019Q1/net/GeoIP/files/geoipupdate.sh.in ============================================================================== --- branches/2019Q1/net/GeoIP/files/geoipupdate.sh.in Sun Jan 13 23:34:15 2019 (r490219) +++ branches/2019Q1/net/GeoIP/files/geoipupdate.sh.in Mon Jan 14 00:07:41 2019 (r490220) @@ -1,50 +1,13 @@ #!/bin/sh -# You can set the following environment variables: -# -# GEOIP_DB_SERVER: The default download server is geolite.maxmind.com -# GEOIP_FETCH_CITY: If set (to anything), download the GeoLite City DB -# GEOIP_FETCH_ASN: If set, download the GeoIP ASN DB +cat <