1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00

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

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

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

View File

@ -0,0 +1,27 @@
# Created by: Zane C. Bowers-Hadley <vvelox@vvelox.net>
# $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 <bsd.port.mk>

View File

@ -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

View File

@ -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

View File

@ -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