From 56795aeb8fb8fdf7c6e92feebb9c2b418f788a43 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Sun, 31 May 2015 14:03:57 +0000 Subject: [PATCH] - 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 --- MOVED | 1 - net-mgmt/Makefile | 1 + net-mgmt/pktstat/Makefile | 29 +++++++++++++++++++++++++++++ net-mgmt/pktstat/distinfo | 2 ++ net-mgmt/pktstat/pkg-descr | 6 ++++++ 5 files changed, 38 insertions(+), 1 deletion(-) create mode 100644 net-mgmt/pktstat/Makefile create mode 100644 net-mgmt/pktstat/distinfo create mode 100644 net-mgmt/pktstat/pkg-descr diff --git a/MOVED b/MOVED index ac5c552e08bd..c7d85b4743c2 100644 --- a/MOVED +++ b/MOVED @@ -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 diff --git a/net-mgmt/Makefile b/net-mgmt/Makefile index 449320eb248f..3ca3c88a7734 100644 --- a/net-mgmt/Makefile +++ b/net-mgmt/Makefile @@ -252,6 +252,7 @@ SUBDIR += phpipam SUBDIR += phpweathermap SUBDIR += pixilate + SUBDIR += pktstat SUBDIR += pmacct SUBDIR += pnp SUBDIR += pnp-icinga diff --git a/net-mgmt/pktstat/Makefile b/net-mgmt/pktstat/Makefile new file mode 100644 index 000000000000..b2a0f7356e7f --- /dev/null +++ b/net-mgmt/pktstat/Makefile @@ -0,0 +1,29 @@ +# Created by: Andrew Pantyukhin +# $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 diff --git a/net-mgmt/pktstat/distinfo b/net-mgmt/pktstat/distinfo new file mode 100644 index 000000000000..0c3a47732b95 --- /dev/null +++ b/net-mgmt/pktstat/distinfo @@ -0,0 +1,2 @@ +SHA256 (dleonard0-pktstat-v1.8.5_GH0.tar.gz) = 9a365668d9c5d22484702a858ad1892ae6c7b904b5d0bc9ae075bd88a145b9cd +SIZE (dleonard0-pktstat-v1.8.5_GH0.tar.gz) = 41971 diff --git a/net-mgmt/pktstat/pkg-descr b/net-mgmt/pktstat/pkg-descr new file mode 100644 index 000000000000..8f4df46879b5 --- /dev/null +++ b/net-mgmt/pktstat/pkg-descr @@ -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