ports/102017: [NEW PORT] net-mgmt/p5-Net-IP-Match-Regexp: Efficiently match IP addresses against IP ranges via regexp
Timur I. Bakeyev
timur at com.bat.ru
Mon Aug 14 15:30:18 UTC 2006
>Number: 102017
>Category: ports
>Synopsis: [NEW PORT] net-mgmt/p5-Net-IP-Match-Regexp: Efficiently match IP addresses against IP ranges via regexp
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Mon Aug 14 15:30:16 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Timur I. Bakeyev
>Release: FreeBSD 5.4-RELEASE
>Organization:
>Environment:
FreeBSD devil.blinck.com 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Tue Oct 18 10:05:03 CEST 2005 alexis at devil.blinck.com:/usr/src/sys/i386/compile/DEVIL i386
>Description:
New perl port.
>How-To-Repeat:
>Fix:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# p5-Net-IP-Match-Regexp
# p5-Net-IP-Match-Regexp/Makefile
# p5-Net-IP-Match-Regexp/distinfo
# p5-Net-IP-Match-Regexp/pkg-descr
# p5-Net-IP-Match-Regexp/pkg-plist
#
echo c - p5-Net-IP-Match-Regexp
mkdir -p p5-Net-IP-Match-Regexp > /dev/null 2>&1
echo x - p5-Net-IP-Match-Regexp/Makefile
sed 's/^X//' >p5-Net-IP-Match-Regexp/Makefile << 'END-of-p5-Net-IP-Match-Regexp/Makefile'
X# New ports collection makefile for: net-mgmt/p5-Net-IP-Match-Regexp
X# Date created: 1 Aug 2006
X# Whom: Timur I. Bakeyev <bat at cpan.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME= Net-IP-Match-Regexp
XPORTVERSION= 0.94
XCATEGORIES= net-mgmt perl5
XMASTER_SITES= ${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR= Net
XPKGNAMEPREFIX= p5-
XEXTRACT_SUFX= .tgz
X
XMAINTAINER= bat at cpan.org
XCOMMENT= Efficiently match IP addresses against IP ranges via regexp
X
XBUILD_DEPENDS= ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
X
XPERL_MODBUILD= yes
X
XMAN3= Net::IP::Match::Regexp.3
X
X.include <bsd.port.mk>
END-of-p5-Net-IP-Match-Regexp/Makefile
echo x - p5-Net-IP-Match-Regexp/distinfo
sed 's/^X//' >p5-Net-IP-Match-Regexp/distinfo << 'END-of-p5-Net-IP-Match-Regexp/distinfo'
XMD5 (Net-IP-Match-Regexp-0.94.tgz) = be72946b8fc39c641b8b1842d4036b06
XSIZE (Net-IP-Match-Regexp-0.94.tgz) = 20116
END-of-p5-Net-IP-Match-Regexp/distinfo
echo x - p5-Net-IP-Match-Regexp/pkg-descr
sed 's/^X//' >p5-Net-IP-Match-Regexp/pkg-descr << 'END-of-p5-Net-IP-Match-Regexp/pkg-descr'
XNet::IP::Match::Regexp allows you to check an IP address against one or
Xmore IP ranges. It employs Perl's highly optimized regular expression
Xengine to do the hard work, so it is very fast. It is optimized for
Xspeed by doing the match against a regexp which implicitly checks the
Xbroadest IP ranges first. An advantage is that the regexp can be
Xcomputed and stored in advance (in source code, in a database table,
Xetc) and reused, saving much time if the IP ranges don't change too
Xoften. The match can optionally report a value (e.g. a network name)
Xinstead of just a boolean, which makes module useful for mapping IP
Xranges to names or codes or anything else.
X
XWWW: http://search.cpan.org/dist/Net-IP-Match-Regexp/
END-of-p5-Net-IP-Match-Regexp/pkg-descr
echo x - p5-Net-IP-Match-Regexp/pkg-plist
sed 's/^X//' >p5-Net-IP-Match-Regexp/pkg-plist << 'END-of-p5-Net-IP-Match-Regexp/pkg-plist'
X%%SITE_PERL%%/Net/IP/Match/Regexp.pm
X at dirrmtry %%SITE_PERL%%/Net/IP/Match
X at dirrmtry %%SITE_PERL%%/Net/IP
X at dirrmtry %%SITE_PERL%%/Net
END-of-p5-Net-IP-Match-Regexp/pkg-plist
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list