BSD Ports

net-mgmt/p5-Net-IP-Match-Regexp 1.01_2 FreeBSD

Efficiently match IP addresses against IP ranges via regexp

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Categories
net-mgmt, perl5
Package size
11.8 KiB, 20.4 KiB installed

Description

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.

In the other systems

SystemPortVersion
FreeBSDnet-mgmt/p5-Net-IP-Match-Regexp1.01_2
NetBSDwip/p5-Net-IP-Match-Regexp1.01
DragonFlynet-mgmt/p5-Net-IP-Match-Regexp1.01_2
HardenedBSDnet-mgmt/p5-Net-IP-Match-Regexp1.01_2
GhostBSDnet-mgmt/p5-Net-IP-Match-Regexp1.01_2

Install

Binary package:

pkg install p5-Net-IP-Match-Regexp

From the ports tree:

cd /usr/ports/net-mgmt/p5-Net-IP-Match-Regexp/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-Net-IP-Match-Regexp>0:net-mgmt/p5-Net-IP-Match-Regexp

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.01_21.01_21.01_21.01_21.01_2
FreeBSD:14:quarterly1.01_21.01_2n/a1.01_21.01_2
FreeBSD:15:latest1.01_21.01_2n/a1.01_21.01_2
FreeBSD:15:quarterly1.01_21.01_2n/an/an/a
FreeBSD:16:latest1.01_21.01_2n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 1
Run dependencies 1
Required by 1

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 2
  • %%SITE_PERL%%/Net/IP/Match/Regexp.pm
  • %%PERL5_MAN3%%/Net::IP::Match::Regexp.3.gz
distinfo 1
FileSizeSHA256
Net-IP-Match-Regexp-1.01.tar.gz1226527740eec1c4ce601bafcebe7d61ec77e83247b0a8ac81bbf12777cafdd1ca35e
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.