svn commit: r441800 - head/net/geoipupdate
Adam Weinberger
adamw at FreeBSD.org
Fri May 26 17:13:21 UTC 2017
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
More information about the svn-ports-all
mailing list