pkgsrc/devel/p5-Config-IniFiles/Makefile

24 lines
684 B
Makefile
Raw Normal View History

Update devel/p5-Config-IniFiles to 2.71 Fixes CVE-2012-2451. pkgsrc changes: --------------- - p5-List-MoreUtils is required Upstream Changes: ----------------- Version 2.71: ( Wed May 2 10:59:04 IDT 2012 ) ------------------------------------------------ * SECURITY BUG FIX: Config::IniFiles used to write to a temporary filename with a predictable name ("${filename}-new") which opens the door for potential exploits. * Now requiring List::MoreUtils (for any() and other functions), File::Temp and File::Basename . * Add "use warnings;" to lib/Config/IniFiles.pm . * More refactoring. Version 2.70: ( Fri Apr 6 12:47:25 IDT 2012 ) ------------------------------------------------ * Fix the test dependency (in the new t/31comments_with_spaces.t test) on IO::stringy (now writing it to a file). - This caused some CPAN Testers failures such as: - http://www.cpantesters.org/cpan/report/c16b9978-7f40-11e1-9d6f-f6dbfa7543f5 * Modernized some of the open() calls in the test files. - three args open, lexcial file handles, etc. Version 2.69: ( Thu Apr 5 12:05:46 IDT 2012 ) ------------------------------------------------ * Fix https://sourceforge.net/tracker/?func=detail&aid=3388382&group_id=6926&atid=106926 - "Trailing comments with whitespace are not recognised" - Thanks to briconaut for the report and to rbowen for the patch and test. * Add the method ->OutputConfigToFileHandle which is a more explicit and safer version of ->OutputConfig. - ->OutputConfig now uses it. - all existing tests pass, and a new test was added to t/15store-and-retrieve-here-doc-terminator.t . * Started refactoring the code. - Expand tabs to spaces. - many other small changes.
2012-05-05 15:40:48 +02:00
# $NetBSD: Makefile,v 1.30 2012/05/05 13:40:48 gls Exp $
Update devel/p5-Config-IniFiles to 2.71 Fixes CVE-2012-2451. pkgsrc changes: --------------- - p5-List-MoreUtils is required Upstream Changes: ----------------- Version 2.71: ( Wed May 2 10:59:04 IDT 2012 ) ------------------------------------------------ * SECURITY BUG FIX: Config::IniFiles used to write to a temporary filename with a predictable name ("${filename}-new") which opens the door for potential exploits. * Now requiring List::MoreUtils (for any() and other functions), File::Temp and File::Basename . * Add "use warnings;" to lib/Config/IniFiles.pm . * More refactoring. Version 2.70: ( Fri Apr 6 12:47:25 IDT 2012 ) ------------------------------------------------ * Fix the test dependency (in the new t/31comments_with_spaces.t test) on IO::stringy (now writing it to a file). - This caused some CPAN Testers failures such as: - http://www.cpantesters.org/cpan/report/c16b9978-7f40-11e1-9d6f-f6dbfa7543f5 * Modernized some of the open() calls in the test files. - three args open, lexcial file handles, etc. Version 2.69: ( Thu Apr 5 12:05:46 IDT 2012 ) ------------------------------------------------ * Fix https://sourceforge.net/tracker/?func=detail&aid=3388382&group_id=6926&atid=106926 - "Trailing comments with whitespace are not recognised" - Thanks to briconaut for the report and to rbowen for the patch and test. * Add the method ->OutputConfigToFileHandle which is a more explicit and safer version of ->OutputConfig. - ->OutputConfig now uses it. - all existing tests pass, and a new test was added to t/15store-and-retrieve-here-doc-terminator.t . * Started refactoring the code. - Expand tabs to spaces. - many other small changes.
2012-05-05 15:40:48 +02:00
DISTNAME= Config-IniFiles-2.71
PKGNAME= p5-${DISTNAME}
SVR4_PKGNAME= p5cif
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Config/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://search.cpan.org/dist/Config-IniFiles/
COMMENT= Perl module for reading .ini-style configuration files
LICENSE= ${PERL5_LICENSE}
PKG_INSTALLATION_TYPES= overwrite pkgviews
2008-06-20 03:09:05 +02:00
PKG_DESTDIR_SUPPORT= user-destdir
Update devel/p5-Config-IniFiles to 2.71 Fixes CVE-2012-2451. pkgsrc changes: --------------- - p5-List-MoreUtils is required Upstream Changes: ----------------- Version 2.71: ( Wed May 2 10:59:04 IDT 2012 ) ------------------------------------------------ * SECURITY BUG FIX: Config::IniFiles used to write to a temporary filename with a predictable name ("${filename}-new") which opens the door for potential exploits. * Now requiring List::MoreUtils (for any() and other functions), File::Temp and File::Basename . * Add "use warnings;" to lib/Config/IniFiles.pm . * More refactoring. Version 2.70: ( Fri Apr 6 12:47:25 IDT 2012 ) ------------------------------------------------ * Fix the test dependency (in the new t/31comments_with_spaces.t test) on IO::stringy (now writing it to a file). - This caused some CPAN Testers failures such as: - http://www.cpantesters.org/cpan/report/c16b9978-7f40-11e1-9d6f-f6dbfa7543f5 * Modernized some of the open() calls in the test files. - three args open, lexcial file handles, etc. Version 2.69: ( Thu Apr 5 12:05:46 IDT 2012 ) ------------------------------------------------ * Fix https://sourceforge.net/tracker/?func=detail&aid=3388382&group_id=6926&atid=106926 - "Trailing comments with whitespace are not recognised" - Thanks to briconaut for the report and to rbowen for the patch and test. * Add the method ->OutputConfigToFileHandle which is a more explicit and safer version of ->OutputConfig. - ->OutputConfig now uses it. - all existing tests pass, and a new test was added to t/15store-and-retrieve-here-doc-terminator.t . * Started refactoring the code. - Expand tabs to spaces. - many other small changes.
2012-05-05 15:40:48 +02:00
DEPENDS+= p5-List-MoreUtils-[0-9]*:../../devel/p5-List-MoreUtils
Update from version 2.38nb3 to 2.45. Pkgsrc changes: o Add commented-out HOMEPAGE using search.cpan.org Upstream changes: Version 2.45: ( Sat Dec 27 17:21:45 IST 2008 ) ----------------------------------------------- * Fixed bug #1230339: - https://sourceforge.net/tracker/index.php?func=detail&aid=1230339&group_id=6926&atid=106926 - Can't store and retrive "\nEOT\n" - Fixed by checking for the existence of the here-doc terminator in the string, and if so appending more characters. * Fixed bug #1565180 - https://sourceforge.net/tracker/index.php?func=detail&aid=1565180&group_id=6926&atid=106926 - -nocase breaks -default. - If a default-values section is specified, then -nocase did not look it up if it's not lowercase. * Fixed bug #1831654 - https://sourceforge.net/tracker/index.php?func=detail&aid=1831654&group_id=6926&atid=106926 - multiline-values are tainted. - Added a test as t/17untainted-multiline-values.t Version 2.44: ( Thu Dec 25 11:44:07 IST 2008 ) ----------------------------------------------- * Eliminated an assignment of $VERSION into itself to "get rid of warnings". Only caused warnings at Build.PL, and is unnecessary now that we "use vars". Version 2.43: ( Thu Dec 4 18:56:02 IST 2008 ) ----------------------------------------------- * Placed IniFiles.pm under lib/Config/IniFiles.pm. * Added a Build.PL file for the distribution. * Moved the ChangeLog to its own file - Changes. * Made the README contain the useful information and nothing else - previously it was a copy of the module's entire POD. * Added a regression test for: https://sourceforge.net/tracker/index.php?func=detail&aid=778593&group_id=6926&atid=106926 When copying tied-hashes representing sections with multiline values as keys, one used to get a reference instead of a copy. This was fixed in SVN but not in CPAN. * Added a test for opening an empty file, inspired by: https://sourceforge.net/tracker/index.php?func=detail&aid=927111&group_id=6926&atid=106926 * Added a fix for this bug: https://sourceforge.net/tracker/index.php?func=detail&aid=767913&group_id=6926&atid=106926 With a test that I wrote myself: in list context, ->val() returned the list containing (undef()) if there was no such key. Now returning the empty list which evaluates to false. * Added a test for bug "[ 2030786 ] Brackets within values are treated as section headers" It seems to be fixed on SVN. Revision 2.40 2003/12/08 10:33:13 domq Documentation tidyup Revision 2.39 2003/12/06 07:54:21 wadg [By Proxy for domq] * Encapsulation of internal data structures even for use within the class: e.g. ReadConfig() and the TIEHASH interface operate using accessor methods on $self. Causes massive simplification of the code. * TIEHASH interface made load-on-demand. Order of each() in TIEHASH same as configuration file's order (i.e. $self->Sections() and $self->Parameters()). * push() and exists() methods * -allowempty and -deltas parameters to new() * support for loading config from a SCALAR reference. Unfortunately this also requires a small patch to IO::Scalar, whose author has yet to respond to my email * ->{myparms} and ->{mysects} fields, supporting -delta=>1 option to WriteConfig() * _assert_invariants() method (used only in t/01basic.t and t/02weird.t, maybe should be packaged otherwise) Revision 2.39 2003/11/10 15:37:48 dom * Encapsulation of internal data structures even for use within the class: e.g. ReadConfig() and the TIEHASH interface operate using accessor methods on $self. Causes massive simplification of the code. * TIEHASH interface made load-on-demand. Order of each() in TIEHASH same as configuration file's order (i.e. $self->Sections() and $self->Parameters()). * push() and exists() methods * -allowempty and -deltas parameters to new() * support for loading config from a SCALAR reference. Unfortunately this also requires a small patch to IO::Scalar, whose author has yet to respond to my email * ->{myparms} and ->{mysects} fields, supporting -delta=>1 option to WriteConfig() * _assert_invariants() method (used only in t/01basic.t and t/02weird.t, maybe should be packaged otherwise)
2009-01-04 18:45:43 +01:00
PERL5_MODULE_TYPE= Module::Build
PERL5_PACKLIST= auto/Config/IniFiles/.packlist
2002-10-20 19:45:59 +02:00
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"