Automatic conversion of the NetBSD pkgsrc CVS module, use with care
Find a file
grant f2d340cc2a Updated p5-Params-Validate to 0.72.
changes since 0.59:

0.72 Dec 3, 2003

- If a normalize_keys callback returns the same normalized key for two
different inputs, Params::Validate will die.

- The pure Perl implementation had a bug where if the same hash
reference was used for the spec in multiple calls to validate(), then
any call made after a parameter failed a validation check could
exhibit strange behaviors (like parameters passing that shouldn't,
etc.).  This was due to the fact that the Perl implementation uses
each() internally, and was leaving the hash's iterator partially
iterated.  Reported via an apparent problem with DateTime.pm by Jost
Krieger.


0.71 Dec 2, 2003

- Suppressed some annoying "subroutine redefined" warnings if the pure
Perl version ended up being loaded after attempting to load the XS
version.


0.70 Nov 23, 2003

- Any validation call that used a callback leaked memory when using
the XS version.  This was introduced in 0.67, when callbacks started
receiving a reference to the parameters as a second argument.
Reported by Eugene van der Pijll.


0.69 Nov 3, 2003

- The key normalization feature introduced in 0.66 leaked one SV*
every time a parameter _hash_ was run through the XS version of
validate() or validate_with().  This happened if one of
normalize_keys, allow_extra, or ignore_case was set, or if
validate_with() was used.  Upgrading is strongly recommended!
Reported by Ruslan.


0.68 Oct 21, 2003

- Added spiffy new parameter dependency feature.  Implemented by
Daisuke Maki.


0.67 Oct 10, 2003

- The test count for 06-option.t was off.  Reported by Christian
Schaffner.

- Validation callbacks now receive a reference to the (normalized)
parameter hash/array as their second argument.

- Shut up an "unitialized value in subroutine entry" warning caused by
calling validate_pos() with an undef value in the parameter array.
This was introduced in 0.66.


0.66 Oct 08, 2003

- Skip a few more tests under Perl 5.6.0.  Patch from Christian
Schaffner.

- Error messages now include the stringified value of the variable
that was invalid.  Implemented by Daisuke Maki.

- Added a new parameter normalization callback feature, the
"normalize_keys" option.  Implemented by Daisuke Maki.

** The "strip_leading" and "ignore_case" options are now deprecated.
Use the new "normalize" feature instead.


0.65 Aug 07, 2003

- It is now possible to turn validation on and off at runtime.  To
make this easier, it can be set via the PERL_NO_VALIDATION environment
variable, or the $Params::Validate::NO_VALIDATION global variable.  Go
ahead, shoot yourself in the foot with it!


0.64 Jul 14, 2003

- Fix an XS compilation error under 5.6.1:

 Validate.xs: In function `validate_isa':
 Validate.xs:381: `perl_on_error' undeclared (first use in this function)


0.63 Jul 14, 2003

- The XS version of validate_with failed if the params key contained
an array reference containing a single hash reference.  Since this
works with the pure Perl version, it should work with the XS version.
Reported by Diab Jerius.  Bug #2791 on rt.cpan.org.


0.62 Jun 25, 2003

- Remove a warn() statement left in from debugging.  Reported by Shane
McCarron.


0.61 Jun 23, 2003

- The last release had some debugging code left in which tried to load
Devel::StackTrace.  Reported by Iain Truskett.


0.60 Jun 21, 2003

- Fixed a weird segfault that could occur with Perl 5.6.1 when a
user-defined on_fail callback died with an object as its argument.
This only happened with the XS version of the code.  Reported by Ken
Williams.

The end result is that the version of the XS code that is used with
Perl 5.6.0 and 5.6.1 is slightly slower than that used with 5.00503 or
5.8.0, as it requires an additional Perl-level wrapper.

- Use XSLoader in preference to Dynaloader with Perl 5.6.0+.
2003-12-29 12:03:30 +00:00
archivers Bump PKGREVISION due to gnome-vfs2 update (fam removed as dependancy). 2003-12-28 23:37:05 +00:00
audio Bump PKGREVISION due to gnome-vfs2 update (fam removed as dependancy). 2003-12-28 23:37:05 +00:00
benchmarks Adjust dependancies and bump PKGREVISION due to: 2003-12-24 13:02:00 +00:00
biology Update to 9.5: 2003-12-25 14:46:17 +00:00
cad s/@netbsd.org/@NetBSD.org/ in MAINTAINER. 2003-12-24 09:53:47 +00:00
chat Bump PKGREVISION due to gnome-vfs2 update (fam removed as dependancy). 2003-12-28 23:37:05 +00:00
comms Remove me as maintainer of this package. 2003-12-28 21:54:31 +00:00
converters s/@netbsd.org/@NetBSD.org/ in MAINTAINER. 2003-12-24 09:53:47 +00:00
cross Deal with info files. 2003-12-26 13:16:31 +00:00
databases Bump PKGREVISION due to gnome-vfs2 update (fam removed as dependancy). 2003-12-28 23:37:05 +00:00
devel Updated p5-Params-Validate to 0.72. 2003-12-29 12:03:30 +00:00
distfiles
doc note update of p5-Module-Build to 0.21. 2003-12-29 11:55:29 +00:00
editors Bump PKGREVISION due to gnome-vfs2 update (fam removed as dependancy). 2003-12-28 23:37:05 +00:00
emulators Add blinkensim. 2003-12-27 23:04:11 +00:00
finance Update gnucash to version 1.8.8, the latest stable version. 2003-12-11 22:57:37 +00:00
fonts Bump PKGREVISION due to gnome-vfs2 update (fam removed as dependancy). 2003-12-28 23:37:05 +00:00
games Update to 2.4.1, thanks to Min Sik Kim and Soren Jacobsen for doing this. 2003-12-29 00:02:47 +00:00
geography Add/enable mapserver. 2003-10-05 17:42:22 +00:00
graphics Bump PKGREVISION due to gnome-vfs2 update (fam removed as dependancy). 2003-12-28 23:37:05 +00:00
ham Update HOMEPAGE and/or MASTER_SITES 2003-09-19 23:08:22 +00:00
inputmethod Update to 0.12 from Min Sik Kim PR pkg/23795. 2003-12-20 05:18:37 +00:00
lang + py23-html-docs 2003-12-24 10:12:12 +00:00
licenses OSnert's license: no redistribution. 2003-10-27 22:53:32 +00:00
mail Bump PKGREVISION due to gnome-vfs2 update (fam removed as dependancy). 2003-12-28 23:37:05 +00:00
math Bump PKGREVISION due to gnome-vfs2 update (fam removed as dependancy). 2003-12-28 23:37:05 +00:00
mbone Add RCS IDs 2003-10-18 13:20:31 +00:00
meta-pkgs Bump PKGREVISION due to gnome-vfs2 update (fam removed as dependancy). 2003-12-28 23:37:05 +00:00
misc Bump PKGREVISION due to gnome-vfs2 update (fam removed as dependancy). 2003-12-28 23:37:05 +00:00
mk Reinstate the fix in revision 1.6 2003-12-29 02:55:22 +00:00
net Move inclusion of mk/bsd.prefs.mk up a couple of lines to make 2003-12-29 02:02:38 +00:00
news Update tin to 1.6.1 2003-12-16 00:11:48 +00:00
packages
parallel Change MAINTAINER to "tech-pkg" instead of the previous "packages". 2003-12-03 22:14:45 +00:00
pkgtools Update to 3.66: warn if MAINTAINER contains @netbsd.org instead of @NetBSD.org. 2003-12-24 09:54:39 +00:00
print Bump PKGREVISION due to gnome-vfs2 update (fam removed as dependancy). 2003-12-28 23:37:05 +00:00
security Bump PKGREVISION due to gnome-vfs2 update (fam removed as dependancy). 2003-12-28 23:37:05 +00:00
shells AFAICT from logs, uebayasi@ is the maintainer, so set ZSH_MAINTAINER 2003-12-21 10:22:26 +00:00
sysutils Correct path to devel/pkgconfig/buildlink2.mk. 2003-12-29 02:13:38 +00:00
templates These pkgs are known to support IPv6. 2003-10-06 00:27:15 +00:00
textproc Rename files that have apostrophes in their name. Fixes problems with 2003-12-28 16:15:09 +00:00
time * comment out MASTER_SITES for now, this doesn't seem to be fetchable 2003-12-28 16:21:35 +00:00
wm Bump PKGREVISION due to gnome-vfs2 update (fam removed as dependancy). 2003-12-28 23:37:05 +00:00
www Bump PKGREVISION due to gnome-vfs2 update (fam removed as dependancy). 2003-12-28 23:37:05 +00:00
x11 Add and enable gnome-themes-extra. 2003-12-29 11:37:01 +00:00
Makefile Add a geography category, in anticipatino of a number of pending packages. 2003-10-04 19:34:46 +00:00
Packages.txt Correct path in pre-build.local example. 2003-12-14 21:47:32 +00:00
pkglocate Use "printf" instead of "echo -n" because it's more portable. 2003-05-31 14:20:46 +00:00
README the full documentation has more up-to-date information than the 2003-06-23 07:48:01 +00:00

$NetBSD: README,v 1.16 2003/06/23 07:48:01 grant Exp $

The pkgsrc documentation now lives on the NetBSD web site.

Full documentation, one file per chapter:
	http://www.NetBSD.org/Documentation/pkgsrc/

Full documentation in a single file:
	http://www.NetBSD.org/Documentation/pkgsrc/pkgsrc.html

Full documentation in a single plain-text file:
	http://www.NetBSD.org/Documentation/pkgsrc/pkgsrc.txt

pkgsrc.txt and pkgsrc.html are also provided in the top level pkgsrc
directory (this directory).