textproc/p5-Validator-Custom 1.0201 FreeBSD
Validator::Custom for simple data validation
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- ART10, GPLv1+
- Categories
- textproc, perl5
- Package size
- 46.4 KiB, 121.7 KiB installed
Description
Validator::Custom validate HTML form data easy and flexibly. The features are the following ones.
- Many constraint functions are available by default, such as not_blank, int, defined, in_array, length.
- Several filter functions are available by default, such as trim, datetime_to_timepiece, date_to_timepiece.
- You can register your constraint function.
- You can set error messages for invalid parameter value. The order of messages is keeped.
- Support OR condtion constraint and negativate constraint.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | textproc/p5-Validator-Custom | 1.0201 |
| DragonFly | textproc/p5-Validator-Custom | 1.0201 |
Install
Binary package:
pkg install p5-Validator-Custom
From the ports tree:
cd /usr/ports/textproc/p5-Validator-Custom/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-Validator-Custom>0:textproc/p5-Validator-Custom
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 | 1.0201 | 1.0201 | 1.0201 | 1.0201 | 1.0201 |
| FreeBSD:14:quarterly | 1.0201 | 1.0201 | n/a | 1.0201 | 1.0201 |
| FreeBSD:15:latest | 1.0201 | 1.0201 | n/a | 1.0201 | 1.0201 |
| FreeBSD:15:quarterly | 1.0201 | 1.0201 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.0201 | 1.0201 | 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-Object-Simple>=3.0621: devel/p5-Object-Simple
Runtime 1
p5-Object-Simple>=3.0621: devel/p5-Object-Simple
Test 2
p5-JSON>=2: converters/p5-JSONp5-Test-Pod>=1.22: devel/p5-Test-Pod
The full lists below include those, and their dependencies in turn.
Build dependencies 2
Run dependencies 2
No port depends on this one.
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 18
- %%SITE_PERL%%/Validator/Custom.pm
- %%SITE_PERL%%/Validator/Custom/CheckFunction.pm
- %%SITE_PERL%%/Validator/Custom/Constraint.pm
- %%SITE_PERL%%/Validator/Custom/Constraints.pm
- %%SITE_PERL%%/Validator/Custom/Document/Version0.pod
- %%SITE_PERL%%/Validator/Custom/FilterFunction.pm
- %%SITE_PERL%%/Validator/Custom/Result.pm
- %%SITE_PERL%%/Validator/Custom/Rule.pm
- %%SITE_PERL%%/Validator/Custom/Validation.pm
- %%PERL5_MAN3%%/Validator::Custom.3.gz
- %%PERL5_MAN3%%/Validator::Custom::CheckFunction.3.gz
- %%PERL5_MAN3%%/Validator::Custom::Constraint.3.gz
- %%PERL5_MAN3%%/Validator::Custom::Constraints.3.gz
- %%PERL5_MAN3%%/Validator::Custom::Document::Version0.3.gz
- %%PERL5_MAN3%%/Validator::Custom::FilterFunction.3.gz
- %%PERL5_MAN3%%/Validator::Custom::Result.3.gz
- %%PERL5_MAN3%%/Validator::Custom::Rule.3.gz
- %%PERL5_MAN3%%/Validator::Custom::Validation.3.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| Validator-Custom-1.0201.tar.gz | 38762 | 8cf4e0d7529ad747992ca9159d7acd769884b5e97b4c6c72de637a79a241d81f |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.