BSD Ports

net-mgmt/p5-Data-Validate-IP 0.27 FreeBSD

Common data validation methods for IPs

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
ART10, GPLv1+
Categories
net-mgmt, perl5
Package size
17.4 KiB, 65.6 KiB installed

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

SystemPortVersion
FreeBSDnet-mgmt/p5-Data-Validate-IP0.27
OpenBSDdevel/p5-Data-Validate-IP0.31
NetBSDdevel/p5-Data-Validate-IP0.31nb4
DragonFlynet-mgmt/p5-Data-Validate-IP0.27
MidnightBSDnet-mgmt/p5-Data-Validate-IP0.31

Install

Binary package:

pkg install p5-Data-Validate-IP

From the ports tree:

cd /usr/ports/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

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:latest0.270.270.270.270.27
FreeBSD:14:quarterly0.270.27n/a0.270.27
FreeBSD:15:latest0.270.27n/a0.270.27
FreeBSD:15:quarterly0.270.27n/an/an/a
FreeBSD:16:latest0.270.27n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

Runtime 1

Test 2

The full lists below include those, and their dependencies in turn.

Build dependencies 2
Run dependencies 2

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.27.tar.gz38139e1aa92235dcb9c6fd9b6c8cda184d1af73537cc77f4f83a0f88207a8bfbfb7d6
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.