Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Jan 2017 22:34:57 +0000 (UTC)
From:      Adam Weinberger <adamw@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r430605 - head/net/geoipupdate
Message-ID:  <201701042234.v04MYv9P031853@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adamw
Date: Wed Jan  4 22:34:57 2017
New Revision: 430605
URL: https://svnweb.freebsd.org/changeset/ports/430605

Log:
  Update to 2.3.0.
  
    * geoipupdate now uses TCP keep-alive when compiled with cURL 7.25 or
      greater.
    * Previously, on an invalid gzip file, geoipupdate would output binary data
      to stderr. It now displays an appropriate error message.

Modified:
  head/net/geoipupdate/Makefile
  head/net/geoipupdate/distinfo
  head/net/geoipupdate/pkg-plist

Modified: head/net/geoipupdate/Makefile
==============================================================================
--- head/net/geoipupdate/Makefile	Wed Jan  4 22:32:37 2017	(r430604)
+++ head/net/geoipupdate/Makefile	Wed Jan  4 22:34:57 2017	(r430605)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	geoipupdate
-PORTVERSION=	2.2.2
-PORTREVISION=	1
+PORTVERSION=	2.3.0
 DISTVERSIONPREFIX=	v
 CATEGORIES=	net geography
 
@@ -20,4 +19,12 @@ GH_ACCOUNT=	maxmind
 USES=		libtool localbase pathfix autoreconf
 GNU_CONFIGURE=	yes
 
+OPTIONS_DEFINE=	DOCS
+
+post-patch:
+	${REINPLACE_CMD} -e '/^doc_DATA =/s|conf/GeoIP.conf.default||' \
+		${WRKSRC}/Makefile.am
+	${REINPLACE_CMD} -e '/DEFAULT_CONFIG_FILE =/s/GeoIP.conf$$/&.sample/' \
+		${WRKSRC}/conf/Makefile.am
+
 .include <bsd.port.mk>

Modified: head/net/geoipupdate/distinfo
==============================================================================
--- head/net/geoipupdate/distinfo	Wed Jan  4 22:32:37 2017	(r430604)
+++ head/net/geoipupdate/distinfo	Wed Jan  4 22:34:57 2017	(r430605)
@@ -1,2 +1,3 @@
-SHA256 (maxmind-geoipupdate-v2.2.2_GH0.tar.gz) = e2eb95f471b1c8f590361aefe52afd28a04560147d3e2970e17889a5ce2b5746
-SIZE (maxmind-geoipupdate-v2.2.2_GH0.tar.gz) = 33596
+TIMESTAMP = 1483568399
+SHA256 (maxmind-geoipupdate-v2.3.0_GH0.tar.gz) = 8e36ac53076b915d89647e7b48cc0db4618357d48ee0a19584e6b9465a01f14d
+SIZE (maxmind-geoipupdate-v2.3.0_GH0.tar.gz) = 34452

Modified: head/net/geoipupdate/pkg-plist
==============================================================================
--- head/net/geoipupdate/pkg-plist	Wed Jan  4 22:32:37 2017	(r430604)
+++ head/net/geoipupdate/pkg-plist	Wed Jan  4 22:34:57 2017	(r430605)
@@ -1,4 +1,7 @@
 bin/geoipupdate
-@sample etc/GeoIP.conf.default etc/GeoIP.conf
+@sample etc/GeoIP.conf.sample
 man/man1/geoipupdate.1.gz
 man/man5/GeoIP.conf.5.gz
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog.md
+%%PORTDOCS%%%%DOCSDIR%%/LICENSE
+%%PORTDOCS%%%%DOCSDIR%%/README.md



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