pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/iftop NetBSD/current can use the native ncurses.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a80d963c2419
branches:  trunk
changeset: 395352:a80d963c2419
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue Jul 07 21:20:36 2009 +0000

description:
NetBSD/current can use the native ncurses.
Support PPP interfaces on NetBSD.  Bump revision.

diffstat:

 net/iftop/Makefile         |   5 +++--
 net/iftop/distinfo         |   3 ++-
 net/iftop/patches/patch-aa |  17 +++++++++++++++++
 3 files changed, 22 insertions(+), 3 deletions(-)

diffs (54 lines):

diff -r 1019fb7bd2d3 -r a80d963c2419 net/iftop/Makefile
--- a/net/iftop/Makefile        Tue Jul 07 21:19:50 2009 +0000
+++ b/net/iftop/Makefile        Tue Jul 07 21:20:36 2009 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.10 2007/08/08 17:33:44 joerg Exp $
+# $NetBSD: Makefile,v 1.11 2009/07/07 21:20:36 joerg Exp $
 #
 
 DISTNAME=      iftop-0.17
+PKGREVISION=   1
 CATEGORIES=    net
 MASTER_SITES=  http://www.ex-parrot.com/~pdw/iftop/download/
 
@@ -11,7 +12,7 @@
 
 PKG_DESTDIR_SUPPORT=   user-destdir
 
-USE_NCURSES=           YES # mvchgat()
+USE_NCURSES=           chgat
 GNU_CONFIGURE=         yes
 
 .include "../../devel/ncurses/buildlink3.mk"
diff -r 1019fb7bd2d3 -r a80d963c2419 net/iftop/distinfo
--- a/net/iftop/distinfo        Tue Jul 07 21:19:50 2009 +0000
+++ b/net/iftop/distinfo        Tue Jul 07 21:20:36 2009 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.3 2006/09/25 12:16:12 abs Exp $
+$NetBSD: distinfo,v 1.4 2009/07/07 21:20:37 joerg Exp $
 
 SHA1 (iftop-0.17.tar.gz) = 75ce6afc8c0bf851278b0a15e66f523af90cfda9
 RMD160 (iftop-0.17.tar.gz) = 0111fdd3d2ba068acd41d9279c987d6699840736
 Size (iftop-0.17.tar.gz) = 160381 bytes
+SHA1 (patch-aa) = 1c0c12967ba01d18f2826f874a8f5a076d88c31b
diff -r 1019fb7bd2d3 -r a80d963c2419 net/iftop/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/iftop/patches/patch-aa        Tue Jul 07 21:20:36 2009 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-aa,v 1.1 2009/07/07 21:20:37 joerg Exp $
+
+--- iftop.c.orig       2009-07-05 17:30:23.000000000 +0200
++++ iftop.c
+@@ -528,6 +528,12 @@ void packet_init() {
+     else if(dlt == DLT_PPP) {
+         packet_handler = handle_ppp_packet;
+     }
++#ifdef DLT_PPP_SERIAL
++    else if(dlt == DLT_PPP_SERIAL) {
++        packet_handler = handle_ppp_packet;
++    }
++
++#endif
+ /* 
+  * SLL support not available in older libpcaps
+  */



Home | Main Index | Thread Index | Old Index