NetBSD Problem Report #34405
From miwi@FreeBSD.org Wed Aug 30 11:22:00 2006
Return-Path: <miwi@FreeBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by narn.NetBSD.org (Postfix) with ESMTP id 52B8963BC75
for <gnats-bugs@gnats.netbsd.org>; Wed, 30 Aug 2006 11:22:00 +0000 (UTC)
Message-Id: <1156936920.7418@mwilke.ath.cx>
Date: Wed, 30 Aug 2006 13:22:00 +0200
From: "Martin Wilke" <miwi@FreeBSD.org>
To: "gnats bugs" <gnats-bugs@NetBSD.org>
Subject: [update] textproc/p5-Data-FormValidator
X-Send-Pr-Version: gtk-send-pr 0.4.7
X-GNATS-Notify:
>Number: 34405
>Category: pkg
>Synopsis: [update] textproc/p5-Data-FormValidator
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: closed
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Wed Aug 30 11:25:02 +0000 2006
>Closed-Date: Wed Oct 25 13:37:09 +0000 2006
>Last-Modified: Wed Oct 25 13:37:09 +0000 2006
>Originator: Martin Wilke
>Release: NetBSD 4.0_BETA i386
>Organization:
>Environment:
System: NetBSD 4.0_BETA (MIWIBOX) #0: Tue Aug 29 10:29:38 CEST 2006
miwi@mwilke.ath.cx:/usr/obj/sys/arch/i386/compile/MIWIBOX
>Description:
- Update to 4.40
- Changelog
[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
[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
[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
[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)
>How-To-Repeat:
>Fix:
--- p5-Data-FormValidator.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/pkgsrc/textproc/p5-Data-FormValidator/Makefile,v
retrieving revision 1.8
diff -u -r1.8 Makefile
--- Makefile 4 Mar 2006 21:30:47 -0000 1.8
+++ Makefile 30 Aug 2006 09:22:20 -0000
@@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.8 2006/03/04 21:30:47 jlam Exp $
-DISTNAME= Data-FormValidator-4.12
+DISTNAME= Data-FormValidator-4.40
PKGNAME= p5-${DISTNAME}
CATEGORIES= perl5 textproc
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Data/}
Index: distinfo
===================================================================
RCS file: /home/pcvs/pkgsrc/textproc/p5-Data-FormValidator/distinfo,v
retrieving revision 1.4
diff -u -r1.4 distinfo
--- distinfo 3 Feb 2006 17:33:08 -0000 1.4
+++ distinfo 30 Aug 2006 09:22:37 -0000
@@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.4 2006/02/03 17:33:08 abs 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
--- p5-Data-FormValidator.diff ends here ---
>Release-Note:
>Audit-Trail:
From: OBATA Akio <obache@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: PR/34405 CVS commit: pkgsrc/textproc/p5-Data-FormValidator
Date: Wed, 25 Oct 2006 13:34:03 +0000 (UTC)
Module Name: pkgsrc
Committed By: obache
Date: Wed Oct 25 13:34:03 UTC 2006
Modified Files:
pkgsrc/textproc/p5-Data-FormValidator: Makefile distinfo
Log Message:
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)
To generate a diff of this commit:
cvs rdiff -r1.8 -r1.9 pkgsrc/textproc/p5-Data-FormValidator/Makefile
cvs rdiff -r1.4 -r1.5 pkgsrc/textproc/p5-Data-FormValidator/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->closed
State-Changed-By: obache@netbsd.org
State-Changed-When: Wed, 25 Oct 2006 13:37:09 +0000
State-Changed-Why:
Updated. Thanks for your PR!
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.