ports/63358: new port: net/nifmon: an online network interface monitor
Simon Barner
barner at in.tum.de
Wed Feb 25 17:20:13 UTC 2004
>Number: 63358
>Category: ports
>Synopsis: new port: net/nifmon: an online network interface monitor
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Feb 25 09:20:13 PST 2004
>Closed-Date:
>Last-Modified:
>Originator: Simon Barner
>Release: FreeBSD 4.9 i386
>Organization:
>Environment:
System: FreeBSD zi025.glhnet.mhn.de 4.9-STABLE FreeBSD 4.9-STABLE #0: Tue Feb 10 01:57:14 CET 2004 simon at zi025.glhnet.mhn.de:/usr/src/sys/compile/KISTE i386
>Description:
>From the man page:
nifmon is a curses application which displays counters and statistics of
one particular network interface in one part of the screen and a stripped
down tcpdump(8) output for this interface in the other part of the
screen.
The author of nifmon (hm@) is Cc'ed!
>How-To-Repeat:
N/A
>Fix:
--- nifmon.shar begins here ---
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# nifmon/
# nifmon/Makefile
# nifmon/distinfo
# nifmon/pkg-descr
# nifmon/files
# nifmon/files/patch-Makefile
#
echo c - nifmon/
mkdir -p nifmon/ > /dev/null 2>&1
echo x - nifmon/Makefile
sed 's/^X//' >nifmon/Makefile << 'END-of-nifmon/Makefile'
X# New ports collection makefile for: nifmon
X# Date created: Feb 2 2004
X# Whom: Simon Barner <barner at gmx.de>
X#
X# $FreeBSD$
X#
X
XPORTNAME= nifmon
XPORTVERSION= 1.4
XCATEGORIES= net
XMASTER_SITES= http://www.freebsd-support.de/misc/
X
XMAINTAINER= barner at gmx.de
XCOMMENT= A curses based network interface monitoring tool
X
XMAN8= nifmon.8
XPLIST_FILES= bin/nifmon
X
Xdo-install:
X ${INSTALL_PROGRAM} ${WRKSRC}/nifmon ${PREFIX}/bin
X ${INSTALL_MAN} ${WRKSRC}/nifmon.8 ${PREFIX}/man/man8
X
X.include <bsd.port.mk>
END-of-nifmon/Makefile
echo x - nifmon/distinfo
sed 's/^X//' >nifmon/distinfo << 'END-of-nifmon/distinfo'
XMD5 (nifmon-1.4.tar.gz) = 00e264a28c5b66d0c66fde53a68677c4
XSIZE (nifmon-1.4.tar.gz) = 10038
END-of-nifmon/distinfo
echo x - nifmon/pkg-descr
sed 's/^X//' >nifmon/pkg-descr << 'END-of-nifmon/pkg-descr'
XNifmon is a curses-based tool for FreeBSD which can be used to monitor network
Xinterfaces (also tun devices).
X
XIt displays continously updated statistics for the following quantities:
X - total amount of bytes/packets transferred in/out
X - bytes/packets transferred in/out during the last second/minute/hour
X - a stripped down tcpdump output
X
XYou will need super-user permissions in order to use nifmon.
X
XWWW: http://www.freebsd-support.de/misc/
END-of-nifmon/pkg-descr
echo c - nifmon/files
mkdir -p nifmon/files > /dev/null 2>&1
echo x - nifmon/files/patch-Makefile
sed 's/^X//' >nifmon/files/patch-Makefile << 'END-of-nifmon/files/patch-Makefile'
X--- Makefile.orig Wed May 2 20:41:22 2001
X+++ Makefile Wed Feb 25 17:43:00 2004
X@@ -5,7 +5,7 @@
X MANDIR = /usr/local/man/man
X
X # compile debug support
X-COPTS += -DDEBUG -g -Wall
X+#COPTS += -DDEBUG -g -Wall
X
X DPADD = ${LIBCURSES}
X LDADD = -lcurses
END-of-nifmon/files/patch-Makefile
exit
--- nifmon.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list