This module collects common validation routines to make input validation,
and untainting easier and more readable. Most of the functions are not much shorter than their direct perl equivalent, but their names make it clear what you're trying to test for. WWW: http://search.cpan.org/~sonnen/Data-Validate-0.08/ PR: ports/115328 Submitted by: Steven Kreuzer <skreuzer at exit2shell.com>
This commit is contained in:
parent
58ee1c0567
commit
c922ba5227
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=198031
5 changed files with 58 additions and 0 deletions
|
@ -1030,6 +1030,7 @@
|
|||
SUBDIR += p5-Data-TreeDumper
|
||||
SUBDIR += p5-Data-Types
|
||||
SUBDIR += p5-Data-UUID
|
||||
SUBDIR += p5-Data-Validate
|
||||
SUBDIR += p5-Data-Visitor
|
||||
SUBDIR += p5-Date-Calc
|
||||
SUBDIR += p5-Date-DayOfWeek
|
||||
|
|
25
devel/p5-Data-Validate/Makefile
Normal file
25
devel/p5-Data-Validate/Makefile
Normal file
|
@ -0,0 +1,25 @@
|
|||
# New ports collection makefile for: devel/p5-Data-Validate
|
||||
# Date created: 06 August 2007
|
||||
# Whom: Steven Kreuzer <skreuzer@exit2shell.com>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= Data-Validate
|
||||
PORTVERSION= 0.08
|
||||
CATEGORIES= devel perl5
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
||||
MASTER_SITE_SUBDIR= Data
|
||||
PKGNAMEPREFIX= p5-
|
||||
|
||||
MAINTAINER= skreuzer@exit2shell.com
|
||||
COMMENT= Common data validation methods
|
||||
|
||||
BUILD_DEPENDS= ${SITE_PERL}/Math/BigInt.pm:${PORTSDIR}/math/p5-Math-BigInt
|
||||
RUN_DEPENDS= ${SITE_PERL}/Math/BigInt.pm:${PORTSDIR}/math/p5-Math-BigInt
|
||||
|
||||
PERL_CONFIGURE= yes
|
||||
|
||||
MAN3= Data::Validate.3
|
||||
|
||||
.include <bsd.port.mk>
|
3
devel/p5-Data-Validate/distinfo
Normal file
3
devel/p5-Data-Validate/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
MD5 (Data-Validate-0.08.tar.gz) = 2ca2c8d5750b5a0725f6b483442e6bc7
|
||||
SHA256 (Data-Validate-0.08.tar.gz) = 34a9836c7b6447be97cb940ed082f73d4bffba4bb147cef7e0a1c86e62609a29
|
||||
SIZE (Data-Validate-0.08.tar.gz) = 12591
|
6
devel/p5-Data-Validate/pkg-descr
Normal file
6
devel/p5-Data-Validate/pkg-descr
Normal file
|
@ -0,0 +1,6 @@
|
|||
This module collects common validation routines to make input validation,
|
||||
and untainting easier and more readable. Most of the functions are not
|
||||
much shorter than their direct perl equivalent, but their names make it
|
||||
clear what you're trying to test for.
|
||||
|
||||
WWW: http://search.cpan.org/~sonnen/Data-Validate-0.08/
|
23
devel/p5-Data-Validate/pkg-plist
Normal file
23
devel/p5-Data-Validate/pkg-plist
Normal file
|
@ -0,0 +1,23 @@
|
|||
%%SITE_PERL%%/Data/Validate.pm
|
||||
%%SITE_PERL%%/auto/Data/Validate/autosplit.ix
|
||||
%%SITE_PERL%%/auto/Data/Validate/is_alphanumeric.al
|
||||
%%SITE_PERL%%/auto/Data/Validate/is_between.al
|
||||
%%SITE_PERL%%/auto/Data/Validate/is_equal_to.al
|
||||
%%SITE_PERL%%/auto/Data/Validate/is_even.al
|
||||
%%SITE_PERL%%/auto/Data/Validate/is_greater_than.al
|
||||
%%SITE_PERL%%/auto/Data/Validate/is_hex.al
|
||||
%%SITE_PERL%%/auto/Data/Validate/is_integer.al
|
||||
%%SITE_PERL%%/auto/Data/Validate/is_less_than.al
|
||||
%%SITE_PERL%%/auto/Data/Validate/is_numeric.al
|
||||
%%SITE_PERL%%/auto/Data/Validate/is_oct.al
|
||||
%%SITE_PERL%%/auto/Data/Validate/is_odd.al
|
||||
%%SITE_PERL%%/auto/Data/Validate/is_printable.al
|
||||
%%SITE_PERL%%/auto/Data/Validate/length_is_between.al
|
||||
%%SITE_PERL%%/auto/Data/Validate/new.al
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Data/Validate/.packlist
|
||||
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Data/Validate
|
||||
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Data
|
||||
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto
|
||||
@dirrmtry %%SITE_PERL%%/auto/Data/Validate
|
||||
@dirrmtry %%SITE_PERL%%/auto/Data
|
||||
@dirrmtry %%SITE_PERL%%/Data
|
Loading…
Reference in a new issue