Initial import of pktstat 1.7.2q
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.
This commit is contained in:
parent
f6f52f23ed
commit
189285868c
29
net/pktstat/Makefile
Normal file
29
net/pktstat/Makefile
Normal file
@ -0,0 +1,29 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2003/08/02 15:35:21 couderc Exp $
|
||||
|
||||
COMMENT= "network traffic viewer"
|
||||
|
||||
VERSION= 1.7.2q
|
||||
DISTNAME= pktstat-${VERSION}
|
||||
CATEGORIES= net
|
||||
|
||||
HOMEPAGE= http://www.itee.uq.edu.au/~leonard/personal/software/
|
||||
|
||||
MAINTAINER= Damien Couderc <couderc@openbsd.org>
|
||||
|
||||
# Public Domain
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MASTER_SITES= ${HOMEPAGE}
|
||||
|
||||
MAKE_FILE= BSDmakefile
|
||||
|
||||
MAKE_ENV= CC="${CC}" CFLAGS="${CFLAGS}"
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/pktstat ${PREFIX}/sbin
|
||||
${INSTALL_DATA} ${WRKSRC}/pktstat.1 ${PREFIX}/man/man1
|
||||
|
||||
.include <bsd.port.mk>
|
3
net/pktstat/distinfo
Normal file
3
net/pktstat/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (pktstat-1.7.2q.tar.gz) = 17624436901336029dd41b62892ca176
|
||||
RMD160 (pktstat-1.7.2q.tar.gz) = 1f5480bb4e274e17d46ab7e081142d4bfc5609bf
|
||||
SHA1 (pktstat-1.7.2q.tar.gz) = 1b6000e192d1ecb8ea325a0530f4343fff31e93e
|
9
net/pktstat/patches/patch-Makefile
Normal file
9
net/pktstat/patches/patch-Makefile
Normal file
@ -0,0 +1,9 @@
|
||||
$OpenBSD: patch-Makefile,v 1.1.1.1 2003/08/02 15:35:21 couderc Exp $
|
||||
--- Makefile.orig Sat Jul 26 12:08:37 2003
|
||||
+++ Makefile Sat Jul 26 12:08:45 2003
|
||||
@@ -15,4 +15,4 @@ SRCS+= ip6.c ipx.c
|
||||
SRCS+= tcp_http.c tcp_x11.c tcp_sup.c
|
||||
HDRS+= tcp.h machendian.h
|
||||
LDADD= -lpcap -lcurses -lm
|
||||
-CFLAGS= -ggdb
|
||||
+#CFLAGS= -ggdb
|
12
net/pktstat/patches/patch-display_c
Normal file
12
net/pktstat/patches/patch-display_c
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-display_c,v 1.1.1.1 2003/08/02 15:35:21 couderc Exp $
|
||||
--- display.c.orig 2003-07-26 13:55:22.000000000 +0200
|
||||
+++ display.c 2003-07-26 13:55:41.000000000 +0200
|
||||
@@ -5,6 +5,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <curses.h>
|
||||
#include <stdarg.h>
|
||||
+#include <string.h>
|
||||
#include <math.h>
|
||||
#include <err.h>
|
||||
#include <time.h>
|
||||
|
12
net/pktstat/patches/patch-ether_c
Normal file
12
net/pktstat/patches/patch-ether_c
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-ether_c,v 1.1.1.1 2003/08/02 15:35:21 couderc Exp $
|
||||
--- ether.c.orig 2003-07-26 13:55:47.000000000 +0200
|
||||
+++ ether.c 2003-07-26 13:56:03.000000000 +0200
|
||||
@@ -2,6 +2,7 @@
|
||||
/* $Id: patch-ether_c,v 1.1.1.1 2003/08/02 15:35:21 couderc Exp $ */
|
||||
|
||||
#include <stdio.h>
|
||||
+#include <string.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/param.h>
|
||||
|
12
net/pktstat/patches/patch-ipx_c
Normal file
12
net/pktstat/patches/patch-ipx_c
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-ipx_c,v 1.1.1.1 2003/08/02 15:35:21 couderc Exp $
|
||||
--- ipx.c.orig 2003-07-26 13:56:09.000000000 +0200
|
||||
+++ ipx.c 2003-07-26 13:56:19.000000000 +0200
|
||||
@@ -2,6 +2,7 @@
|
||||
/* $Id: patch-ipx_c,v 1.1.1.1 2003/08/02 15:35:21 couderc Exp $ */
|
||||
|
||||
#include <stdio.h>
|
||||
+#include <string.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/param.h>
|
||||
|
12
net/pktstat/patches/patch-main_c
Normal file
12
net/pktstat/patches/patch-main_c
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-main_c,v 1.1.1.1 2003/08/02 15:35:21 couderc Exp $
|
||||
--- main.c.orig 2003-07-26 13:55:00.000000000 +0200
|
||||
+++ main.c 2003-07-26 13:55:16.000000000 +0200
|
||||
@@ -4,6 +4,7 @@
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
#include <stdlib.h>
|
||||
+#include <string.h>
|
||||
#include <err.h>
|
||||
#include <errno.h>
|
||||
#include <pcap.h>
|
||||
|
4
net/pktstat/pkg/DESCR
Normal file
4
net/pktstat/pkg/DESCR
Normal file
@ -0,0 +1,4 @@
|
||||
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.
|
3
net/pktstat/pkg/PLIST
Normal file
3
net/pktstat/pkg/PLIST
Normal file
@ -0,0 +1,3 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2003/08/02 15:35:21 couderc Exp $
|
||||
man/man1/pktstat.1
|
||||
sbin/pktstat
|
Loading…
Reference in New Issue
Block a user