pkgsrc-Changes archive

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

CVS commit: pkgsrc/net/iftop



Module Name:    pkgsrc
Committed By:   manu
Date:           Mon Dec 11 10:44:17 UTC 2017

Modified Files:
        pkgsrc/net/iftop: Makefile distinfo
Added Files:
        pkgsrc/net/iftop/patches: patch-addrs_ioctl.c patch-iftop.c
            patch-iftop.h
Removed Files:
        pkgsrc/net/iftop/patches: patch-aa

Log Message:
Update net/iftop to 1.0pre4

>From Changelog:
* Remove blinking cursor from UI
    Gerrit Renker <renker%ualberta.ca@localhost>

* Treat multicast packets as incoming, rather than incoming (IPv4) or not at
  all (IPv6).
    Andreas Schwab <schwab%linux-m68k.org@localhost>

* Minor fixes to the man page
* Man page documentation of -t mode.
* Compile time warning fixes.
    Markus Koschany <apo%gambaru.de@localhost>

* Added text output mode (-t option)
    Roman Hoog Antink <rha%open.ch@localhost> (originally by Patrik Bless)

* Fix for memory leak when DNS resolution is turned off
  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=677141
    Olivier Allard-Jacquin <olivieraj%free.fr@localhost>

* Various typos in the UI
    Gerben Roest <g.roest%grepit.nl@localhost>

* Documentation fixes
    A. Costa <agcosta%gis.net@localhost> (via Debian)

* Fix for armeb specific bug
    Lennert Buytenhek <buytenh+debian%wantstofly.org@localhost> (via Debian)

* Fix frozen order drives line totals crazy.
    Max Alekseyev <relf%os2.ru@localhost> (via Debian)

* Fix for crash on arm.
    Joey Hess <joeyh%debian.org@localhost> (via Debian)

* Fixed behaviour of "-b" option.
    Eric Cooper <ecc%cmu.edu@localhost> (via Debian)

* Support for PFLOG Interfaces
    Richard Tóth <risko%iklub.sk@localhost>

* Support for IPv6
* Fix for performance issue with address hashing
* Fix for failing link address detection for GNU/kfreebsd
* Multiple portability fixes
    Mats Erik Andersson <mats.andersson%gisladisker.se@localhost>

* Improved behaviour of sort in sent/recv only mode
    Damián Viano <des%debian.org@localhost>

* FreeBSD compilation fix
* IPv6 reverse resolution
    Frédéric Perrin <frederic.perrin%resel.fr@localhost>

* Improved IPv6 code (removed s6_addr32 dependency)
* Fixed support for DLT_NULL
    Scott Bertilson <ssb%umn.edu@localhost>

* Typo in usage message
* Workaround for PuTTY issue (https://bugzilla.redhat.com/show_bug.cgi?id=546032)
* Updates to licence text (change in FSF address)
* Avoid an assertion failure if an "invalid" (as in outside of IPv4 or IPv6)
  address family is encountered (Red Hat bugs #839750, #847124, #868065, #961236
  and #1007434)
* enable building iftop with more recent versions of autoconf/automake
* patch to remove compile time warnings
* Fix to avoid system call in text mode wherever possible.
    Robert Scheck <robert%fedoraproject.org@localhost>

* Attempt to detect if interface is actually up when doing autodetection.
* Fixed segfault when selecting interfaces with empty MAC address (e.g. gprs
  interface on Nokia N900)
    Graham Inggs <graham%nerve.org.za@localhost>

* Avoid autodetecting wmaster interfaces
* Experimental support for IEEE802_11 radiotap interfaces (DLT 127)
* Fixed segfault / hang when supplying multiple -i options
* Added missing docs for -m option.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 pkgsrc/net/iftop/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/net/iftop/distinfo
cvs rdiff -u -r1.1 -r0 pkgsrc/net/iftop/patches/patch-aa
cvs rdiff -u -r0 -r1.1 pkgsrc/net/iftop/patches/patch-addrs_ioctl.c \
    pkgsrc/net/iftop/patches/patch-iftop.c \
    pkgsrc/net/iftop/patches/patch-iftop.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/iftop/Makefile
diff -u pkgsrc/net/iftop/Makefile:1.19 pkgsrc/net/iftop/Makefile:1.20
--- pkgsrc/net/iftop/Makefile:1.19      Mon Apr 24 12:15:27 2017
+++ pkgsrc/net/iftop/Makefile   Mon Dec 11 10:44:16 2017
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.19 2017/04/24 12:15:27 sborrill Exp $
+# $NetBSD: Makefile,v 1.20 2017/12/11 10:44:16 manu Exp $
 #
 
-DISTNAME=      iftop-0.17
-PKGREVISION=   5
+DISTNAME=      iftop-1.0pre4
+#PKGREVISION=  1
 CATEGORIES=    net
 MASTER_SITES=  http://www.ex-parrot.com/~pdw/iftop/download/
 
@@ -11,6 +11,7 @@ HOMEPAGE=     http://www.ex-parrot.com/~pdw/
 COMMENT=       Display bandwidth usage on an interface
 
 USE_CURSES=            chgat
+FAKE_NCURSES=          yes
 GNU_CONFIGURE=         yes
 CONFIGURE_ARGS+=       --with-resolver=netdb_1thread
 

Index: pkgsrc/net/iftop/distinfo
diff -u pkgsrc/net/iftop/distinfo:1.6 pkgsrc/net/iftop/distinfo:1.7
--- pkgsrc/net/iftop/distinfo:1.6       Wed Nov  4 00:35:05 2015
+++ pkgsrc/net/iftop/distinfo   Mon Dec 11 10:44:16 2017
@@ -1,8 +1,10 @@
-$NetBSD: distinfo,v 1.6 2015/11/04 00:35:05 agc Exp $
+$NetBSD: distinfo,v 1.7 2017/12/11 10:44:16 manu Exp $
 
-SHA1 (iftop-0.17.tar.gz) = 75ce6afc8c0bf851278b0a15e66f523af90cfda9
-RMD160 (iftop-0.17.tar.gz) = 0111fdd3d2ba068acd41d9279c987d6699840736
-SHA512 (iftop-0.17.tar.gz) = 41e3bc5feac5927f67356f491fcab7a28f7a32102cc33c67d81c1dc755273c42e32b540b14b6254a540f1b6c1b1ad6c50e3095c3b5282db2ea12dd0049ce2ebd
-Size (iftop-0.17.tar.gz) = 160381 bytes
-SHA1 (patch-aa) = 1c0c12967ba01d18f2826f874a8f5a076d88c31b
+SHA1 (iftop-1.0pre4.tar.gz) = 7f8e16ea26a0dee37ec9d1cbcef7b27692036572
+RMD160 (iftop-1.0pre4.tar.gz) = 10730f5deccbc090ed0d5b91de009a1af9e0c90d
+SHA512 (iftop-1.0pre4.tar.gz) = abd74e8025bb82fef9ebab4997b1d018201a523d47c0128128ca37797490046538d74758dc4471735c22b890e5bd238ad6b2a30776d465138ede367cdd263d22
+Size (iftop-1.0pre4.tar.gz) = 204665 bytes
+SHA1 (patch-addrs_ioctl.c) = 3b7907efd321409038217eb2476814b9adbb5114
 SHA1 (patch-dlcommon.h) = 787296f9d337a6b6a5ef080452cd14a3580a5fc3
+SHA1 (patch-iftop.c) = 1f840b7446b839443279b3f2fa52a060401cdc88
+SHA1 (patch-iftop.h) = 4a0760bc69e821e43d41da46ab44dfd35ddfb5dd

Added files:

Index: pkgsrc/net/iftop/patches/patch-addrs_ioctl.c
diff -u /dev/null pkgsrc/net/iftop/patches/patch-addrs_ioctl.c:1.1
--- /dev/null   Mon Dec 11 10:44:17 2017
+++ pkgsrc/net/iftop/patches/patch-addrs_ioctl.c        Mon Dec 11 10:44:17 2017
@@ -0,0 +1,25 @@
+$NetBSD: patch-addrs_ioctl.c,v 1.1 2017/12/11 10:44:17 manu Exp $
+
+Enable BSD features for NetBSD  
+From <Jean-Jacques.Puig%espci.fr@localhost>
+
+--- addrs_ioctl.c
++++ addrs_ioctl.c
+@@ -18,7 +18,7 @@
+ #include <net/if.h>
+ #include <netinet/in.h>
+ 
+-#if defined __FreeBSD__ || defined __OpenBSD__ || defined __APPLE__ \
++#if defined __NetBSD__ || defined __FreeBSD__ || defined __OpenBSD__ || defined __APPLE__ \
+       || ( defined __GLIBC__ && ! defined __linux__ )
+ #include <sys/param.h>
+ #include <sys/sysctl.h>
+@@ -80,7 +80,7 @@ get_addrs_ioctl(char *interface, u_int8_t if_hw_addr[], struct in_addr *if_ip_ad
+     got_hw_addr = 1;
+   }
+ #else
+-#if defined __FreeBSD__ || defined __OpenBSD__ || defined __APPLE__ \
++#if defined __NetBSD__ || defined __FreeBSD__ || defined __OpenBSD__ || defined __APPLE__ \
+       || ( defined __GLIBC__ && ! defined __linux__ )
+   {
+     int sysctlparam[6] = {CTL_NET, PF_ROUTE, 0, 0, NET_RT_IFLIST, 0};
Index: pkgsrc/net/iftop/patches/patch-iftop.c
diff -u /dev/null pkgsrc/net/iftop/patches/patch-iftop.c:1.1
--- /dev/null   Mon Dec 11 10:44:17 2017
+++ pkgsrc/net/iftop/patches/patch-iftop.c      Mon Dec 11 10:44:17 2017
@@ -0,0 +1,19 @@
+$NetBSD: patch-iftop.c,v 1.1 2017/12/11 10:44:17 manu Exp $
+
+--- iftop.c.orig       2014-01-19 21:21:19.000000000 +0100
++++ iftop.c    2017-12-11 11:22:55.000000000 +0100
+@@ -756,8 +756,14 @@
+     }
+     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
+  */
+ #ifdef DLT_LINUX_SLL
Index: pkgsrc/net/iftop/patches/patch-iftop.h
diff -u /dev/null pkgsrc/net/iftop/patches/patch-iftop.h:1.1
--- /dev/null   Mon Dec 11 10:44:17 2017
+++ pkgsrc/net/iftop/patches/patch-iftop.h      Mon Dec 11 10:44:17 2017
@@ -0,0 +1,16 @@
+$NetBSD: patch-iftop.h,v 1.1 2017/12/11 10:44:17 manu Exp $
+
+Enable BSD features for NetBSD
+From <Jean-Jacques.Puig%espci.fr@localhost>
+
+--- iftop.h
++++ iftop.h
+@@ -19,7 +19,7 @@
+ #if !defined s6_addr32 && defined __sun__
+ #     define s6_addr32 _S6_un._S6_u32
+ #elif !defined s6_addr32 && \
+-              ( defined __OpenBSD__ || defined __FreeBSD__ )
++              ( defined __OpenBSD__ || defined __FreeBSD__ || defined __NetBSD__ )
+ #     define s6_addr32 __u6_addr.__u6_addr32
+ #endif        /* !defined s6_addr32 */
+ 



Home | Main Index | Thread Index | Old Index