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.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| MidnightBSD | net-mgmt/p5-Data-Validate-IP | 0.31 newest | no data | - | [email protected] | - |
| FreeBSD | net-mgmt/p5-Data-Validate-IP | 0.27 | none known | - | [email protected] | - |
| OpenBSD | devel/p5-Data-Validate-IP by name | 0.31 newest | no data | - | Alexander Bluhm <[email protected]> | - |
| NetBSD | devel/p5-Data-Validate-IP by name | 0.31nb4 newest | none known | - | [email protected] | 2026-07-16 |
| DragonFly | net-mgmt/p5-Data-Validate-IP | 0.27 | none known | - | [email protected] | - |
| HardenedBSD | net-mgmt/p5-Data-Validate-IP | 0.27 | no data | - | [email protected] | - |
| GhostBSD | net-mgmt/p5-Data-Validate-IP | 0.27 | no data | - | [email protected] | - |
| OPNsense | net-mgmt/p5-Data-Validate-IP | 0.27 | no data | - | [email protected] | - |
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
p5-NetAddr-IP>=4: net-mgmt/p5-NetAddr-IP
Runtime 1
p5-NetAddr-IP>=4: net-mgmt/p5-NetAddr-IP
Test 2
p5-Test-Requires>=0: devel/p5-Test-Requiresp5-Test-Taint>=0: devel/p5-Test-Taint
Build dependencies 1
Run dependencies 1
Required by 3
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
| File | Size | SHA256 |
|---|---|---|
| Data-Validate-IP-0.31.tar.gz | 43477 | 734aff86b6f9cad40e1c4da81f28faf18e0802c76a566d95e5613d4318182fc1 |
Master sites 1
- CPAN