pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/p5-Data-FormValidator Update p5-Data-FormVali...
details: https://anonhg.NetBSD.org/pkgsrc/rev/c48247729f10
branches: trunk
changeset: 520670:c48247729f10
user: obache <obache%pkgsrc.org@localhost>
date: Wed Oct 25 13:34:03 2006 +0000
description:
Update p5-Data-FormValidator to 4.40
Based on patch provided by Martin Wilke via PR 34405.
Pkgsrc change:
Change dependency to p5-Test-Simple. This module require Test::More,
and it is included in p5-Test-Simple>=0.10 and perl>=5.7.2.
Changes:
4.40 Mon Aug 21 19:41:24 EDT 2006
[BUG FIXES]
- All FV_ closures are now exported with ":closures". (Ed Pigg, Mark Stosberg)
[ENHANCEMENTS]
- Added new constraint for the common case of comparing one field with another,
such as a word confirmation field. Example:
constraint_methods => {
password => FV_eq_with('password_confirm'),
}
(Mark Stosberg)
4.30 Mon Jul 10 21:41:37 EDT 2006
[ENHANCEMENTS]
- A new method for constraint writers has been added: untainted_constraint_value().
If you have written a constraint which untaints, use this method to return the
untainted result. It will prepare the right result whether the user has requested
untainting or not. (Mark Stosberg)
- New built-in constraints added:
FV_min_length(3),
FV_max_length(100),
FV_length_between(3,100),
These constraints can optionally perform untainting. (Mark Stosberg)
- We now work around a bug in File::MMagic which could cause some filehandles
to be corrupted after after the file_format constraint was used.
[BUG FIXES]
- Regexp::Common regular expressions which accepted zero as a valid input would
have wrongly failed their constraints unless untainting was enabled. (Mark Stosberg)
[INTERNALS]
- Improved documentation for built-in constraints. (Mark Stosberg)
4.20 Mon Jun 12 20:44:36 EDT 2006
[ENHANCEMENTS]
- Documentation in Data::FormValidator::Filters has been improved. (Mark Stosberg}
- Added FV_split() a new filter that makes it super-easy to apply the same constraint
to a list of values passed in a single field, such as a comma separated list of e-mail
addresses. (Mark Stosberg).
[BUG FIXES]
- For input given as a hashref containing array references, values could
have been mistakenly modified by reference through filters. We now
explicitly copy elements in these case, to avoid modifying the input.
(RT#19592)
4.14 Fri Feb 17 08:59:40 EST 2006
[ENHANCEMENTS]
- Consider a field with only a null character to be invalid (Jamie Krasnoo)
[BUG FIXES]
- Fix bug in cc_number constraint, which was only present when used as a "constraint_method". (Evan A. Zacks)
4.13
[BUG FIXES]
- Updated overloading syntax to work with Template::Stash (frank)
diffstat:
textproc/p5-Data-FormValidator/Makefile | 6 +++---
textproc/p5-Data-FormValidator/distinfo | 8 ++++----
2 files changed, 7 insertions(+), 7 deletions(-)
diffs (34 lines):
diff -r 8a9a80009a4a -r c48247729f10 textproc/p5-Data-FormValidator/Makefile
--- a/textproc/p5-Data-FormValidator/Makefile Wed Oct 25 12:44:26 2006 +0000
+++ b/textproc/p5-Data-FormValidator/Makefile Wed Oct 25 13:34:03 2006 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.8 2006/03/04 21:30:47 jlam Exp $
+# $NetBSD: Makefile,v 1.9 2006/10/25 13:34:03 obache Exp $
-DISTNAME= Data-FormValidator-4.12
+DISTNAME= Data-FormValidator-4.40
PKGNAME= p5-${DISTNAME}
CATEGORIES= perl5 textproc
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Data/}
@@ -14,7 +14,7 @@
DEPENDS+= p5-Image-Size-[0-9]*:../../graphics/p5-Image-Size
DEPENDS+= p5-MIME-Types>=1.005:../../mail/p5-MIME-Types
DEPENDS+= p5-Regexp-Common-[0-9]*:../../textproc/p5-Regexp-Common
-DEPENDS+= p5-Test-Simple-[0-9]*:../../devel/p5-Test-Simple
+DEPENDS+= {p5-Test-Simple>=0.10,perl>=5.7.2}:../../devel/p5-Test-Simple
PERL5_PACKLIST= auto/Data/FormValidator/.packlist
diff -r 8a9a80009a4a -r c48247729f10 textproc/p5-Data-FormValidator/distinfo
--- a/textproc/p5-Data-FormValidator/distinfo Wed Oct 25 12:44:26 2006 +0000
+++ b/textproc/p5-Data-FormValidator/distinfo Wed Oct 25 13:34:03 2006 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.4 2006/02/03 17:33:08 abs Exp $
+$NetBSD: distinfo,v 1.5 2006/10/25 13:34:03 obache Exp $
-SHA1 (Data-FormValidator-4.12.tar.gz) = fc405c4a453f86c9d136408ee2520c0ce8d41054
-RMD160 (Data-FormValidator-4.12.tar.gz) = 75e12690d33d0751e2afebd81d49fa72a3bb49ca
-Size (Data-FormValidator-4.12.tar.gz) = 83548 bytes
+SHA1 (Data-FormValidator-4.40.tar.gz) = 491d03cf2fa289492b5bddc9e9f0b6ff75385037
+RMD160 (Data-FormValidator-4.40.tar.gz) = 54978e3ca2e42977e1505ae2e527c7bb711e4772
+Size (Data-FormValidator-4.40.tar.gz) = 88640 bytes
Home |
Main Index |
Thread Index |
Old Index