summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2016-06-19 05:55:56 +0000
committermarkd <markd@pkgsrc.org>2016-06-19 05:55:56 +0000
commitdb718bffddbbbca25ea6314d711c01907e01058e (patch)
tree14d2732093ff5442e049b4fa0476772aeb4f9bc2
parent1c20c127e8090607a233b27180b05b41eb222d44 (diff)
downloadpkgsrc-db718bffddbbbca25ea6314d711c01907e01058e.tar.gz
Build with latest rrdtool.
-rw-r--r--net/ntop/Makefile4
-rw-r--r--net/ntop/distinfo4
-rw-r--r--net/ntop/patches/patch-ab30
3 files changed, 33 insertions, 5 deletions
diff --git a/net/ntop/Makefile b/net/ntop/Makefile
index b9a7d273973..ce07ba615b5 100644
--- a/net/ntop/Makefile
+++ b/net/ntop/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.95 2016/03/05 11:29:09 jperkin Exp $
+# $NetBSD: Makefile,v 1.96 2016/06/19 05:55:56 markd Exp $
DISTNAME= ntop-4.1.0
-PKGREVISION= 24
+PKGREVISION= 25
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ntop/}
diff --git a/net/ntop/distinfo b/net/ntop/distinfo
index 0cb29c7fc41..5c4571702d2 100644
--- a/net/ntop/distinfo
+++ b/net/ntop/distinfo
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.22 2015/11/04 00:35:17 agc Exp $
+$NetBSD: distinfo,v 1.23 2016/06/19 05:55:56 markd Exp $
SHA1 (ntop-4.1.0.tar.gz) = 11cd397e5524fa72652d840ce1b92631f8bf39a2
RMD160 (ntop-4.1.0.tar.gz) = 6f10e30e1b2870fc1ec327512e17cfbe0783faa4
SHA512 (ntop-4.1.0.tar.gz) = 6759ef6396768b33db96db20ceb907f9d8a5e3421c920d277e043bec85eb1fb38e41b7c88e189e7dd316a02c627aa4c4ea9295beee8cd890ac09b5d8b161a579
Size (ntop-4.1.0.tar.gz) = 39118983 bytes
SHA1 (patch-aa) = 92fc5a3c22db1315397e84650361af25c932ca8b
-SHA1 (patch-ab) = ffee6466664949a5d1759822ec4bcf0bb7176a6d
+SHA1 (patch-ab) = 0df07d788aef1a472334e017a747fc6f71b1bf45
SHA1 (patch-ac) = 122d498c4d8a5809cf4ca41bd32c8eb86001f01f
diff --git a/net/ntop/patches/patch-ab b/net/ntop/patches/patch-ab
index b1dd3c210a2..9b4ff393b1d 100644
--- a/net/ntop/patches/patch-ab
+++ b/net/ntop/patches/patch-ab
@@ -1,7 +1,9 @@
-$NetBSD: patch-ab,v 1.23 2013/02/18 08:41:34 markd Exp $
+$NetBSD: patch-ab,v 1.24 2016/06/19 05:55:57 markd Exp $
* First two chunks: automake-1.13 compatability.
+Latest rrdtool doesnt have separate librrd_th
+
--- configure.in.orig 2011-08-15 08:34:28.000000000 +0000
+++ configure.in
@@ -56,7 +56,7 @@ dnl>
@@ -53,6 +55,32 @@ $NetBSD: patch-ab,v 1.23 2013/02/18 08:41:34 markd Exp $
PCAP_ROOT=`cd ${PCAP_ROOT} && pwd`
CORELIBS="${CORELIBS} -L$PCAP_ROOT -lpcap"
INCS="${INCS} -I$PCAP_ROOT"
+@@ -876,19 +889,19 @@ else
+ fi
+ fi
+
+-RRD_LIB="-L${RRD_HOME}/lib -lrrd_th"
++RRD_LIB="-L${RRD_HOME}/lib -lrrd"
+
+-if test -f "$RRD_HOME/lib/librrd_th.so"; then
++if test -f "$RRD_HOME/lib/librrd.so"; then
+ AC_MSG_RESULT(checking for rrdtool... yes)
+ else
+- if test -f "$RRD_HOME/lib/librrd_th.dylib"; then # OSX
++ if test -f "$RRD_HOME/lib/librrd.dylib"; then # OSX
+ AC_MSG_RESULT(checking for rrdtool... yes)
+ else
+- if test -f "$RRD_HOME/lib/librrd_th.a"; then
++ if test -f "$RRD_HOME/lib/librrd.a"; then
+ AC_MSG_RESULT(checking for rrdtool... yes)
+ else
+- AC_CHECK_LIB([rrd_th], [main])
+- if test ".${ac_cv_lib_rrd_th_main}" != ".yes"; then
++ AC_CHECK_LIB([rrd], [main])
++ if test ".${ac_cv_lib_rrd_main}" != ".yes"; then
+ AC_MSG_ERROR(Unable to find RRD at $RRD_HOME: please use --with-rrd-home=DIR);
+ AC_MSG_ERROR(RRD source can be downloaded from http://www.rrdtool.org/);
+ else
@@ -1721,8 +1734,6 @@ if test -f "GeoLiteCity.dat"; then
else
if test -f "3rd_party/GeoLiteCity.dat.gz"; then