- Revive net-mgmt/pktstat

- Update to 1.8.5
- Use new upstream addresses
- Add LICENSE
- Pass maintainership to submitter

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: https://github.com/dleonard0/pktstat

PR:		200418
Submitted by:	freebsd@sosend.de
This commit is contained in:
Dmitry Marakasov 2015-05-31 14:03:57 +00:00
parent 2917ad2897
commit 56795aeb8f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=388091
5 changed files with 38 additions and 1 deletions

1
MOVED
View file

@ -1891,7 +1891,6 @@ net-mgmt/asused||2011-05-02|Has expired: Upstream disappeared and distfile is no
net-mgmt/ipsectrace||2011-05-02|Has expired: Upstream disappeared and distfile is no longer available
net-mgmt/knowlan||2011-05-02|Has expired: Upstream disappeared and distfile is no longer available
net-mgmt/p5-Altoids||2011-05-02|Has expired: Upstream disappeared and distfile is no longer available
net-mgmt/pktstat||2011-05-02|Has expired: Upstream disappeared and distfile is no longer available
net-mgmt/scotty3||2011-05-02|Has expired: Upstream disappeared and distfile is no longer available
net-im/aim||2011-05-02|Has expired: Upstream disappeared and distfile is no longer available
net-im/jit||2011-05-02|Has expired: Upstream disappeared and distfile is no longer available

View file

@ -252,6 +252,7 @@
SUBDIR += phpipam
SUBDIR += phpweathermap
SUBDIR += pixilate
SUBDIR += pktstat
SUBDIR += pmacct
SUBDIR += pnp
SUBDIR += pnp-icinga

29
net-mgmt/pktstat/Makefile Normal file
View file

@ -0,0 +1,29 @@
# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
# $FreeBSD$
PORTNAME= pktstat
PORTVERSION= 1.8.5
DISTVERSIONPREFIX= v
CATEGORIES= net-mgmt
MAINTAINER= freebsd@sosend.de
COMMENT= Network traffic viewer
LICENSE= PUBLIC_DOMAIN
LICENSE_NAME= Public Domain
LICENSE_TEXT= The principal author has placed the entire work (source) in the public domain, thus choosing to not exercise copyright control over it.
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
USE_GITHUB= yes
GH_ACCOUNT= dleonard0
USES= autoreconf
GNU_CONFIGURE= yes
PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
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,2 @@
SHA256 (dleonard0-pktstat-v1.8.5_GH0.tar.gz) = 9a365668d9c5d22484702a858ad1892ae6c7b904b5d0bc9ae075bd88a145b9cd
SIZE (dleonard0-pktstat-v1.8.5_GH0.tar.gz) = 41971

View file

@ -0,0 +1,6 @@
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: https://github.com/dleonard0/pktstat