devel/p5-Net-Netmask 2.0002nb3 NetBSD
Perl5 module to parse and manipulate IP network blocks
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- Last update
- Commit
618415630a- License
- gnu-gpl-v2 OR artistic
- Categories
- devel, perl5
- Package size
- 17.6 KiB, 64.3 KiB installed
Description
Net::Netmask parses and understands IPv4 CIDR blocks. It's built with an object-oriented interface. Nearly all functions are methods that operate on a Net::Netmask object.
There are methods that provide the nearly all bits of information about a network block that you might want.
There are also functions to put a network block into a table and then later lookup network blocks by IP address in that table. There are functions to turn a IP address range into a list of CIDR blocks. There are functions to turn a list of CIDR blocks into a list of IP addresses.
There is a function for sorting by text IP address.
In the other systems
| System | Port | Version |
|---|---|---|
| NetBSD | devel/p5-Net-Netmask | 2.0002nb3 |
| FreeBSD | net-mgmt/p5-Net-Netmask | 2.0003 |
| OpenBSD | net/p5-Net-Netmask | 2.0003 |
| DragonFly | net-mgmt/p5-Net-Netmask | 2.0002 |
| MidnightBSD | net-mgmt/p5-Net-Netmask | 2.0003 |
| HardenedBSD | net-mgmt/p5-Net-Netmask | 2.0003 |
| GhostBSD | net-mgmt/p5-Net-Netmask | 2.0003 |
Install
Binary package:
pkgin install p5-Net-Netmask
From pkgsrc:
cd /usr/pkgsrc/devel/p5-Net-Netmask && make install clean
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 2.0002nb3 |
| NetBSD 10.1 aarch64 | 2.0002nb2 |
| SmartOS / illumos x86_64 | 2.0002nb3 |
| macOS 15 arm64 | 2.0002nb3 |