aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-02-26 19:45:50 +0800
committerkrion <krion@FreeBSD.org>2004-02-26 19:45:50 +0800
commit9c67f0b6ff31aa534ab8d7cfa57affedee4ac9a4 (patch)
tree2c7d0b49c3f84723c064173a8fd11e8a145a2742
parent662b8016ab0bcea1c0bda703c190c40ab95b1426 (diff)
downloadfreebsd-ports-gnome-9c67f0b6ff31aa534ab8d7cfa57affedee4ac9a4.tar.gz
freebsd-ports-gnome-9c67f0b6ff31aa534ab8d7cfa57affedee4ac9a4.tar.zst
freebsd-ports-gnome-9c67f0b6ff31aa534ab8d7cfa57affedee4ac9a4.zip
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>
-rw-r--r--net/Makefile1
-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
5 files changed, 48 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index 79732feef911..ad9942d652ef 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -347,6 +347,7 @@
SUBDIR += nic
SUBDIR += nicmond
SUBDIR += nicotine
+ SUBDIR += nifmon
SUBDIR += nload
SUBDIR += nocatauth-gateway
SUBDIR += nocatauth-server
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/