summaryrefslogtreecommitdiff
path: root/net/nifmon
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-02-26 11:45:50 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-02-26 11:45:50 +0000
commitcc3e5b5e867134550f0b6fc0bf34417f9c865849 (patch)
treebd02d11d886e8ec0233f4351ab9f56092eb7e7fb /net/nifmon
parent- Update to 0.4.3 (diff)
Add nifmon 1.4,
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. PR: ports/63358 Submitted by: Simon Barner <barner@gmx.de>
Notes
Notes: svn path=/head/; revision=102181
Diffstat (limited to 'net/nifmon')
-rw-r--r--net/nifmon/Makefile23
-rw-r--r--net/nifmon/distinfo2
-rw-r--r--net/nifmon/files/patch-Makefile11
-rw-r--r--net/nifmon/pkg-descr11
4 files changed, 47 insertions, 0 deletions
diff --git a/net/nifmon/Makefile b/net/nifmon/Makefile
new file mode 100644
index 000000000000..5ce9e458004f
--- /dev/null
+++ b/net/nifmon/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: nifmon
+# Date created: Feb 2 2004
+# Whom: Simon Barner <barner@gmx.de>
+#
+# $FreeBSD$
+#
+
+PORTNAME= nifmon
+PORTVERSION= 1.4
+CATEGORIES= net
+MASTER_SITES= http://www.freebsd-support.de/misc/
+
+MAINTAINER= barner@gmx.de
+COMMENT= A curses based network interface monitoring tool
+
+MAN8= nifmon.8
+PLIST_FILES= bin/nifmon
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/nifmon ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/nifmon.8 ${PREFIX}/man/man8
+
+.include <bsd.port.mk>
diff --git a/net/nifmon/distinfo b/net/nifmon/distinfo
new file mode 100644
index 000000000000..dfac9a062805
--- /dev/null
+++ b/net/nifmon/distinfo
@@ -0,0 +1,2 @@
+MD5 (nifmon-1.4.tar.gz) = 00e264a28c5b66d0c66fde53a68677c4
+SIZE (nifmon-1.4.tar.gz) = 10038
diff --git a/net/nifmon/files/patch-Makefile b/net/nifmon/files/patch-Makefile
new file mode 100644
index 000000000000..8eebf791ee97
--- /dev/null
+++ b/net/nifmon/files/patch-Makefile
@@ -0,0 +1,11 @@
+--- Makefile.orig Wed May 2 20:41:22 2001
++++ Makefile Wed Feb 25 17:43:00 2004
+@@ -5,7 +5,7 @@
+ MANDIR = /usr/local/man/man
+
+ # compile debug support
+-COPTS += -DDEBUG -g -Wall
++#COPTS += -DDEBUG -g -Wall
+
+ DPADD = ${LIBCURSES}
+ LDADD = -lcurses
diff --git a/net/nifmon/pkg-descr b/net/nifmon/pkg-descr
new file mode 100644
index 000000000000..2384c47c4e3b
--- /dev/null
+++ b/net/nifmon/pkg-descr
@@ -0,0 +1,11 @@
+Nifmon is a curses-based tool for FreeBSD which can be used to monitor network
+interfaces (also tun devices).
+
+It displays continously updated statistics for the following quantities:
+ - total amount of bytes/packets transferred in/out
+ - bytes/packets transferred in/out during the last second/minute/hour
+ - a stripped down tcpdump output
+
+You will need super-user permissions in order to use nifmon.
+
+WWW: http://www.freebsd-support.de/misc/