diff options
author | adamw <adamw@FreeBSD.org> | 2017-05-27 01:13:19 +0800 |
---|---|---|
committer | adamw <adamw@FreeBSD.org> | 2017-05-27 01:13:19 +0800 |
commit | d719385094d1355a84fc4b4cd5e5d0a34a9c888c (patch) | |
tree | 446bd08a2e5a207fa44013cd25aa06c71e2feb7a | |
parent | 0540fadbd1a0121196a38251f17c14f575c87e7b (diff) | |
download | freebsd-ports-gnome-d719385094d1355a84fc4b4cd5e5d0a34a9c888c.tar.gz freebsd-ports-gnome-d719385094d1355a84fc4b4cd5e5d0a34a9c888c.tar.zst freebsd-ports-gnome-d719385094d1355a84fc4b4cd5e5d0a34a9c888c.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.
-rw-r--r-- | net/geoipupdate/Makefile | 7 | ||||
-rw-r--r-- | net/geoipupdate/distinfo | 6 |
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 |