BSD Ports

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

SystemPortVersion
NetBSDdevel/p5-Net-Netmask2.0002nb3
FreeBSDnet-mgmt/p5-Net-Netmask2.0003
OpenBSDnet/p5-Net-Netmask2.0003
DragonFlynet-mgmt/p5-Net-Netmask2.0002
MidnightBSDnet-mgmt/p5-Net-Netmask2.0003
HardenedBSDnet-mgmt/p5-Net-Netmask2.0003
GhostBSDnet-mgmt/p5-Net-Netmask2.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.

RepositoryVersion
NetBSD 10.1 x86_642.0002nb3
NetBSD 10.1 aarch642.0002nb2
SmartOS / illumos x86_642.0002nb3
macOS 15 arm642.0002nb3

Dependencies

Run dependencies 1
Required by 1

Commit history 1

DateCommitCreditsLog message
618415630a wiz *: recursive bump for perl5 5.44.0