aboutsummaryrefslogtreecommitdiff
path: root/net/geoipupdate
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2017-01-04 22:34:57 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2017-01-04 22:34:57 +0000
commitcf7a2832a3e237cd876fa5d0f4015daf5d8ccd67 (patch)
treec4d61d1c8e4f2a6b72f4a25bf4e647f7fa1366a7 /net/geoipupdate
parentf2a672473e4ce679bdfdadf81cf67b198f1b78a1 (diff)
downloadports-cf7a2832a3e237cd876fa5d0f4015daf5d8ccd67.tar.gz
ports-cf7a2832a3e237cd876fa5d0f4015daf5d8ccd67.zip
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.
Notes
Notes: svn path=/head/; revision=430605
Diffstat (limited to 'net/geoipupdate')
-rw-r--r--net/geoipupdate/Makefile11
-rw-r--r--net/geoipupdate/distinfo5
-rw-r--r--net/geoipupdate/pkg-plist5
3 files changed, 16 insertions, 5 deletions
diff --git a/net/geoipupdate/Makefile b/net/geoipupdate/Makefile
index 97aaa9d151a9..c765e3e6c515 100644
--- a/net/geoipupdate/Makefile
+++ b/net/geoipupdate/Makefile
@@ -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>
diff --git a/net/geoipupdate/distinfo b/net/geoipupdate/distinfo
index 68491693173e..48ee35b97dc0 100644
--- a/net/geoipupdate/distinfo
+++ b/net/geoipupdate/distinfo
@@ -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
diff --git a/net/geoipupdate/pkg-plist b/net/geoipupdate/pkg-plist
index 48c2134960ee..83bed632b1cb 100644
--- a/net/geoipupdate/pkg-plist
+++ b/net/geoipupdate/pkg-plist
@@ -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