BSD Ports

net-mgmt/p5-Net-IPAddress 1.10_1 FreeBSD

Perl functions used to manipulate IP addresses, masks and FQDN's

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

Description

Net::IPAddr is a collection of helpful functions used to convert IP addresses to/from 32-bit integers, applying subnet masks to IP addresses, validating IP address strings, and splitting a FQDN into its host and domain parts.

No rocket science here, but I have found these functions to very, very handy. For example, have you ever tried to sort a list of IP addresses only to find out that they don't sort the way you expected? Here is the solution! If you convert the IP addresses to 32-bit integer addresses, they will sort in correct order.

In the other systems

SystemPortVersion
FreeBSDnet-mgmt/p5-Net-IPAddress1.10_1
DragonFlynet-mgmt/p5-Net-IPAddress1.10_1

Install

Binary package:

pkg install p5-Net-IPAddress

From the ports tree:

cd /usr/ports/net-mgmt/p5-Net-IPAddress/ && make install clean

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

RUN_DEPENDS=	p5-Net-IPAddress>0:net-mgmt/p5-Net-IPAddress

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.10_11.10_11.10_11.10_11.10_1
FreeBSD:14:quarterly1.10_11.10_1n/a1.10_11.10_1
FreeBSD:15:latest1.10_11.10_1n/a1.10_11.10_1
FreeBSD:15:quarterly1.10_11.10_1n/an/an/a
FreeBSD:16:latest1.10_11.10_1n/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

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 2
  • %%SITE_PERL%%/Net/IPAddress.pm
  • %%PERL5_MAN3%%/Net::IPAddress.3.gz
distinfo 1
FileSizeSHA256
Net-IPAddress-1.10.tar.gz3024881308d2db0dc0f94434816d5e23b15e2da43c999283dc24e9ef55eb515b7b5e
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.