summaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorsat <sat@FreeBSD.org>2007-04-05 07:51:52 +0000
committersat <sat@FreeBSD.org>2007-04-05 07:51:52 +0000
commit40adc172e226209433b52290235f8e8359c502db (patch)
treefad559be2fbfb3582138ad5827588e353e0ac4bf /net-mgmt
parentad5f93cfd24717d84ee4a2c11b6e57e626c9f1a5 (diff)
downloadFreeBSD-ports-40adc172e226209433b52290235f8e8359c502db.zip
FreeBSD-ports-40adc172e226209433b52290235f8e8359c502db.tar.gz
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
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/Makefile1
-rw-r--r--net-mgmt/pktstat/Makefile25
-rw-r--r--net-mgmt/pktstat/distinfo3
-rw-r--r--net-mgmt/pktstat/pkg-descr7
4 files changed, 36 insertions, 0 deletions
diff --git a/net-mgmt/Makefile b/net-mgmt/Makefile
index 06bb35a..b0f0c96 100644
--- a/net-mgmt/Makefile
+++ b/net-mgmt/Makefile
@@ -173,6 +173,7 @@
SUBDIR += php5-snmp
SUBDIR += phpip
SUBDIR += pixilate
+ SUBDIR += pktstat
SUBDIR += pmacct
SUBDIR += portmon
SUBDIR += py-flowtools
diff --git a/net-mgmt/pktstat/Makefile b/net-mgmt/pktstat/Makefile
new file mode 100644
index 0000000..926aaba
--- /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 0000000..0ae641c
--- /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 0000000..2274773
--- /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>
OpenPOWER on IntegriCloud