BSD Ports

net-mgmt/p5-Data-Validate-IP 0.31 MidnightBSD

Common data validation methods for IPs

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
artistic, gpl
Categories
net-mgmt, perl5

Description

This module collects IP validation routines to make input validation, and untainting easier and more readable.

All functions return an untainted value if the test passes, and undef if it fails. This means that you should always check for a defined status explicitly. Don't assume the return will be true. (e.g. is_username('0'))

The value to test is always the first (and often only) argument.

In the other systems

The newest version among them is 0.31, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
MidnightBSDnet-mgmt/p5-Data-Validate-IP0.31 newestno data-[email protected]-
FreeBSDnet-mgmt/p5-Data-Validate-IP0.27none known-[email protected]-
OpenBSDdevel/p5-Data-Validate-IP by name0.31 newestno data-Alexander Bluhm <[email protected]>-
NetBSDdevel/p5-Data-Validate-IP by name0.31nb4 newestnone known-[email protected]2026-07-16
DragonFlynet-mgmt/p5-Data-Validate-IP0.27none known-[email protected]-
HardenedBSDnet-mgmt/p5-Data-Validate-IP0.27no data-[email protected]-
GhostBSDnet-mgmt/p5-Data-Validate-IP0.27no data-[email protected]-
OPNsensenet-mgmt/p5-Data-Validate-IP0.27no data-[email protected]-

Compare across BSDs

Install

Binary package:

mport install p5-Data-Validate-IP

From mports:

cd /usr/mports/net-mgmt/p5-Data-Validate-IP && make install clean

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

RUN_DEPENDS=	p5-Data-Validate-IP>0:net-mgmt/p5-Data-Validate-IP

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

As this port's Makefile names them.

Build 1

Runtime 1

Test 2

Build dependencies 1
Run dependencies 1

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 2
  • %%SITE_PERL%%/Data/Validate/IP.pm
  • %%PERL5_MAN3%%/Data::Validate::IP.3.gz
distinfo 1
FileSizeSHA256
Data-Validate-IP-0.31.tar.gz43477734aff86b6f9cad40e1c4da81f28faf18e0802c76a566d95e5613d4318182fc1
Master sites 1
  • CPAN