From owner-svn-ports-all@freebsd.org Fri May 26 17:13:21 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0341BD830F1; Fri, 26 May 2017 17:13:21 +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 mx1.freebsd.org (Postfix) with ESMTPS id AF6FB168B; Fri, 26 May 2017 17:13:20 +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 v4QHDJAd022114; Fri, 26 May 2017 17:13:19 GMT (envelope-from adamw@FreeBSD.org) Received: (from adamw@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v4QHDJOJ022112; Fri, 26 May 2017 17:13:19 GMT (envelope-from adamw@FreeBSD.org) Message-Id: <201705261713.v4QHDJOJ022112@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: adamw set sender to adamw@FreeBSD.org using -f From: Adam Weinberger Date: Fri, 26 May 2017 17:13:19 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r441800 - head/net/geoipupdate X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 May 2017 17:13:21 -0000 Author: adamw Date: Fri May 26 17:13:19 2017 New Revision: 441800 URL: https://svnweb.freebsd.org/changeset/ports/441800 Log: Update to 2.4.0. * geoipupdate now checks that the database directory is writable. If it is not, it reports the problem and aborts. * geoipupdate now acquires a lock when starting up to ensure only one instance may run at a time. A new option, LockFile, exists to set the file to use as a lock. By default, LockFile is the file .geoipupdate.lock in the database directory. * geoipupdate now prints out additional information from the server when a download request results in something other than HTTP status 2xx. This provides more information when the API does not respond with a database file. In conjunction with changes to the download service itself, errors such as lacking a subscription no longer show up with the message "not a valid gzip file". * ${datarootdir}/GeoIP is now created on make install. Reported by Antonios Karagiannis. GitHub #29. * Previously, a variable named ERROR was used. This caused issues building on Windows. Reported by Gisle Vanem. GitHub #36. Modified: head/net/geoipupdate/Makefile head/net/geoipupdate/distinfo Modified: head/net/geoipupdate/Makefile ============================================================================== --- head/net/geoipupdate/Makefile Fri May 26 16:54:40 2017 (r441799) +++ head/net/geoipupdate/Makefile Fri May 26 17:13:19 2017 (r441800) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= geoipupdate -PORTVERSION= 2.3.1 +PORTVERSION= 2.4.0 DISTVERSIONPREFIX= v CATEGORIES= net geography @@ -21,6 +21,11 @@ GNU_CONFIGURE= yes OPTIONS_DEFINE= DOCS +post-patch: +# This directory is handled by net/GeoIP + @${REINPLACE_CMD} -e '/MKDIR_P.*(datarootdir)\/GeoIP/ d' \ + ${WRKSRC}/Makefile.am + post-install: ${MV} ${STAGEDIR}${DOCSDIR}/GeoIP.conf.default \ ${STAGEDIR}${PREFIX}/etc/GeoIP.conf.sample Modified: head/net/geoipupdate/distinfo ============================================================================== --- head/net/geoipupdate/distinfo Fri May 26 16:54:40 2017 (r441799) +++ head/net/geoipupdate/distinfo Fri May 26 17:13:19 2017 (r441800) @@ -1,3 +1,3 @@ -TIMESTAMP = 1483625432 -SHA256 (maxmind-geoipupdate-v2.3.1_GH0.tar.gz) = 581f3783cdd1bdc68f13507e7e7515f8e98c687ae5390a753f9415777a047a4e -SIZE (maxmind-geoipupdate-v2.3.1_GH0.tar.gz) = 34627 +TIMESTAMP = 1495818112 +SHA256 (maxmind-geoipupdate-v2.4.0_GH0.tar.gz) = 7054b21774de8c2bd17ccd8114a2257550c042cb86b715c916c8511db5c74d10 +SIZE (maxmind-geoipupdate-v2.4.0_GH0.tar.gz) = 40445