aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-05-31 22:03:57 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-05-31 22:03:57 +0800
commit69ca2147323a2d6355b631fe8b917fda01b60837 (patch)
tree2eda00b41d198c79fc753ae15501f704bc2a9cae
parent3e13261d10b484a6052e9f80a6fe9bbe0bc8d774 (diff)
downloadfreebsd-ports-gnome-69ca2147323a2d6355b631fe8b917fda01b60837.tar.gz
freebsd-ports-gnome-69ca2147323a2d6355b631fe8b917fda01b60837.tar.zst
freebsd-ports-gnome-69ca2147323a2d6355b631fe8b917fda01b60837.zip
- 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
-rw-r--r--MOVED1
-rw-r--r--net-mgmt/Makefile1
-rw-r--r--net-mgmt/pktstat/Makefile29
-rw-r--r--net-mgmt/pktstat/distinfo2
-rw-r--r--net-mgmt/pktstat/pkg-descr6
5 files changed, 38 insertions, 1 deletions
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 <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>
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