1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

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
This commit is contained in:
Andrew Pantyukhin 2007-04-05 07:51:52 +00:00
parent f416b16374
commit e4c03bc5da
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=189255
4 changed files with 36 additions and 0 deletions

View File

@ -173,6 +173,7 @@
SUBDIR += php5-snmp
SUBDIR += phpip
SUBDIR += pixilate
SUBDIR += pktstat
SUBDIR += pmacct
SUBDIR += portmon
SUBDIR += py-flowtools

25
net-mgmt/pktstat/Makefile Normal file
View File

@ -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>

View File

@ -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

View File

@ -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>