diff --git a/net-mgmt/Makefile b/net-mgmt/Makefile index 06bb35afb94c..b0f0c9653268 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 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 +# +# $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 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