From owner-svn-ports-head@freebsd.org Tue Jan 15 00:22:16 2019 Return-Path: Delivered-To: svn-ports-head@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 E0DAE148BF1C; Tue, 15 Jan 2019 00:22:15 +0000 (UTC) (envelope-from zi@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 8798D84563; Tue, 15 Jan 2019 00:22:15 +0000 (UTC) (envelope-from zi@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 79D4CA826; Tue, 15 Jan 2019 00:22:15 +0000 (UTC) (envelope-from zi@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x0F0MFQm004135; Tue, 15 Jan 2019 00:22:15 GMT (envelope-from zi@FreeBSD.org) Received: (from zi@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x0F0MFOA004133; Tue, 15 Jan 2019 00:22:15 GMT (envelope-from zi@FreeBSD.org) Message-Id: <201901150022.x0F0MFOA004133@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: zi set sender to zi@FreeBSD.org using -f From: Ryan Steinmetz Date: Tue, 15 Jan 2019 00:22:15 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r490322 - in head/dns/gdnsd2: . files X-SVN-Group: ports-head X-SVN-Commit-Author: zi X-SVN-Commit-Paths: in head/dns/gdnsd2: . files X-SVN-Commit-Revision: 490322 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 8798D84563 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.97)[-0.966,0]; NEURAL_HAM_LONG(-1.00)[-0.999,0] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jan 2019 00:22:16 -0000 Author: zi Date: Tue Jan 15 00:22:14 2019 New Revision: 490322 URL: https://svnweb.freebsd.org/changeset/ports/490322 Log: - Remove check that no longer applies (https://blog.maxmind.com/tag/ip-geolocation/) Reported by: sbruno Added: head/dns/gdnsd2/files/patch-libgdmaps_gdgeoip2.c (contents, props changed) Modified: head/dns/gdnsd2/Makefile Modified: head/dns/gdnsd2/Makefile ============================================================================== --- head/dns/gdnsd2/Makefile Mon Jan 14 23:40:03 2019 (r490321) +++ head/dns/gdnsd2/Makefile Tue Jan 15 00:22:14 2019 (r490322) @@ -3,7 +3,7 @@ PORTNAME= gdnsd PORTVERSION= 2.4.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= dns MASTER_SITES= https://github.com/gdnsd/gdnsd/releases/download/v${PORTVERSION}/ \ ZI \ Added: head/dns/gdnsd2/files/patch-libgdmaps_gdgeoip2.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/dns/gdnsd2/files/patch-libgdmaps_gdgeoip2.c Tue Jan 15 00:22:14 2019 (r490322) @@ -0,0 +1,16 @@ +--- libgdmaps/gdgeoip2.c.orig 2019-01-15 00:17:32 UTC ++++ libgdmaps/gdgeoip2.c +@@ -172,12 +172,7 @@ static geoip2_t* geoip2_new(const char* + db->is_city = !!strstr(meta->database_type, "City"); + + if(db->is_city) { +- // 1546300799 == 2018-12-31T23:59:59 +- if(city_auto_mode && strstr(meta->database_type, "GeoLite2") && meta->build_epoch > (uint64_t)1546300799LLU) { +- dmn_log_err("plugin_geoip: map '%s': GeoIP2 DB '%s' appears to be a post-2018 GeoLite2-City database, which will not work with auto_dc_coords as configured because these databases lack the latitude and longitude data present in the commercial version. See the auto_dc_coords section of the gdnsd-plugin-geoip documentation for more details.", map_name, pathname); +- geoip2_destroy(db); +- return NULL; +- } ++ // noop + } else { + if(city_auto_mode) { + dmn_log_err("plugin_geoip: map '%s': GeoIP2 DB '%s' is not a City-level"