aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/pktstat
diff options
context:
space:
mode:
authorAndrew Pantyukhin <sat@FreeBSD.org>2007-04-05 07:51:52 +0000
committerAndrew Pantyukhin <sat@FreeBSD.org>2007-04-05 07:51:52 +0000
commite4c03bc5dadbcd28f09e916986051ee9b8dd1b75 (patch)
tree498dcec38a7ea6f08d963372a49094804f588d19 /net-mgmt/pktstat
parentf416b163740f018cf36f26ce0f4858dee8a6a2b0 (diff)
downloadports-e4c03bc5dadbcd28f09e916986051ee9b8dd1b75.tar.gz
ports-e4c03bc5dadbcd28f09e916986051ee9b8dd1b75.zip
Add port net-mgmt/pktstat:
Pktstat listens to the network and shows the bandwidth being consumed by packets of various kinds in realtime. It understands some protocols (including FTP, HTTP, and X11) and adds a descriptive name next to the entry. WWW: http://www.adaptive-enterprises.com.au/~d/software/pktstat/ Author: David Leonard <leonard at users.sourceforge.net> Adapted from: OpenBSD port
Notes
Notes: svn path=/head/; revision=189255
Diffstat (limited to 'net-mgmt/pktstat')
-rw-r--r--net-mgmt/pktstat/Makefile25
-rw-r--r--net-mgmt/pktstat/distinfo3
-rw-r--r--net-mgmt/pktstat/pkg-descr7
3 files changed, 35 insertions, 0 deletions
diff --git a/net-mgmt/pktstat/Makefile b/net-mgmt/pktstat/Makefile
new file mode 100644
index 000000000000..926aaba3b822
--- /dev/null
+++ b/net-mgmt/pktstat/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: pktstat
+# Date created: 5 April 2007
+# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= pktstat
+PORTVERSION= 1.8.3
+CATEGORIES= net-mgmt
+MASTER_SITES= http://www.adaptive-enterprises.com.au/~d/software/pktstat/ CENKES
+
+MAINTAINER= infofarmer@FreeBSD.org
+COMMENT= Network traffic viewer
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --mandir=${MANPREFIX}/man
+MAN1= ${PORTNAME}.1
+PLIST_FILES= bin/${PORTNAME}
+
+post-patch:
+ @${REINPLACE_CMD} '/struct arphdr/d' ${WRKSRC}/ether.c
+ @${REINPLACE_CMD} -e 's/IPPORT_USERRESERVED/IPPORT_RESERVED/' ${WRKSRC}/tcp.c
+
+.include <bsd.port.mk>
diff --git a/net-mgmt/pktstat/distinfo b/net-mgmt/pktstat/distinfo
new file mode 100644
index 000000000000..0ae641c2df11
--- /dev/null
+++ b/net-mgmt/pktstat/distinfo
@@ -0,0 +1,3 @@
+MD5 (pktstat-1.8.3.tar.gz) = fc2cea3ddf9e4d3bf5813beeeaa2c582
+SHA256 (pktstat-1.8.3.tar.gz) = c786eb9c9499e419a0f0a0fd8d35dc59df075e4ef36ad0b507a0e57e5cd75fcf
+SIZE (pktstat-1.8.3.tar.gz) = 118802
diff --git a/net-mgmt/pktstat/pkg-descr b/net-mgmt/pktstat/pkg-descr
new file mode 100644
index 000000000000..2274773e8a21
--- /dev/null
+++ b/net-mgmt/pktstat/pkg-descr
@@ -0,0 +1,7 @@
+Pktstat listens to the network and shows the bandwidth being consumed
+by packets of various kinds in realtime. It understands some protocols
+(including FTP, HTTP, and X11) and adds a descriptive name next to the
+entry.
+
+WWW: http://www.adaptive-enterprises.com.au/~d/software/pktstat/
+Author: David Leonard <leonard at users.sourceforge.net>