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
| System | Port | Version |
|---|---|---|
| FreeBSD | net-mgmt/p5-Net-IP-Match-Regexp | 1.01_2 |
| NetBSD | wip/p5-Net-IP-Match-Regexp | 1.01 |
| DragonFly | net-mgmt/p5-Net-IP-Match-Regexp | 1.01_2 |
| HardenedBSD | net-mgmt/p5-Net-IP-Match-Regexp | 1.01_2 |
| GhostBSD | net-mgmt/p5-Net-IP-Match-Regexp | 1.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.01_2 | 1.01_2 | 1.01_2 | 1.01_2 | 1.01_2 |
| FreeBSD:14:quarterly | 1.01_2 | 1.01_2 | n/a | 1.01_2 | 1.01_2 |
| FreeBSD:15:latest | 1.01_2 | 1.01_2 | n/a | 1.01_2 | 1.01_2 |
| FreeBSD:15:quarterly | 1.01_2 | 1.01_2 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.01_2 | 1.01_2 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/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
| File | Size | SHA256 |
|---|---|---|
| Net-IP-Match-Regexp-1.01.tar.gz | 12265 | 27740eec1c4ce601bafcebe7d61ec77e83247b0a8ac81bbf12777cafdd1ca35e |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.