summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/iftop/Makefile5
-rw-r--r--net/iftop/distinfo3
-rw-r--r--net/iftop/patches/patch-aa17
3 files changed, 22 insertions, 3 deletions
diff --git a/net/iftop/Makefile b/net/iftop/Makefile
index 1390996314b..ad82045dfd5 100644
--- a/net/iftop/Makefile
+++ b/net/iftop/Makefile
@@ -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 @@ COMMENT= Display bandwidth usage on an interface
PKG_DESTDIR_SUPPORT= user-destdir
-USE_NCURSES= YES # mvchgat()
+USE_NCURSES= chgat
GNU_CONFIGURE= yes
.include "../../devel/ncurses/buildlink3.mk"
diff --git a/net/iftop/distinfo b/net/iftop/distinfo
index 803a70d82d7..e2305396c52 100644
--- a/net/iftop/distinfo
+++ b/net/iftop/distinfo
@@ -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 --git a/net/iftop/patches/patch-aa b/net/iftop/patches/patch-aa
new file mode 100644
index 00000000000..3385b797f09
--- /dev/null
+++ b/net/iftop/patches/patch-aa
@@ -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
+ */