From 9296d7b684fc1ac0b03f2bc2fd6458b3dc9575c5 Mon Sep 17 00:00:00 2001 From: Thomas Zander Date: Sun, 22 Sep 2019 09:05:31 +0000 Subject: [PATCH] Update to upstream release 1.22.1 Details: - Update to new upstream release 1.22.1 - Introduce default OPTION for IP geolocation support PR: 239794 Submitted by: h.freshports@skarnell.se Approved by: maintainer timeout --- net-p2p/ncdc/Makefile | 12 +++++++++--- net-p2p/ncdc/distinfo | 6 +++--- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/net-p2p/ncdc/Makefile b/net-p2p/ncdc/Makefile index c5be4acbea5d..3447116321f0 100644 --- a/net-p2p/ncdc/Makefile +++ b/net-p2p/ncdc/Makefile @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= ncdc -PORTVERSION= 1.20 -PORTREVISION= 2 +PORTVERSION= 1.22.1 CATEGORIES= net-p2p MASTER_SITES= http://dev.yorhel.nl/download/ @@ -20,7 +19,7 @@ LIB_DEPENDS= libsqlite3.so:databases/sqlite3 \ libnettle.so:security/nettle \ libp11-kit.so:security/p11-kit -USES= gmake pkgconfig ncurses +USES= gmake gnome pkgconfig ncurses:port USE_GNOME= glib20 GNU_CONFIGURE= yes PLIST_FILES= bin/ncdc \ @@ -29,4 +28,11 @@ PLIST_FILES= bin/ncdc \ CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib +OPTIONS_DEFINE= GEOIP +OPTIONS_DEFAULT= GEOIP + +GEOIP_CONFIGURE_WITH= geoip +GEOIP_CONFIGURE_ENV= GEOIP_LIBS="-L${LOCALBASE}/lib -lmaxminddb" +GEOIP_LIB_DEPENDS= libmaxminddb.so:net/libmaxminddb + .include diff --git a/net-p2p/ncdc/distinfo b/net-p2p/ncdc/distinfo index 255a13bb345d..e6ce516a8d40 100644 --- a/net-p2p/ncdc/distinfo +++ b/net-p2p/ncdc/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1533016608 -SHA256 (ncdc-1.20.tar.gz) = 8a998857df6289b6bd44287fc06f705b662098189f2a8fe95b1a5fbc703b9631 -SIZE (ncdc-1.20.tar.gz) = 367688 +TIMESTAMP = 1564822079 +SHA256 (ncdc-1.22.1.tar.gz) = d15fd378aa345f423e59a38691c668f69b516cd4b8afbbcdc446007740c3afad +SIZE (ncdc-1.22.1.tar.gz) = 371572