ports/81830: net-mgmt/iftop: Avoid buggy fork resolver, take maintainership
Vasil Dimov
vd at datamax.bg
Fri Jun 3 09:20:02 UTC 2005
>Number: 81830
>Category: ports
>Synopsis: net-mgmt/iftop: Avoid buggy fork resolver, take maintainership
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Fri Jun 03 09:20:01 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Vasil Dimov
>Release: FreeBSD 5.4-STABLE i386
>Organization:
DataMax
>Environment:
System: FreeBSD sinanica.bg.datamax 5.4-STABLE FreeBSD 5.4-STABLE #6: Tue May 10 12:46:25 EEST 2005 root at sinanica.bg.datamax:/usr/obj/usr/src/sys/SINANICA-SMP i386
>Description:
* force iftop to use its netdb_1thread resolver, instead of the buggy
"fork" one which leaves 2 alive processes (holding /dev/bpf?) after
exiting
* remove voodoo.oberon.net from MASTER_SITES. Archive is unfetchable
from there.
* change comment and description to match iftop.spec
* take maintainership
>How-To-Repeat:
>Fix:
--- iftop_resolver.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/net-mgmt/iftop/Makefile,v
retrieving revision 1.13
diff -u -r1.13 Makefile
--- Makefile 21 Apr 2005 17:44:07 -0000 1.13
+++ Makefile 3 Jun 2005 08:43:46 -0000
@@ -7,15 +7,16 @@
PORTNAME= iftop
PORTVERSION= 0.16
+PORTREVISION= 1
CATEGORIES= net-mgmt
-MASTER_SITES= http://www.ex-parrot.com/~pdw/iftop/download/ \
- http://voodoo.oberon.net/
+MASTER_SITES= http://www.ex-parrot.com/~pdw/iftop/download/
-MAINTAINER= ports at FreeBSD.org
-COMMENT= Network utility for real-time bandwidth usage information
+MAINTAINER= vd at datamax.bg
+COMMENT= Display bandwidth usage on an interface by host
GNU_CONFIGURE= yes
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ARGS= --with-resolver=netdb_1thread
USE_REINPLACE= yes
MAN8= iftop.8
Index: pkg-descr
===================================================================
RCS file: /home/ncvs/ports/net-mgmt/iftop/pkg-descr,v
retrieving revision 1.1
diff -u -r1.1 pkg-descr
--- pkg-descr 1 Jun 2003 01:53:14 -0000 1.1
+++ pkg-descr 3 Jun 2005 08:43:46 -0000
@@ -1,4 +1,13 @@
-iftop provides real-time bandwidth usage information on a
-specified interface, listed by host pairs.
+iftop listens to network traffic on a named interface, or
+on the first interface it can find which looks like an
+external interface if none is specified, and displays a
+table of current bandwidth usage by pairs of hosts. iftop
+must be run with sufficient permissions to monitor all
+network traffic on the interface; see pcap(3) for more
+information, but on most systems this means that it must
+be run as root.
WWW: http://www.ex-parrot.com/~pdw/iftop/
+
+- Vasil Dimov
+vd at datamax.bg
--- iftop_resolver.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list