debian/0000755000000000000000000000000012174263333007172 5ustar debian/rules0000755000000000000000000000003612174263333010251 0ustar #!/usr/bin/make -f %: dh $@ debian/control0000644000000000000000000000422412174263333010577 0ustar Source: libdata-formvalidator-perl Maintainer: Debian Perl Group Uploaders: Allard Hoeve , Niko Tyni , gregor herrmann , Jonathan Yu , Krzysztof Krzyzaniak (eloy) , Damyan Ivanov , Rene Mayorga , Ansgar Burchardt , Xavier Guimard Section: perl Priority: optional Build-Depends: debhelper (>= 8), perl (>= 5.13.11) | libmodule-build-perl (>= 0.380000) Build-Depends-Indep: libcgi-simple-perl, libdate-calc-perl, libemail-valid-perl, libfile-mmagic-perl, libimage-size-perl, libmime-types-perl, libperl6-junction-perl, libregexp-common-perl, libtemplate-perl, libtest-pod-perl, perl, perl (>= 5.11.1) | libcgi-pm-perl (>= 3.48) Standards-Version: 3.9.4 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libdata-formvalidator-perl.git Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libdata-formvalidator-perl.git Homepage: https://metacpan.org/release/Data-FormValidator/ Package: libdata-formvalidator-perl Architecture: all Depends: ${misc:Depends}, ${perl:Depends}, libemail-valid-perl, libfile-mmagic-perl, libimage-size-perl, libmime-types-perl, libperl6-junction-perl, libregexp-common-perl Recommends: libdate-calc-perl Description: module to validate user input, mainly for HTML forms Data::FormValidator is a Perl module that presents users template-generated forms that can be automatically validated later. It lets you define profiles which declare required an optional fields, as well as any field constraints. Results are provided as an object, which makes it easy to handle missing and invalid results, return error messages, or process valid data. debian/source/0000755000000000000000000000000012174263333010472 5ustar debian/source/format0000644000000000000000000000001412174263333011700 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000002516412174263333011054 0ustar libdata-formvalidator-perl (4.81-1) unstable; urgency=low [ Salvatore Bonaccorso ] * Change Vcs-Git to canonical URI (git://anonscm.debian.org) * Change search.cpan.org based URIs to metacpan.org based URIs [ Xavier Guimard ] * Imported Upstream version 4.81 * Update debian/copyright years -- Xavier Guimard Tue, 23 Jul 2013 04:36:20 +0200 libdata-formvalidator-perl (4.80-1) unstable; urgency=low [ gregor herrmann ] * debian/control: update {versioned,alternative} (build) dependencies. [ Xavier Guimard ] * Imported Upstream version 4.80 * Bump Standards-Version to 3.9.4 * Update debian/copyright (years and format) * Add libmodule-build-perl and version for libcgi-pm-perl in dependencies -- Xavier Guimard Thu, 20 Dec 2012 13:20:01 +0100 libdata-formvalidator-perl (4.70-1) unstable; urgency=low [ Ansgar Burchardt ] * debian/control: Convert Vcs-* fields to Git. [ Salvatore Bonaccorso ] * debian/copyright: Replace DEP5 Format-Specification URL from svn.debian.org to anonscm.debian.org URL. [ gregor herrmann ] * New upstream release. * Refresh fix-re-when-untainting.patch (offset). * debian/copyright: updates in formatting and list of debian/* contributors. -- gregor herrmann Fri, 25 Nov 2011 16:58:00 +0100 libdata-formvalidator-perl (4.66-3) unstable; urgency=low * add a patch fixing a possible passing of invalid data in untaint mode Closes: #629511 * Claim conformance with Policy 3.9.2 (no changes) -- Damyan Ivanov Tue, 07 Jun 2011 13:48:47 +0300 libdata-formvalidator-perl (4.66-2) unstable; urgency=low [ Russ Allbery ] * Team upload. * Downgrade Date::Calc to Recommends from Depends. It is required for the Data::FormValidator::Constraints::Dates constraint, but an alternative Data::FormValidator::Constraints::DateTime constraint is available based on DateCalc and use of that constraint is optional. Thanks, Nicholas Bamber. (Closes: #608849) * Remove myself from Uploaders. * Update debhelper compatibility level to V8. * Change Debian source package format to 3.0 (quilt). * Use unqualified docs control file for debhelper since this source package only builds one binary package. * Remove versioned perl dependency satisfied by oldstable. * Merge Build-Depends and Build-Depends-Indep. The separation is pointless for a source package that builds only arch-independent binary packages. * Fix debian/copyright reference to point to GPLv1 now that it's part of common-licenses. * Update standards version to 3.9.1 (no changes required). [ Ansgar Burchardt ] * Update my email address. -- Russ Allbery Sat, 05 Mar 2011 21:18:46 -0800 libdata-formvalidator-perl (4.66-1) unstable; urgency=low [ Jonathan Yu ] * New upstream release * Remove POD spelling patch, applied upstream * Standards-Version 3.8.4 (no changes) -- gregor herrmann Sat, 06 Mar 2010 19:22:36 +0100 libdata-formvalidator-perl (4.65-1) unstable; urgency=low [ Jonathan Yu ] * New upstream release * Add myself to Copyright and Uploaders * Standards-Version 3.8.3 (no changes) * Drop unnecessary version dependencies * Rewrote control description * Use new short debhelper rules format * Add patch to fix POD typos [ Nathan Handler ] * debian/watch: Update to ignore development releases. [ gregor herrmann ] * debian/control: Changed: (build-)depend on perl instead of perl- modules. -- Jonathan Yu Thu, 31 Dec 2009 16:53:17 -0500 libdata-formvalidator-perl (4.63-1) unstable; urgency=low [ gregor herrmann ] * debian/control: Changed: Switched Vcs-Browser field to ViewSVN (source stanza). * Add "perl-modules (>= 5.10)" as a first alternative to libmodule-build-perl. [ Ansgar Burchardt ] * New upstream release. * debian/control: Add myself to Uploaders. * Convert debian/copyright to proposed machine-readable format. * debain/copyright: List all copyright holders for debian/*. The list of contributors was taken from debian/changelog. * Refresh debian/rules for debhelper 7. -- Ansgar Burchardt Sun, 04 Jan 2009 13:49:39 +0100 libdata-formvalidator-perl (4.61-1) unstable; urgency=low [ Joachim Breitner ] * Removed myself from uploaders. [ Rene Mayorga ] * New upstream release * debian/rules + refresh with dh-make-perl + don't install README file * debian/control + move libmodule-build-perl from B-D-I to B-D + set standards-version to 3.8.0 (no changes) + Add ${perl:Depends}, ${misc:Depends} and remove 'perl' and 'perl-modules' from Depends field + add libemail-valid-perl to B-D-I and Depends field + add myself to uploaders * debian/copyright - convert to new format * debian/watch - set to version 3; change the regexp [ gregor herrmann ] * debian/control: change my email address. * debian/control: mention the module name in the long description. * debian/copyright: point to dist-based URL as upstream source location. -- Rene Mayorga Thu, 19 Jun 2008 20:43:43 -0600 libdata-formvalidator-perl (4.57-1) unstable; urgency=low * New upstream release. * Remove ${shlib:Depends} from Depends, no shared libraries around. * Use "Copyright" and "License" correctly in debian/copyright. -- gregor herrmann Fri, 02 Nov 2007 16:52:55 +0100 libdata-formvalidator-perl (4.56-1) unstable; urgency=low * New upstream release Requires perl 5.8 * Depends and Build-Depends: perl(>= 5.8) * Drop unneeded dh_installdirs -- Damyan Ivanov Wed, 31 Oct 2007 23:31:06 +0200 libdata-formvalidator-perl (4.55-1) unstable; urgency=low * New upstream bugfix release * [debian/rules] + clean up more + move debian/docs' content to dh_installdocs call * Freshen copyright years in debian/copyright * [debian/control] + wrap long fields + add myself to Uploaders -- Damyan Ivanov Mon, 22 Oct 2007 09:35:52 +0300 libdata-formvalidator-perl (4.52-1) unstable; urgency=low * New upstream release. * debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser field (source stanza); Homepage field (source stanza). Removed: XS- Vcs-Svn fields. * Don't install .packlist file. -- gregor herrmann Sat, 20 Oct 2007 17:34:01 +0200 libdata-formvalidator-perl (4.51-1) unstable; urgency=low * New upstream release * debian/control: libperl6-junction-perl added to dependencies. -- Krzysztof Krzyzaniak (eloy) Fri, 20 Jul 2007 16:48:14 +0200 libdata-formvalidator-perl (4.50-1) unstable; urgency=low * New upstream release * debian/control: Added me to Uploaders -- Krzysztof Krzyzaniak (eloy) Wed, 6 Dec 2006 23:37:04 +0100 libdata-formvalidator-perl (4.40-1) unstable; urgency=low * New upstream release -- Gunnar Wolf Mon, 28 Aug 2006 17:20:09 -0500 libdata-formvalidator-perl (4.30-1) unstable; urgency=low * New upstream release. -- gregor herrmann Fri, 14 Jul 2006 21:58:02 +0200 libdata-formvalidator-perl (4.20-1) unstable; urgency=low * New upstream release. * Set Standards-Version to 3.7.2. * Set Debhelper Compatibility Level to 5. -- gregor herrmann Sat, 17 Jun 2006 17:18:17 +0200 libdata-formvalidator-perl (4.14-1) unstable; urgency=low * New upstream release -- Gunnar Wolf Tue, 21 Feb 2006 14:19:31 -0600 libdata-formvalidator-perl (4.13-1) unstable; urgency=low * New upstream release. * Add myself to Uploaders. * Add libtemplate-perl to Build-Depends-Indep for full test coverage. -- Niko Tyni Mon, 13 Feb 2006 22:29:21 +0200 libdata-formvalidator-perl (4.12-1) unstable; urgency=low * New upstream release. * Add libtest-pod-perl and libcgi-simple-perl to build-depends for more complete testing. * Install RELEASE_NOTES in the doc directory. * Conditionally run ./Build clean only if Build exists so that Module::Build doesn't have to be installed to run debian/rules clean. * Move debhelper to Build-Depends since it's required for clean. -- Russ Allbery Mon, 16 Jan 2006 16:10:54 -0800 libdata-formvalidator-perl (4.02-1) unstable; urgency=low * New upstream release -- Gunnar Wolf Tue, 6 Sep 2005 15:46:53 -0500 libdata-formvalidator-perl (3.63-1) unstable; urgency=low * New upstream release -- Gunnar Wolf Thu, 17 Mar 2005 18:34:45 -0600 libdata-formvalidator-perl (3.59-1) unstable; urgency=low * New upstream release -- Gunnar Wolf Fri, 9 Jul 2004 11:36:50 -0500 libdata-formvalidator-perl (3.58-1) unstable; urgency=low * Package maintainership transfered to the Debian Perl Group. * New upstream release -- Gunnar Wolf Wed, 5 May 2004 18:50:19 -0500 libdata-formvalidator-perl (3.57-1) unstable; urgency=low * New upstream release -- Gunnar Wolf Sun, 25 Apr 2004 12:10:41 -0500 libdata-formvalidator-perl (3.56-1) unstable; urgency=low * New upstream release -- Gunnar Wolf Tue, 20 Apr 2004 08:31:13 -0500 libdata-formvalidator-perl (3.54-1) unstable; urgency=low * New upstream release -- Gunnar Wolf Fri, 9 Apr 2004 10:08:10 -0500 libdata-formvalidator-perl (3.53-1) unstable; urgency=low * New upstream release -- Gunnar Wolf Tue, 23 Mar 2004 11:43:18 -0600 libdata-formvalidator-perl (3.51-1) unstable; urgency=low * New upstream release -- Gunnar Wolf Mon, 1 Mar 2004 16:04:02 -0600 libdata-formvalidator-perl (3.50-1) unstable; urgency=low * New upstream release -- Gunnar Wolf Wed, 14 Jan 2004 12:46:36 -0600 libdata-formvalidator-perl (3.15-1) unstable; urgency=low * New upstream release -- Gunnar Wolf Sun, 11 Jan 2004 22:33:23 -0600 libdata-formvalidator-perl (3.12-3) unstable; urgency=low * Fixed a packaging bug that led me to an incredibly large .diff.gz (Closes: #226021) -- Gunnar Wolf Sun, 11 Jan 2004 22:12:16 -0600 libdata-formvalidator-perl (3.12-2) unstable; urgency=low * Fixed a typo in debian/watch * Fixed missed dependencies/build-dependencies (Closes: #215051) -- Gunnar Wolf Fri, 10 Oct 2003 08:47:20 -0500 libdata-formvalidator-perl (3.12-1) unstable; urgency=low * Initial Release (closes: #207791) -- Gunnar Wolf Sun, 14 Sep 2003 21:45:21 -0500 debian/compat0000644000000000000000000000000212174263333010370 0ustar 8 debian/patches/0000755000000000000000000000000012174263333010621 5ustar debian/patches/fix-re-when-untainting.patch0000644000000000000000000000156312174263333016156 0ustar Description: Fix a matching check leading to passing (and mangling) invalid data $match would be '' when $val doesn't match $re and '' is still defined... Origin: vendor Bug: https://rt.cpan.org/Ticket/Display.html?id=61792 Bug-Debian: http://bugs.debian.org/629511 Forwarded: yes Author: Damyan Ivanov Last-Update: 2011-06-07 --- a/lib/Data/FormValidator/Results.pm +++ b/lib/Data/FormValidator/Results.pm @@ -806,7 +806,7 @@ # With methods, the value is the second argument my $val = $force_method_p ? $_[1] : $_[0]; my ($match) = scalar ($val =~ $re); - if ($untaint_this && defined $match) { + if ($untaint_this && $match) { # pass the value through a RE that matches anything to untaint it. my ($untainted) = ($& =~ m/(.*)/s); return $untainted; debian/patches/series0000644000000000000000000000003512174263333012034 0ustar fix-re-when-untainting.patch debian/copyright0000644000000000000000000000357512174263333011137 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Data-FormValidator Source: https://metacpan.org/release/Data-FormValidator/ Upstream-Contact: Mark Stosberg Files: * Copyright: 2001-2006, Mark Stosberg 1999, Francis J. Lacoste 1999-2000, iNsu Innovations Inc. 1996-1999, Michael J. Heins 1996-1999, Bruce Albrecht License: Artistic or GPL-1+ Files: lib/Data/FormValidator/ConstraintsFactory.pm Copyright: 2005, Mark Stosberg 1996-1999, Michael J. Heins 1996-1999, Bruce Albrecht License: Artistic or GPL-1+ Files: debian/* Copyright: 2003-2006, Gunnar Wolf 2006-2011, Russ Allbery 2006, Niko Tyni 2006-2007, Krzysztof Krzyzaniak (eloy) 2006-2011, gregor herrmann 2007-2011, Damyan Ivanov 2008, Rene Mayorga 2009, Ansgar Burchardt 2009-2010, Jonathan Yu 2012-2013, Xavier Guimard License: Artistic or GPL-1+ License: Artistic This program is free software; you can redistribute it and/or modify it under the terms of the Artistic License, which comes with Perl. . On Debian systems, the complete text of the Artistic License can be found in `/usr/share/common-licenses/Artistic'. License: GPL-1+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version. . On Debian systems, the complete text of version 1 of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-1'. debian/libdata-formvalidator-perl.docs0000644000000000000000000000001612174263333015250 0ustar RELEASE_NOTES debian/watch0000644000000000000000000000017612174263333010227 0ustar version=3 https://metacpan.org/release/Data-FormValidator/ .*/Data-FormValidator-v?(\d[\d.]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)