2008-10-19 21:17:40 +02:00
|
|
|
# $NetBSD: Makefile,v 1.12 2008/10/19 19:18:47 he Exp $
|
2004-07-13 06:31:05 +02:00
|
|
|
|
- updated to 4.61
- added dependency to p5-Email-Valid
- corrected version of dependency to p5-Date-Calc
- added dependency to p5-Perl6-Junction
- corrected PERL5_MODULE_TYPE to Module::Build
ChangeLog:
4.61 Mon Jun 16 14:37:31 EDT 2008
[INTERNALS]
- packaging issue from Perl 4.60 resolved.
4.60 Mon Jun 16 14:10:14 EDT 2008
[NEW FEATURES]
- Dependencies can now be specified using a code ref.
Thanks to Bradley C Bailey, via RT#24935.
[BUG FIXES]
- length constraints for min, max and 'between' now work for lengths
of 32k and longer. (Carl Vincent).
- We now use Email::Valid to validate e-mail addresses instead of
our own regrex. Email::Valid passed all our our existing regression
tests for e-mail addresses that should pass and fail. Email::Valid
also correctly recognizes emails with single quote characters in them.
These are valid, but our regex didn't recognize them. (Mark Stosberg)
[INTERNALS]
- Typo in Constraints documentation corrected by K B Shiv Kumar (RT#32358)
- Add some tests and docs for "date_and_time" constraint, from
Data::FormValidator:::Constraints::Dates. It appears there may still
exist a leap-year bug with the date parser. See the TODO test in
t/dates_closure.t for details. An alternative is to use
Data::FormValidator::Constraints::DateTime
(Mark Stosberg, Matt Christian)
4.57 Thu Nov 1 22:47:13 EDT 2007
[BUG FIXES]
- The min max and length_between constraints now allow multi-line input,
Thanks to Carl Vincent. RT##30221. If we had only used the Regex style
prescribed by the Perl Best Practices book in the first place, this
wouldn't have been a problem!
[INTERNALS]
- Makefile.PL to updated to explicitly require 5.008;
- Fix doc link to "Old School Constraints", thanks to rjbs.
4.56 Wed Oct 31 12:34:32 EDT 2007
[INTERNALS]
- declare that we rely on 5.8, because some 5.6 tests were failing.
A patch for 5.6 compatibility would be welcome. Thanks to rjbs for the prod.
4.55 Sun Oct 21 11:41:41 EDT 2007
[BUG FIXES]
- Constraints in Upload.pm now apply to filtered data, not raw data.
(Graham TerMarsch, Mark Stosberg, RT#24702)
4.54 Sun Oct 21 09:27:07 EDT 2007
[INTERNALS]
- It looks like 4.53 got uploaded wrong, appearing as the code for 4.50.
4.53 Sat Oct 20 15:57:56 EDT 2007
[BUG FIXES]
- Invalid fields should still be invalid, even when missing_optional_valid is true.
Patch thanks to Robert Juliano. [RT#28860]
[INTERNALS]
- Improve documentation link, thanks to Robert Stockdale [RT#29510]
- Give a plug to Data::FormValidator::Constraints::MethodsFactory. Recommended!
- s/foreach /for /g throughout the code, per Perl Best Practices
4.52 Fri Oct 19 15:39:14 EDT 2007
No code changes.
[INTERNALS]
- Fix PERL5LIB issue with untaint.t, Thanks to Matt Trout and others [RT#30126]
4.51 Fri Jul 13 23:31:43 EDT 2007
[BUG FIXES]
- Quit assuming that because the first element of an array is undef, the
the whole thing is undef. (RT#24703, GTERMARS, Paul Blair)
- For the "file_format" file upload constraint, File::MMagic sometimes
wrongly returns the generic "application/octet-stream" MIME type instead
of the correct MIME type. We now this return value as meaning "I don't
know" and try the MIME type sent by the browser if this happens.
(Mark Stosberg)
- for the "file_format" file upload constraint, we now do a
case-insensitive comparison of the MIME type provided by the browser,
following the MIME standard. This bug was masked because we check the
returned MIME type by File::MMagic first. Because it generally works
and returns a lower-case result, it didn't matter. However, it some cases
File::MMagic misbehaves under mod_perl, causing the the issue to matter.
(Matt Christian, Mark Stosberg)
[INTERNALS]
- Start requiring and using Scalar::Util, which prevents UNIVERSAL::can() form generating warnings.
(RT#25873, Dave O'Neill)
- Start requiring Perl6::Junction, which we had previously copy/pasted a bit
of into DFV. (Unlike some of the other Perl6 namespace modules, this one
does /not/ use a source filter, and is addictively simple and useful.
4.50 Mon Dec 4 21:28:09 EST 2006
[ENHANCEMENTS]
- New method for constraint writing: get_filtered_data().
(Graham TerMarsch, Mark Stosberg, RT#22589)
- Stronger profile checking, to insure that all constraint_method values
are code references. Note: This explicitly simplifies things compared to
the 'constraints' system. Bare strings declarations are not allowed with
'constraint_methods'. (Mark Stosberg)
- Numerous documentation and comment typo fixes (Evan Zacks)
- Clarified the docs for overriding msgs (RT#18050)
[BUG FIXES]
- ':all' was documented as a group of constraints to import, but it didn't
work. The documentation was updated to recommend ':closures' instead.
(PURDY, RT#21052)
- FV_eq_with now works with CGI.pm-style objects as input. (Jason Crummack)
- Fix documented example of using constraint methods. (Brian Lozier)
- When a constraint and a constraint_regexp_map matched the same field,
only the ones from the map where being used in one case. This was a
regression since the 4.0 release. A new regression test was also added
for this case. (Matt Christian)
4.49_01 Tue Oct 3 14:13:59 EDT 2006
[ENHANCEMENTS]
- New defaults_regexp_map profile key, useful for dynamically generated
checkbox fields. (Mark Stosberg)
2008-07-18 14:11:11 +02:00
|
|
|
DISTNAME= Data-FormValidator-4.61
|
2004-07-13 06:31:05 +02:00
|
|
|
PKGNAME= p5-${DISTNAME}
|
2008-10-19 21:17:40 +02:00
|
|
|
PKGREVISION= 1
|
2004-07-13 06:31:05 +02:00
|
|
|
CATEGORIES= perl5 textproc
|
|
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Data/}
|
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2004-07-13 06:31:05 +02:00
|
|
|
HOMEPAGE= http://search.cpan.org/dist/Data-FormValidator/
|
|
|
|
COMMENT= Validates user input based on input profile
|
|
|
|
|
- updated to 4.61
- added dependency to p5-Email-Valid
- corrected version of dependency to p5-Date-Calc
- added dependency to p5-Perl6-Junction
- corrected PERL5_MODULE_TYPE to Module::Build
ChangeLog:
4.61 Mon Jun 16 14:37:31 EDT 2008
[INTERNALS]
- packaging issue from Perl 4.60 resolved.
4.60 Mon Jun 16 14:10:14 EDT 2008
[NEW FEATURES]
- Dependencies can now be specified using a code ref.
Thanks to Bradley C Bailey, via RT#24935.
[BUG FIXES]
- length constraints for min, max and 'between' now work for lengths
of 32k and longer. (Carl Vincent).
- We now use Email::Valid to validate e-mail addresses instead of
our own regrex. Email::Valid passed all our our existing regression
tests for e-mail addresses that should pass and fail. Email::Valid
also correctly recognizes emails with single quote characters in them.
These are valid, but our regex didn't recognize them. (Mark Stosberg)
[INTERNALS]
- Typo in Constraints documentation corrected by K B Shiv Kumar (RT#32358)
- Add some tests and docs for "date_and_time" constraint, from
Data::FormValidator:::Constraints::Dates. It appears there may still
exist a leap-year bug with the date parser. See the TODO test in
t/dates_closure.t for details. An alternative is to use
Data::FormValidator::Constraints::DateTime
(Mark Stosberg, Matt Christian)
4.57 Thu Nov 1 22:47:13 EDT 2007
[BUG FIXES]
- The min max and length_between constraints now allow multi-line input,
Thanks to Carl Vincent. RT##30221. If we had only used the Regex style
prescribed by the Perl Best Practices book in the first place, this
wouldn't have been a problem!
[INTERNALS]
- Makefile.PL to updated to explicitly require 5.008;
- Fix doc link to "Old School Constraints", thanks to rjbs.
4.56 Wed Oct 31 12:34:32 EDT 2007
[INTERNALS]
- declare that we rely on 5.8, because some 5.6 tests were failing.
A patch for 5.6 compatibility would be welcome. Thanks to rjbs for the prod.
4.55 Sun Oct 21 11:41:41 EDT 2007
[BUG FIXES]
- Constraints in Upload.pm now apply to filtered data, not raw data.
(Graham TerMarsch, Mark Stosberg, RT#24702)
4.54 Sun Oct 21 09:27:07 EDT 2007
[INTERNALS]
- It looks like 4.53 got uploaded wrong, appearing as the code for 4.50.
4.53 Sat Oct 20 15:57:56 EDT 2007
[BUG FIXES]
- Invalid fields should still be invalid, even when missing_optional_valid is true.
Patch thanks to Robert Juliano. [RT#28860]
[INTERNALS]
- Improve documentation link, thanks to Robert Stockdale [RT#29510]
- Give a plug to Data::FormValidator::Constraints::MethodsFactory. Recommended!
- s/foreach /for /g throughout the code, per Perl Best Practices
4.52 Fri Oct 19 15:39:14 EDT 2007
No code changes.
[INTERNALS]
- Fix PERL5LIB issue with untaint.t, Thanks to Matt Trout and others [RT#30126]
4.51 Fri Jul 13 23:31:43 EDT 2007
[BUG FIXES]
- Quit assuming that because the first element of an array is undef, the
the whole thing is undef. (RT#24703, GTERMARS, Paul Blair)
- For the "file_format" file upload constraint, File::MMagic sometimes
wrongly returns the generic "application/octet-stream" MIME type instead
of the correct MIME type. We now this return value as meaning "I don't
know" and try the MIME type sent by the browser if this happens.
(Mark Stosberg)
- for the "file_format" file upload constraint, we now do a
case-insensitive comparison of the MIME type provided by the browser,
following the MIME standard. This bug was masked because we check the
returned MIME type by File::MMagic first. Because it generally works
and returns a lower-case result, it didn't matter. However, it some cases
File::MMagic misbehaves under mod_perl, causing the the issue to matter.
(Matt Christian, Mark Stosberg)
[INTERNALS]
- Start requiring and using Scalar::Util, which prevents UNIVERSAL::can() form generating warnings.
(RT#25873, Dave O'Neill)
- Start requiring Perl6::Junction, which we had previously copy/pasted a bit
of into DFV. (Unlike some of the other Perl6 namespace modules, this one
does /not/ use a source filter, and is addictively simple and useful.
4.50 Mon Dec 4 21:28:09 EST 2006
[ENHANCEMENTS]
- New method for constraint writing: get_filtered_data().
(Graham TerMarsch, Mark Stosberg, RT#22589)
- Stronger profile checking, to insure that all constraint_method values
are code references. Note: This explicitly simplifies things compared to
the 'constraints' system. Bare strings declarations are not allowed with
'constraint_methods'. (Mark Stosberg)
- Numerous documentation and comment typo fixes (Evan Zacks)
- Clarified the docs for overriding msgs (RT#18050)
[BUG FIXES]
- ':all' was documented as a group of constraints to import, but it didn't
work. The documentation was updated to recommend ':closures' instead.
(PURDY, RT#21052)
- FV_eq_with now works with CGI.pm-style objects as input. (Jason Crummack)
- Fix documented example of using constraint methods. (Brian Lozier)
- When a constraint and a constraint_regexp_map matched the same field,
only the ones from the map where being used in one case. This was a
regression since the 4.0 release. A new regression test was also added
for this case. (Matt Christian)
4.49_01 Tue Oct 3 14:13:59 EDT 2006
[ENHANCEMENTS]
- New defaults_regexp_map profile key, useful for dynamically generated
checkbox fields. (Mark Stosberg)
2008-07-18 14:11:11 +02:00
|
|
|
PERL5_MODULE_TYPE= Module::Build
|
2008-07-14 14:55:56 +02:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
- updated to 4.61
- added dependency to p5-Email-Valid
- corrected version of dependency to p5-Date-Calc
- added dependency to p5-Perl6-Junction
- corrected PERL5_MODULE_TYPE to Module::Build
ChangeLog:
4.61 Mon Jun 16 14:37:31 EDT 2008
[INTERNALS]
- packaging issue from Perl 4.60 resolved.
4.60 Mon Jun 16 14:10:14 EDT 2008
[NEW FEATURES]
- Dependencies can now be specified using a code ref.
Thanks to Bradley C Bailey, via RT#24935.
[BUG FIXES]
- length constraints for min, max and 'between' now work for lengths
of 32k and longer. (Carl Vincent).
- We now use Email::Valid to validate e-mail addresses instead of
our own regrex. Email::Valid passed all our our existing regression
tests for e-mail addresses that should pass and fail. Email::Valid
also correctly recognizes emails with single quote characters in them.
These are valid, but our regex didn't recognize them. (Mark Stosberg)
[INTERNALS]
- Typo in Constraints documentation corrected by K B Shiv Kumar (RT#32358)
- Add some tests and docs for "date_and_time" constraint, from
Data::FormValidator:::Constraints::Dates. It appears there may still
exist a leap-year bug with the date parser. See the TODO test in
t/dates_closure.t for details. An alternative is to use
Data::FormValidator::Constraints::DateTime
(Mark Stosberg, Matt Christian)
4.57 Thu Nov 1 22:47:13 EDT 2007
[BUG FIXES]
- The min max and length_between constraints now allow multi-line input,
Thanks to Carl Vincent. RT##30221. If we had only used the Regex style
prescribed by the Perl Best Practices book in the first place, this
wouldn't have been a problem!
[INTERNALS]
- Makefile.PL to updated to explicitly require 5.008;
- Fix doc link to "Old School Constraints", thanks to rjbs.
4.56 Wed Oct 31 12:34:32 EDT 2007
[INTERNALS]
- declare that we rely on 5.8, because some 5.6 tests were failing.
A patch for 5.6 compatibility would be welcome. Thanks to rjbs for the prod.
4.55 Sun Oct 21 11:41:41 EDT 2007
[BUG FIXES]
- Constraints in Upload.pm now apply to filtered data, not raw data.
(Graham TerMarsch, Mark Stosberg, RT#24702)
4.54 Sun Oct 21 09:27:07 EDT 2007
[INTERNALS]
- It looks like 4.53 got uploaded wrong, appearing as the code for 4.50.
4.53 Sat Oct 20 15:57:56 EDT 2007
[BUG FIXES]
- Invalid fields should still be invalid, even when missing_optional_valid is true.
Patch thanks to Robert Juliano. [RT#28860]
[INTERNALS]
- Improve documentation link, thanks to Robert Stockdale [RT#29510]
- Give a plug to Data::FormValidator::Constraints::MethodsFactory. Recommended!
- s/foreach /for /g throughout the code, per Perl Best Practices
4.52 Fri Oct 19 15:39:14 EDT 2007
No code changes.
[INTERNALS]
- Fix PERL5LIB issue with untaint.t, Thanks to Matt Trout and others [RT#30126]
4.51 Fri Jul 13 23:31:43 EDT 2007
[BUG FIXES]
- Quit assuming that because the first element of an array is undef, the
the whole thing is undef. (RT#24703, GTERMARS, Paul Blair)
- For the "file_format" file upload constraint, File::MMagic sometimes
wrongly returns the generic "application/octet-stream" MIME type instead
of the correct MIME type. We now this return value as meaning "I don't
know" and try the MIME type sent by the browser if this happens.
(Mark Stosberg)
- for the "file_format" file upload constraint, we now do a
case-insensitive comparison of the MIME type provided by the browser,
following the MIME standard. This bug was masked because we check the
returned MIME type by File::MMagic first. Because it generally works
and returns a lower-case result, it didn't matter. However, it some cases
File::MMagic misbehaves under mod_perl, causing the the issue to matter.
(Matt Christian, Mark Stosberg)
[INTERNALS]
- Start requiring and using Scalar::Util, which prevents UNIVERSAL::can() form generating warnings.
(RT#25873, Dave O'Neill)
- Start requiring Perl6::Junction, which we had previously copy/pasted a bit
of into DFV. (Unlike some of the other Perl6 namespace modules, this one
does /not/ use a source filter, and is addictively simple and useful.
4.50 Mon Dec 4 21:28:09 EST 2006
[ENHANCEMENTS]
- New method for constraint writing: get_filtered_data().
(Graham TerMarsch, Mark Stosberg, RT#22589)
- Stronger profile checking, to insure that all constraint_method values
are code references. Note: This explicitly simplifies things compared to
the 'constraints' system. Bare strings declarations are not allowed with
'constraint_methods'. (Mark Stosberg)
- Numerous documentation and comment typo fixes (Evan Zacks)
- Clarified the docs for overriding msgs (RT#18050)
[BUG FIXES]
- ':all' was documented as a group of constraints to import, but it didn't
work. The documentation was updated to recommend ':closures' instead.
(PURDY, RT#21052)
- FV_eq_with now works with CGI.pm-style objects as input. (Jason Crummack)
- Fix documented example of using constraint methods. (Brian Lozier)
- When a constraint and a constraint_regexp_map matched the same field,
only the ones from the map where being used in one case. This was a
regression since the 4.0 release. A new regression test was also added
for this case. (Matt Christian)
4.49_01 Tue Oct 3 14:13:59 EDT 2006
[ENHANCEMENTS]
- New defaults_regexp_map profile key, useful for dynamically generated
checkbox fields. (Mark Stosberg)
2008-07-18 14:11:11 +02:00
|
|
|
DEPENDS+= p5-Date-Calc>=5.0:../../devel/p5-Date-Calc
|
2004-07-13 06:31:05 +02:00
|
|
|
DEPENDS+= p5-File-MMagic>=1.17:../../misc/p5-File-MMagic
|
|
|
|
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
|
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)
2006-10-25 15:34:03 +02:00
|
|
|
DEPENDS+= {p5-Test-Simple>=0.10,perl>=5.7.2}:../../devel/p5-Test-Simple
|
- updated to 4.61
- added dependency to p5-Email-Valid
- corrected version of dependency to p5-Date-Calc
- added dependency to p5-Perl6-Junction
- corrected PERL5_MODULE_TYPE to Module::Build
ChangeLog:
4.61 Mon Jun 16 14:37:31 EDT 2008
[INTERNALS]
- packaging issue from Perl 4.60 resolved.
4.60 Mon Jun 16 14:10:14 EDT 2008
[NEW FEATURES]
- Dependencies can now be specified using a code ref.
Thanks to Bradley C Bailey, via RT#24935.
[BUG FIXES]
- length constraints for min, max and 'between' now work for lengths
of 32k and longer. (Carl Vincent).
- We now use Email::Valid to validate e-mail addresses instead of
our own regrex. Email::Valid passed all our our existing regression
tests for e-mail addresses that should pass and fail. Email::Valid
also correctly recognizes emails with single quote characters in them.
These are valid, but our regex didn't recognize them. (Mark Stosberg)
[INTERNALS]
- Typo in Constraints documentation corrected by K B Shiv Kumar (RT#32358)
- Add some tests and docs for "date_and_time" constraint, from
Data::FormValidator:::Constraints::Dates. It appears there may still
exist a leap-year bug with the date parser. See the TODO test in
t/dates_closure.t for details. An alternative is to use
Data::FormValidator::Constraints::DateTime
(Mark Stosberg, Matt Christian)
4.57 Thu Nov 1 22:47:13 EDT 2007
[BUG FIXES]
- The min max and length_between constraints now allow multi-line input,
Thanks to Carl Vincent. RT##30221. If we had only used the Regex style
prescribed by the Perl Best Practices book in the first place, this
wouldn't have been a problem!
[INTERNALS]
- Makefile.PL to updated to explicitly require 5.008;
- Fix doc link to "Old School Constraints", thanks to rjbs.
4.56 Wed Oct 31 12:34:32 EDT 2007
[INTERNALS]
- declare that we rely on 5.8, because some 5.6 tests were failing.
A patch for 5.6 compatibility would be welcome. Thanks to rjbs for the prod.
4.55 Sun Oct 21 11:41:41 EDT 2007
[BUG FIXES]
- Constraints in Upload.pm now apply to filtered data, not raw data.
(Graham TerMarsch, Mark Stosberg, RT#24702)
4.54 Sun Oct 21 09:27:07 EDT 2007
[INTERNALS]
- It looks like 4.53 got uploaded wrong, appearing as the code for 4.50.
4.53 Sat Oct 20 15:57:56 EDT 2007
[BUG FIXES]
- Invalid fields should still be invalid, even when missing_optional_valid is true.
Patch thanks to Robert Juliano. [RT#28860]
[INTERNALS]
- Improve documentation link, thanks to Robert Stockdale [RT#29510]
- Give a plug to Data::FormValidator::Constraints::MethodsFactory. Recommended!
- s/foreach /for /g throughout the code, per Perl Best Practices
4.52 Fri Oct 19 15:39:14 EDT 2007
No code changes.
[INTERNALS]
- Fix PERL5LIB issue with untaint.t, Thanks to Matt Trout and others [RT#30126]
4.51 Fri Jul 13 23:31:43 EDT 2007
[BUG FIXES]
- Quit assuming that because the first element of an array is undef, the
the whole thing is undef. (RT#24703, GTERMARS, Paul Blair)
- For the "file_format" file upload constraint, File::MMagic sometimes
wrongly returns the generic "application/octet-stream" MIME type instead
of the correct MIME type. We now this return value as meaning "I don't
know" and try the MIME type sent by the browser if this happens.
(Mark Stosberg)
- for the "file_format" file upload constraint, we now do a
case-insensitive comparison of the MIME type provided by the browser,
following the MIME standard. This bug was masked because we check the
returned MIME type by File::MMagic first. Because it generally works
and returns a lower-case result, it didn't matter. However, it some cases
File::MMagic misbehaves under mod_perl, causing the the issue to matter.
(Matt Christian, Mark Stosberg)
[INTERNALS]
- Start requiring and using Scalar::Util, which prevents UNIVERSAL::can() form generating warnings.
(RT#25873, Dave O'Neill)
- Start requiring Perl6::Junction, which we had previously copy/pasted a bit
of into DFV. (Unlike some of the other Perl6 namespace modules, this one
does /not/ use a source filter, and is addictively simple and useful.
4.50 Mon Dec 4 21:28:09 EST 2006
[ENHANCEMENTS]
- New method for constraint writing: get_filtered_data().
(Graham TerMarsch, Mark Stosberg, RT#22589)
- Stronger profile checking, to insure that all constraint_method values
are code references. Note: This explicitly simplifies things compared to
the 'constraints' system. Bare strings declarations are not allowed with
'constraint_methods'. (Mark Stosberg)
- Numerous documentation and comment typo fixes (Evan Zacks)
- Clarified the docs for overriding msgs (RT#18050)
[BUG FIXES]
- ':all' was documented as a group of constraints to import, but it didn't
work. The documentation was updated to recommend ':closures' instead.
(PURDY, RT#21052)
- FV_eq_with now works with CGI.pm-style objects as input. (Jason Crummack)
- Fix documented example of using constraint methods. (Brian Lozier)
- When a constraint and a constraint_regexp_map matched the same field,
only the ones from the map where being used in one case. This was a
regression since the 4.0 release. A new regression test was also added
for this case. (Matt Christian)
4.49_01 Tue Oct 3 14:13:59 EDT 2006
[ENHANCEMENTS]
- New defaults_regexp_map profile key, useful for dynamically generated
checkbox fields. (Mark Stosberg)
2008-07-18 14:11:11 +02:00
|
|
|
DEPENDS+= p5-Email-Valid-[0-9]*:../../mail/p5-Email-Valid
|
|
|
|
DEPENDS+= p5-Perl6-Junction-[0-9]*:../../devel/p5-Perl6-Junction
|
2004-07-13 06:31:05 +02:00
|
|
|
|
2005-07-13 20:01:18 +02:00
|
|
|
PERL5_PACKLIST= auto/Data/FormValidator/.packlist
|
2004-07-13 06:31:05 +02:00
|
|
|
|
|
|
|
.include "../../lang/perl5/module.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|