aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2015-02-02 03:55:41 +0800
committeradamw <adamw@FreeBSD.org>2015-02-02 03:55:41 +0800
commit125b1d32c6b42364038315504b46fee3092ea94c (patch)
treec8252b0558a5318c5c947ac8f8086fe6372268ba
parent260beb2e29631bc67c61b0929ef990826be73229 (diff)
downloadfreebsd-ports-graphics-125b1d32c6b42364038315504b46fee3092ea94c.tar.gz
freebsd-ports-graphics-125b1d32c6b42364038315504b46fee3092ea94c.tar.zst
freebsd-ports-graphics-125b1d32c6b42364038315504b46fee3092ea94c.zip
Add devel/p5-Input-Validator. This is an input validation system, similar
to HTTP::Validate, Data::Validator, Brannigan, etc. Input::Validator doesn't really do anything other than input validation, so it's much lighter-weight than some of the others. WWW: https://metacpan.org/pod/Input::Validator
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-Import-Into/Makefile5
-rw-r--r--devel/p5-Import-Into/distinfo4
-rw-r--r--devel/p5-Input-Validator/Makefile23
-rw-r--r--devel/p5-Input-Validator/distinfo2
-rw-r--r--devel/p5-Input-Validator/pkg-descr11
-rw-r--r--devel/p5-Input-Validator/pkg-plist37
-rw-r--r--devel/p5-Mo/Makefile9
-rw-r--r--devel/p5-Mo/distinfo4
-rw-r--r--devel/p5-Sub-Name/Makefile3
-rw-r--r--devel/p5-Sub-Name/distinfo4
-rw-r--r--devel/p5-strictures/Makefile3
-rw-r--r--devel/p5-strictures/distinfo4
13 files changed, 92 insertions, 18 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 562cc57db4f..d11fd37f5f9 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -2268,6 +2268,7 @@
SUBDIR += p5-Inline-Tcl
SUBDIR += p5-InlineX-C2XS
SUBDIR += p5-InlineX-CPP2XS
+ SUBDIR += p5-Input-Validator
SUBDIR += p5-Ioctl
SUBDIR += p5-Iodef-Pb-Simple
SUBDIR += p5-Iterator
diff --git a/devel/p5-Import-Into/Makefile b/devel/p5-Import-Into/Makefile
index fdd37d5485f..3956139cfa4 100644
--- a/devel/p5-Import-Into/Makefile
+++ b/devel/p5-Import-Into/Makefile
@@ -2,11 +2,10 @@
# $FreeBSD$
PORTNAME= Import-Into
-PORTVERSION= 1.002001
-PORTREVISION= 1
+PORTVERSION= 1.002004
CATEGORIES= devel perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= CPAN:HAARG
+MASTER_SITE_SUBDIR= CPAN:ETHER
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
diff --git a/devel/p5-Import-Into/distinfo b/devel/p5-Import-Into/distinfo
index 36acdabd5db..c0a723dd1c5 100644
--- a/devel/p5-Import-Into/distinfo
+++ b/devel/p5-Import-Into/distinfo
@@ -1,2 +1,2 @@
-SHA256 (Import-Into-1.002001.tar.gz) = 245ea6c8aacb39f942d71a445d539216fbdf2b281ea22a92abccf53cf7ecf28f
-SIZE (Import-Into-1.002001.tar.gz) = 6553
+SHA256 (Import-Into-1.002004.tar.gz) = decb259bc2ff015fe3dac85e4a287d4128e9b0506a0b2c5fa7244836a68b1084
+SIZE (Import-Into-1.002004.tar.gz) = 7847
diff --git a/devel/p5-Input-Validator/Makefile b/devel/p5-Input-Validator/Makefile
new file mode 100644
index 00000000000..2e2764f3522
--- /dev/null
+++ b/devel/p5-Input-Validator/Makefile
@@ -0,0 +1,23 @@
+# Created by: Adam Weinberger <adamw@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= Input-Validator
+PORTVERSION= 0.001005
+CATEGORIES= devel perl5
+MASTER_SITES= CPAN
+MASTER_SITE_SUBDIR= CPAN:VTI
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= adamw@FreeBSD.org
+COMMENT= Input validator that just validates input
+
+LICENSE= ART20
+
+BUILD_DEPENDS= p5-Class-Load>=0:${PORTSDIR}/devel/p5-Class-Load \
+ p5-String-CamelCase>=0:${PORTSDIR}/textproc/p5-String-CamelCase
+RUN_DEPENDS:= ${BUILD_DEPENDS}
+
+USES= perl5
+USE_PERL5= configure
+
+.include <bsd.port.mk>
diff --git a/devel/p5-Input-Validator/distinfo b/devel/p5-Input-Validator/distinfo
new file mode 100644
index 00000000000..faa340d5c16
--- /dev/null
+++ b/devel/p5-Input-Validator/distinfo
@@ -0,0 +1,2 @@
+SHA256 (Input-Validator-0.001005.tar.gz) = 94b4152a50d47696862cbe20273ebf06245c0aa876dc5d141d886b49027a1704
+SIZE (Input-Validator-0.001005.tar.gz) = 13887
diff --git a/devel/p5-Input-Validator/pkg-descr b/devel/p5-Input-Validator/pkg-descr
new file mode 100644
index 00000000000..7c001649558
--- /dev/null
+++ b/devel/p5-Input-Validator/pkg-descr
@@ -0,0 +1,11 @@
+Data validator. Validates only the data. No form generation, no javascript
+generation, no other stuff that does something else. Only data validation!
+
+Features:
+ * Validates data that is presented as a hash reference
+ * Multiple values
+ * Field registration
+ * Group validation
+ * Conditional validation
+
+WWW: https://metacpan.org/pod/Input::Validator
diff --git a/devel/p5-Input-Validator/pkg-plist b/devel/p5-Input-Validator/pkg-plist
new file mode 100644
index 00000000000..32d4c36a004
--- /dev/null
+++ b/devel/p5-Input-Validator/pkg-plist
@@ -0,0 +1,37 @@
+%%SITE_PERL%%/Input/Validator.pm
+%%SITE_PERL%%/Input/Validator/Base.pm
+%%SITE_PERL%%/Input/Validator/Bulk.pm
+%%SITE_PERL%%/Input/Validator/Condition.pm
+%%SITE_PERL%%/Input/Validator/Constraint.pm
+%%SITE_PERL%%/Input/Validator/Constraint/Callback.pm
+%%SITE_PERL%%/Input/Validator/Constraint/Date.pm
+%%SITE_PERL%%/Input/Validator/Constraint/Email.pm
+%%SITE_PERL%%/Input/Validator/Constraint/Equal.pm
+%%SITE_PERL%%/Input/Validator/Constraint/In.pm
+%%SITE_PERL%%/Input/Validator/Constraint/Ip.pm
+%%SITE_PERL%%/Input/Validator/Constraint/Length.pm
+%%SITE_PERL%%/Input/Validator/Constraint/Regexp.pm
+%%SITE_PERL%%/Input/Validator/Constraint/Subset.pm
+%%SITE_PERL%%/Input/Validator/Constraint/Time.pm
+%%SITE_PERL%%/Input/Validator/Constraint/Unique.pm
+%%SITE_PERL%%/Input/Validator/ConstraintBuilder.pm
+%%SITE_PERL%%/Input/Validator/Field.pm
+%%SITE_PERL%%/Input/Validator/Group.pm
+%%PERL5_MAN3%%/Input::Validator.3.gz
+%%PERL5_MAN3%%/Input::Validator::Bulk.3.gz
+%%PERL5_MAN3%%/Input::Validator::Condition.3.gz
+%%PERL5_MAN3%%/Input::Validator::Constraint.3.gz
+%%PERL5_MAN3%%/Input::Validator::Constraint::Callback.3.gz
+%%PERL5_MAN3%%/Input::Validator::Constraint::Date.3.gz
+%%PERL5_MAN3%%/Input::Validator::Constraint::Email.3.gz
+%%PERL5_MAN3%%/Input::Validator::Constraint::Equal.3.gz
+%%PERL5_MAN3%%/Input::Validator::Constraint::In.3.gz
+%%PERL5_MAN3%%/Input::Validator::Constraint::Ip.3.gz
+%%PERL5_MAN3%%/Input::Validator::Constraint::Length.3.gz
+%%PERL5_MAN3%%/Input::Validator::Constraint::Regexp.3.gz
+%%PERL5_MAN3%%/Input::Validator::Constraint::Subset.3.gz
+%%PERL5_MAN3%%/Input::Validator::Constraint::Time.3.gz
+%%PERL5_MAN3%%/Input::Validator::Constraint::Unique.3.gz
+%%PERL5_MAN3%%/Input::Validator::ConstraintBuilder.3.gz
+%%PERL5_MAN3%%/Input::Validator::Field.3.gz
+%%PERL5_MAN3%%/Input::Validator::Group.3.gz
diff --git a/devel/p5-Mo/Makefile b/devel/p5-Mo/Makefile
index b8f6c33fa26..cd51d49cb39 100644
--- a/devel/p5-Mo/Makefile
+++ b/devel/p5-Mo/Makefile
@@ -2,11 +2,10 @@
# $FreeBSD$
PORTNAME= Mo
-PORTVERSION= 0.38
-PORTREVISION= 1
+PORTVERSION= 0.39
CATEGORIES= devel perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= CPAN:CARLOS
+MASTER_SITE_SUBDIR= CPAN:INGY
PKGNAMEPREFIX= p5-
MAINTAINER= sunpoet@FreeBSD.org
@@ -25,4 +24,8 @@ TEST_DEPENDS= p5-Class-XSAccessor>=0:${PORTSDIR}/devel/p5-Class-XSAccessor \
USE_PERL5= configure
USES= perl5
+post-install:
+ # These are essentially just copies of Mo.3.gz
+ @${FIND} ${STAGEDIR} -type f -name 'ReadMe*' -delete
+
.include <bsd.port.mk>
diff --git a/devel/p5-Mo/distinfo b/devel/p5-Mo/distinfo
index f25404ebbe8..2b8e90999e8 100644
--- a/devel/p5-Mo/distinfo
+++ b/devel/p5-Mo/distinfo
@@ -1,2 +1,2 @@
-SHA256 (Mo-0.38.tar.gz) = 23b9c9461e1e4bea61ce873e4fe2fdceeb1fcaf6f3d3c4e8cae627ff3e1a989b
-SIZE (Mo-0.38.tar.gz) = 38076
+SHA256 (Mo-0.39.tar.gz) = fc937e4efc92340374d45dd9a1c90bf24133d9dcd753f24d3f6072582d54fbc0
+SIZE (Mo-0.39.tar.gz) = 39176
diff --git a/devel/p5-Sub-Name/Makefile b/devel/p5-Sub-Name/Makefile
index 88bb94e4a4b..6e25c7ac6fa 100644
--- a/devel/p5-Sub-Name/Makefile
+++ b/devel/p5-Sub-Name/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= Sub-Name
-PORTVERSION= 0.05
-PORTREVISION= 1
+PORTVERSION= 0.12
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
diff --git a/devel/p5-Sub-Name/distinfo b/devel/p5-Sub-Name/distinfo
index 51c0c4a19b9..0b77100d2cc 100644
--- a/devel/p5-Sub-Name/distinfo
+++ b/devel/p5-Sub-Name/distinfo
@@ -1,2 +1,2 @@
-SHA256 (Sub-Name-0.05.tar.gz) = c9d1b805ea1f8e35fdde319468d6378dc1f1123cd8f2b22788238ba842713af1
-SIZE (Sub-Name-0.05.tar.gz) = 3463
+SHA256 (Sub-Name-0.12.tar.gz) = 06c4a2fcfb7223eeea6cc2b3f507e51f02fbf982e0c0ff1061deefb32f62b4e9
+SIZE (Sub-Name-0.12.tar.gz) = 25498
diff --git a/devel/p5-strictures/Makefile b/devel/p5-strictures/Makefile
index d0737cc7bd1..8f25af7cd3d 100644
--- a/devel/p5-strictures/Makefile
+++ b/devel/p5-strictures/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= strictures
-PORTVERSION= 1.005005
-PORTREVISION= 1
+PORTVERSION= 1.005006
CATEGORIES= devel perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:HAARG
diff --git a/devel/p5-strictures/distinfo b/devel/p5-strictures/distinfo
index 9a45329d893..895e589eae6 100644
--- a/devel/p5-strictures/distinfo
+++ b/devel/p5-strictures/distinfo
@@ -1,2 +1,2 @@
-SHA256 (strictures-1.005005.tar.gz) = a9fc369b711862d8bfd74e06002112d50ae207869d0c231d0d6cc99439dab7ae
-SIZE (strictures-1.005005.tar.gz) = 10443
+SHA256 (strictures-1.005006.tar.gz) = 2810208331ec5b0f7d1d14b8362621aa8fd21c8dc616f012e8cd9c8646f9fbed
+SIZE (strictures-1.005006.tar.gz) = 9910