Add p5-Net-IP-Match-Regexp 0.94, efficiently match IP addresses against
IP ranges via regexp. PR: ports/102017 Submitted by: Timur I. Bakeyev <bat at cpan.org>
This commit is contained in:
parent
a2182329e7
commit
6828029d40
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=170669
5 changed files with 51 additions and 0 deletions
|
@ -132,6 +132,7 @@
|
|||
SUBDIR += p5-NSNMP
|
||||
SUBDIR += p5-Net-CIDR
|
||||
SUBDIR += p5-Net-IP
|
||||
SUBDIR += p5-Net-IP-Match-Regexp
|
||||
SUBDIR += p5-Net-IP-Match-XS
|
||||
SUBDIR += p5-Net-IP-Resolver
|
||||
SUBDIR += p5-Net-IPv4Addr
|
||||
|
|
31
net-mgmt/p5-Net-IP-Match-Regexp/Makefile
Normal file
31
net-mgmt/p5-Net-IP-Match-Regexp/Makefile
Normal file
|
@ -0,0 +1,31 @@
|
|||
# New ports collection makefile for: net-mgmt/p5-Net-IP-Match-Regexp
|
||||
# Date created: 1 Aug 2006
|
||||
# Whom: Timur I. Bakeyev <bat@cpan.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= Net-IP-Match-Regexp
|
||||
PORTVERSION= 0.94
|
||||
CATEGORIES= net-mgmt perl5
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
||||
MASTER_SITE_SUBDIR= Net
|
||||
PKGNAMEPREFIX= p5-
|
||||
EXTRACT_SUFX= .tgz
|
||||
|
||||
MAINTAINER= bat@cpan.org
|
||||
COMMENT= Efficiently match IP addresses against IP ranges via regexp
|
||||
|
||||
BUILD_DEPENDS= ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
|
||||
|
||||
PERL_MODBUILD= yes
|
||||
|
||||
MAN3= Net::IP::Match::Regexp.3
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${PERL_LEVEL} < 500600
|
||||
IGNORE= requires perl 5.6.0 or later. Install lang/perl5.8 and try again
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
3
net-mgmt/p5-Net-IP-Match-Regexp/distinfo
Normal file
3
net-mgmt/p5-Net-IP-Match-Regexp/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
MD5 (Net-IP-Match-Regexp-0.94.tgz) = be72946b8fc39c641b8b1842d4036b06
|
||||
SHA256 (Net-IP-Match-Regexp-0.94.tgz) = 3400e10d232d277b85ba6c0173896f21552a6eb43630c782c4dde908231a0939
|
||||
SIZE (Net-IP-Match-Regexp-0.94.tgz) = 20116
|
12
net-mgmt/p5-Net-IP-Match-Regexp/pkg-descr
Normal file
12
net-mgmt/p5-Net-IP-Match-Regexp/pkg-descr
Normal file
|
@ -0,0 +1,12 @@
|
|||
Net::IP::Match::Regexp allows you to check an IP address against one or
|
||||
more IP ranges. It employs Perl's highly optimized regular expression
|
||||
engine to do the hard work, so it is very fast. It is optimized for
|
||||
speed by doing the match against a regexp which implicitly checks the
|
||||
broadest IP ranges first. An advantage is that the regexp can be
|
||||
computed and stored in advance (in source code, in a database table,
|
||||
etc) and reused, saving much time if the IP ranges don't change too
|
||||
often. The match can optionally report a value (e.g. a network name)
|
||||
instead of just a boolean, which makes module useful for mapping IP
|
||||
ranges to names or codes or anything else.
|
||||
|
||||
WWW: http://search.cpan.org/dist/Net-IP-Match-Regexp/
|
4
net-mgmt/p5-Net-IP-Match-Regexp/pkg-plist
Normal file
4
net-mgmt/p5-Net-IP-Match-Regexp/pkg-plist
Normal file
|
@ -0,0 +1,4 @@
|
|||
%%SITE_PERL%%/Net/IP/Match/Regexp.pm
|
||||
@dirrmtry %%SITE_PERL%%/Net/IP/Match
|
||||
@dirrmtry %%SITE_PERL%%/Net/IP
|
||||
@dirrmtry %%SITE_PERL%%/Net
|
Loading…
Reference in a new issue