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

This sorts a array of Net::Connection objects.

Currently the methods below are supported.

 * host_f - Host foreign
 * host_fl - Host, foreign then local
 * host_l - Host, local
 * host_lf - Host, local then foreign
 * pid - Process ID
 * port_f - Port, foreign, numeric
 * port_fa - Port, foreign, alpha
 * port_l - Port, local, numeric
 * port_la - Port, local, alpha
 * proto - Network connection protocol
 * ptr_f - PTR, foreign
 * ptr_l - PTR, local
 * state - Connection
 * uid - User ID
 * user - Username

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

PR:		253409
Submitted by:	Zane C. Bowers-Hadley <vvelox@vvelox.net>
This commit is contained in:
Steve Wills 2021-02-27 00:06:14 +00:00
parent 21e31e8603
commit 027c6a1bdb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=566646
4 changed files with 80 additions and 0 deletions

View File

@ -0,0 +1,24 @@
# Created by: Zane C. Bowers-Hadley <vvelox@vvelox.net>
# $FreeBSD$
PORTNAME= Net-Connection-Sort
PORTVERSION= 0.0.1
CATEGORIES= net perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:VVELOX
PKGNAMEPREFIX= p5-
MAINTAINER= vvelox@vvelox.net
COMMENT= Sorts array of Net::Connection objects
LICENSE= ART10 GPLv1+
LICENSE_COMB= dual
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= p5-Net-IP>=1.26:net-mgmt/p5-Net-IP \
p5-Net-Connection>=0.0.1:net/p5-Net-Connection
USES= perl5
USE_PERL5= configure
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1612955125
SHA256 (Net-Connection-Sort-0.0.1.tar.gz) = afb67118f3d46757741eb1c26aa1ad80bcbce89a42082fc1c670d0e2ad82162d
SIZE (Net-Connection-Sort-0.0.1.tar.gz) = 9929

View File

@ -0,0 +1,21 @@
This sorts a array of Net::Connection objects.
Currently the methods below are supported.
* host_f - Host foreign
* host_fl - Host, foreign then local
* host_l - Host, local
* host_lf - Host, local then foreign
* pid - Process ID
* port_f - Port, foreign, numeric
* port_fa - Port, foreign, alpha
* port_l - Port, local, numeric
* port_la - Port, local, alpha
* proto - Network connection protocol
* ptr_f - PTR, foreign
* ptr_l - PTR, local
* state - Connection
* uid - User ID
* user - Username
WWW: https://metacpan.org/release/Net-Connection-Sort

View File

@ -0,0 +1,32 @@
%%SITE_PERL%%/Net/Connection/Sort.pm
%%SITE_PERL%%/Net/Connection/Sort/host_f.pm
%%SITE_PERL%%/Net/Connection/Sort/host_fl.pm
%%SITE_PERL%%/Net/Connection/Sort/host_l.pm
%%SITE_PERL%%/Net/Connection/Sort/host_lf.pm
%%SITE_PERL%%/Net/Connection/Sort/pid.pm
%%SITE_PERL%%/Net/Connection/Sort/port_f.pm
%%SITE_PERL%%/Net/Connection/Sort/port_fa.pm
%%SITE_PERL%%/Net/Connection/Sort/port_l.pm
%%SITE_PERL%%/Net/Connection/Sort/port_la.pm
%%SITE_PERL%%/Net/Connection/Sort/proto.pm
%%SITE_PERL%%/Net/Connection/Sort/ptr_f.pm
%%SITE_PERL%%/Net/Connection/Sort/ptr_l.pm
%%SITE_PERL%%/Net/Connection/Sort/state.pm
%%SITE_PERL%%/Net/Connection/Sort/uid.pm
%%SITE_PERL%%/Net/Connection/Sort/user.pm
%%PERL5_MAN3%%/Net::Connection::Sort.3.gz
%%PERL5_MAN3%%/Net::Connection::Sort::host_f.3.gz
%%PERL5_MAN3%%/Net::Connection::Sort::host_fl.3.gz
%%PERL5_MAN3%%/Net::Connection::Sort::host_l.3.gz
%%PERL5_MAN3%%/Net::Connection::Sort::host_lf.3.gz
%%PERL5_MAN3%%/Net::Connection::Sort::pid.3.gz
%%PERL5_MAN3%%/Net::Connection::Sort::port_f.3.gz
%%PERL5_MAN3%%/Net::Connection::Sort::port_fa.3.gz
%%PERL5_MAN3%%/Net::Connection::Sort::port_l.3.gz
%%PERL5_MAN3%%/Net::Connection::Sort::port_la.3.gz
%%PERL5_MAN3%%/Net::Connection::Sort::proto.3.gz
%%PERL5_MAN3%%/Net::Connection::Sort::ptr_f.3.gz
%%PERL5_MAN3%%/Net::Connection::Sort::ptr_l.3.gz
%%PERL5_MAN3%%/Net::Connection::Sort::state.3.gz
%%PERL5_MAN3%%/Net::Connection::Sort::uid.3.gz
%%PERL5_MAN3%%/Net::Connection::Sort::user.3.gz