BSD Ports

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

SystemPortVersion
FreeBSDnet/p5-Net-Patricia1.24
OpenBSDnet/p5-Net-Patricia1.24
NetBSDnet/p5-Net-Patricia1.22nb9
DragonFlynet/p5-Net-Patricia1.22_1
HardenedBSDnet/p5-Net-Patricia1.24
GhostBSDnet/p5-Net-Patricia1.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.241.241.22_11.23_11.24
FreeBSD:14:quarterly1.241.24n/a1.23_11.24
FreeBSD:15:latest1.241.24n/a1.23_11.23_1
FreeBSD:15:quarterly1.241.24n/an/an/a
FreeBSD:16:latest1.241.24n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 2

Runtime 2

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

Build dependencies 3
Run dependencies 3

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
FileSizeSHA256
Net-Patricia-1.24.tar.gz28370d94f520804e2541b1cd20e73366720a973caf5dd2d2623838fc8d6398afd7edb
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.