aboutsummaryrefslogtreecommitdiff
path: root/net/geoipupdate
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2017-05-26 17:13:19 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2017-05-26 17:13:19 +0000
commitdd6b2a3772bd31c931032234afff1dfd71206e6b (patch)
tree446bd08a2e5a207fa44013cd25aa06c71e2feb7a /net/geoipupdate
parente9fafcaa9d611ae8e70dd4c1d418207fb94c2715 (diff)
downloadports-dd6b2a3772bd31c931032234afff1dfd71206e6b.tar.gz
ports-dd6b2a3772bd31c931032234afff1dfd71206e6b.zip
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.
Notes
Notes: svn path=/head/; revision=441800
Diffstat (limited to 'net/geoipupdate')
-rw-r--r--net/geoipupdate/Makefile7
-rw-r--r--net/geoipupdate/distinfo6
2 files changed, 9 insertions, 4 deletions
diff --git a/net/geoipupdate/Makefile b/net/geoipupdate/Makefile
index 1e2cdda3c679..28d04abbe68c 100644
--- a/net/geoipupdate/Makefile
+++ b/net/geoipupdate/Makefile
@@ -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
diff --git a/net/geoipupdate/distinfo b/net/geoipupdate/distinfo
index ea14320f4b3e..a543662e293c 100644
--- a/net/geoipupdate/distinfo
+++ b/net/geoipupdate/distinfo
@@ -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