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
| System | Port | Version |
|---|---|---|
| FreeBSD | net-mgmt/p5-Data-Validate-IP | 0.27 |
| OpenBSD | devel/p5-Data-Validate-IP | 0.31 |
| NetBSD | devel/p5-Data-Validate-IP | 0.31nb4 |
| DragonFly | net-mgmt/p5-Data-Validate-IP | 0.27 |
| MidnightBSD | net-mgmt/p5-Data-Validate-IP | 0.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.27 | 0.27 | 0.27 | 0.27 | 0.27 |
| FreeBSD:14:quarterly | 0.27 | 0.27 | n/a | 0.27 | 0.27 |
| FreeBSD:15:latest | 0.27 | 0.27 | n/a | 0.27 | 0.27 |
| FreeBSD:15:quarterly | 0.27 | 0.27 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.27 | 0.27 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
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
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
| File | Size | SHA256 |
|---|---|---|
| Data-Validate-IP-0.27.tar.gz | 38139 | e1aa92235dcb9c6fd9b6c8cda184d1af73537cc77f4f83a0f88207a8bfbfb7d6 |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.