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
| System | Port | Version |
|---|---|---|
| FreeBSD | net-mgmt/p5-Net-IPAddress | 1.10_1 |
| DragonFly | net-mgmt/p5-Net-IPAddress | 1.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.10_1 | 1.10_1 | 1.10_1 | 1.10_1 | 1.10_1 |
| FreeBSD:14:quarterly | 1.10_1 | 1.10_1 | n/a | 1.10_1 | 1.10_1 |
| FreeBSD:15:latest | 1.10_1 | 1.10_1 | n/a | 1.10_1 | 1.10_1 |
| FreeBSD:15:quarterly | 1.10_1 | 1.10_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.10_1 | 1.10_1 | 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/IPAddress.pm
- %%PERL5_MAN3%%/Net::IPAddress.3.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| Net-IPAddress-1.10.tar.gz | 3024 | 881308d2db0dc0f94434816d5e23b15e2da43c999283dc24e9ef55eb515b7b5e |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.