diff --git a/net/p5-Net-Connection-Match/Makefile b/net/p5-Net-Connection-Match/Makefile new file mode 100644 index 000000000000..1f7279cc71e8 --- /dev/null +++ b/net/p5-Net-Connection-Match/Makefile @@ -0,0 +1,27 @@ +# Created by: Zane C. Bowers-Hadley +# $FreeBSD$ + +PORTNAME= Net-Connection-Match +PORTVERSION= 0.5.0 +CATEGORIES= net perl5 +MASTER_SITES= CPAN +MASTER_SITE_SUBDIR= CPAN:VVELOX +PKGNAMEPREFIX= p5- + +MAINTAINER= vvelox@vvelox.net +COMMENT= Runs a stack of checks to match Net::Connection objects + +LICENSE= ART10 GPLv1+ +LICENSE_COMB= dual + +BUILD_DEPENDS= ${RUN_DEPENDS} +RUN_DEPENDS= p5-Net-DNS>=1.20:dns/p5-Net-DNS \ + p5-Net-CIDR>=-0.20:net-mgmt/p5-Net-CIDR \ + p5-Net-Connection>=0.0.1:net/p5-Net-Connection \ + p5-Proc-ProcessTable>=0.59:devel/p5-Proc-ProcessTable \ + p5-Error-Helper>=1.0.0:devel/p5-Error-Helper + +USES= perl5 +USE_PERL5= configure + +.include diff --git a/net/p5-Net-Connection-Match/distinfo b/net/p5-Net-Connection-Match/distinfo new file mode 100644 index 000000000000..afc60a57bdb9 --- /dev/null +++ b/net/p5-Net-Connection-Match/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1613830696 +SHA256 (Net-Connection-Match-0.5.0.tar.gz) = f2fdeb1b10623e57c97178396b27a849ace0909b610f7c48dc83925d950da33b +SIZE (Net-Connection-Match-0.5.0.tar.gz) = 17033 diff --git a/net/p5-Net-Connection-Match/pkg-descr b/net/p5-Net-Connection-Match/pkg-descr new file mode 100644 index 000000000000..bed7a9ffa4f9 --- /dev/null +++ b/net/p5-Net-Connection-Match/pkg-descr @@ -0,0 +1,19 @@ +Provides a easy to use method for checking if a Net::Connection +object mathes a series of checks. + +Currently can do matching based off of the following. + + * CIDR + * Command + * PctCPU + * PctMem + * Ports + * Protocol + * State + * RegexPTR + * PTR + * UID + * Username + * WChan + +WWW: https://metacpan.org/release/Net-Connection-Match diff --git a/net/p5-Net-Connection-Match/pkg-plist b/net/p5-Net-Connection-Match/pkg-plist new file mode 100644 index 000000000000..ce1d97317c74 --- /dev/null +++ b/net/p5-Net-Connection-Match/pkg-plist @@ -0,0 +1,30 @@ +%%SITE_PERL%%/Net/Connection/Match.pm +%%SITE_PERL%%/Net/Connection/Match/All.pm +%%SITE_PERL%%/Net/Connection/Match/CIDR.pm +%%SITE_PERL%%/Net/Connection/Match/Command.pm +%%SITE_PERL%%/Net/Connection/Match/PID.pm +%%SITE_PERL%%/Net/Connection/Match/PTR.pm +%%SITE_PERL%%/Net/Connection/Match/PctCPU.pm +%%SITE_PERL%%/Net/Connection/Match/PctMem.pm +%%SITE_PERL%%/Net/Connection/Match/Ports.pm +%%SITE_PERL%%/Net/Connection/Match/Protos.pm +%%SITE_PERL%%/Net/Connection/Match/RegexPTR.pm +%%SITE_PERL%%/Net/Connection/Match/States.pm +%%SITE_PERL%%/Net/Connection/Match/UID.pm +%%SITE_PERL%%/Net/Connection/Match/Username.pm +%%SITE_PERL%%/Net/Connection/Match/WChan.pm +%%PERL5_MAN3%%/Net::Connection::Match.3.gz +%%PERL5_MAN3%%/Net::Connection::Match::All.3.gz +%%PERL5_MAN3%%/Net::Connection::Match::CIDR.3.gz +%%PERL5_MAN3%%/Net::Connection::Match::Command.3.gz +%%PERL5_MAN3%%/Net::Connection::Match::PID.3.gz +%%PERL5_MAN3%%/Net::Connection::Match::PTR.3.gz +%%PERL5_MAN3%%/Net::Connection::Match::PctCPU.3.gz +%%PERL5_MAN3%%/Net::Connection::Match::PctMem.3.gz +%%PERL5_MAN3%%/Net::Connection::Match::Ports.3.gz +%%PERL5_MAN3%%/Net::Connection::Match::Protos.3.gz +%%PERL5_MAN3%%/Net::Connection::Match::RegexPTR.3.gz +%%PERL5_MAN3%%/Net::Connection::Match::States.3.gz +%%PERL5_MAN3%%/Net::Connection::Match::UID.3.gz +%%PERL5_MAN3%%/Net::Connection::Match::Username.3.gz +%%PERL5_MAN3%%/Net::Connection::Match::WChan.3.gz