net/p5-Net-Patricia 1.24 FreeBSD
Perl module for fast IP address lookups
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- GPLv2+
- Categories
- net, perl5
- Package size
- 28.8 KiB, 70.9 KiB installed
Description
This module uses a Patricia Trie data structure to quickly perform IP address prefix matching for applications such as IP subnet, network or routing table lookups. The data structure is based on a radix tree using a radix of two, so sometimes you see patricia implementations called "radix" as well. The term "Trie" is derived from the word "retrieval" but is pronounced like "try". Patricia stands for "Practical Algorithm to Retrieve Information Coded as Alphanumeric", and was first suggested for routing table lookups by Van Jacobsen. Patricia Trie performance characteristics are well-known as it has been employed for routing table lookups within the BSD kernel since the 4.3 Reno release.
The BSD radix code is thoroughly described in "TCP/IP Illustrated, Volume 2" by Wright and Stevens and in the paper ``A Tree-Based Packet Routing Table for Berkeley Unix'' by Keith Sklower.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | net/p5-Net-Patricia | 1.24 |
| OpenBSD | net/p5-Net-Patricia | 1.24 |
| NetBSD | net/p5-Net-Patricia | 1.22nb9 |
| DragonFly | net/p5-Net-Patricia | 1.22_1 |
| HardenedBSD | net/p5-Net-Patricia | 1.24 |
| GhostBSD | net/p5-Net-Patricia | 1.24 |
Install
Binary package:
pkg install p5-Net-Patricia
From the ports tree:
cd /usr/ports/net/p5-Net-Patricia/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-Net-Patricia>0:net/p5-Net-Patricia
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.24 | 1.24 | 1.22_1 | 1.23_1 | 1.24 |
| FreeBSD:14:quarterly | 1.24 | 1.24 | n/a | 1.23_1 | 1.24 |
| FreeBSD:15:latest | 1.24 | 1.24 | n/a | 1.23_1 | 1.23_1 |
| FreeBSD:15:quarterly | 1.24 | 1.24 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.24 | 1.24 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 2
p5-Net-CIDR-Lite>=0.20: net/p5-Net-CIDR-Litep5-Socket6>=0: net/p5-Socket6
Runtime 2
p5-Net-CIDR-Lite>=0.20: net/p5-Net-CIDR-Litep5-Socket6>=0: net/p5-Socket6
The full lists below include those, and their dependencies in turn.
Build dependencies 3
Run dependencies 3
Required by 1
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 3
- %%SITE_ARCH%%/Net/Patricia.pm
- %%SITE_ARCH%%/auto/Net/Patricia/Patricia.so
- %%PERL5_MAN3%%/Net::Patricia.3.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| Net-Patricia-1.24.tar.gz | 28370 | d94f520804e2541b1cd20e73366720a973caf5dd2d2623838fc8d6398afd7edb |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.