net/p5-Net-Connection-ncnetstat: create port

Provides a enhances colorized netstat like tool that is
capable of doing searches.

The search criteria can be any of the following.

 * CIDR
 * port
 * host
 * PTR
 * pctcpu
 * pctmem
 * Regex PTR
 * state
 * UID
 * username
 * wait channel

Among other unique features it can also display the full
command, PctMem, and PctCPU of the process with the connection.

WWW: https://metacpan.org/release/Net-Connection-ncnetstat

PR:		253410
Submitted by:	Zane C. Bowers-Hadley <vvelox@vvelox.net>
This commit is contained in:
Steve Wills 2021-02-27 00:06:36 +00:00
parent dac56b71d7
commit 571f0acd38
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=566648
4 changed files with 57 additions and 0 deletions

View File

@ -0,0 +1,30 @@
# Created by: Zane C. Bowers-Hadley <vvelox@vvelox.net>
# $FreeBSD$
PORTNAME= Net-Connection-ncnetstat
PORTVERSION= 0.7.1
CATEGORIES= net perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:VVELOX
PKGNAMEPREFIX= p5-
MAINTAINER= vvelox@vvelox.net
COMMENT= Netstat like utility that supports color and searching
LICENSE= ART10 GPLv1+
LICENSE_COMB= dual
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= p5-Net-Connection>=0.2.0:net/p5-Net-Connection \
p5-Net-Connection-Match>=0.5.0:net/p5-Net-Connection-Match \
p5-Net-Connection-Sort>=0.0.1:net/p5-Net-Connection-Sort \
p5-Term-ANSIColor>=4.06:devel/p5-Term-ANSIColor \
p5-Text-ANSITable>=0.601:textproc/p5-Text-ANSITable \
p5-Getopt-Long>=2.52:devel/p5-Getopt-Long \
p5-Data-Unixish>=1.570:devel/p5-Data-Unixish \
p5-Net-Connection-lsof>=0.2.0:net/p5-Net-Connection-lsof
USES= perl5 shebangfix
USE_PERL5= configure
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1613752616
SHA256 (Net-Connection-ncnetstat-0.7.1.tar.gz) = 72bd22a4abe88a9a75a65ce9311451931a4a23995733157ef19edbbc30993a66
SIZE (Net-Connection-ncnetstat-0.7.1.tar.gz) = 11171

View File

@ -0,0 +1,21 @@
Provides a enhances colorized netstat like tool that is
capable of doing searches.
The search criteria can be any of the following.
* CIDR
* port
* host
* PTR
* pctcpu
* pctmem
* Regex PTR
* state
* UID
* username
* wait channel
Among other unique features it can also display the full
command, PctMem, and PctCPU of the process with the connection.
WWW: https://metacpan.org/release/Net-Connection-ncnetstat

View File

@ -0,0 +1,3 @@
bin/ncnetstat
%%SITE_PERL%%/Net/Connection/ncnetstat.pm
%%PERL5_MAN3%%/Net::Connection::ncnetstat.3.gz