pkgsrc/devel/p5-Config-IniFiles/Makefile

21 lines
600 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.38 2014/10/09 14:06:14 wiz Exp $
DISTNAME= Config-IniFiles-2.82
PKGNAME= p5-${DISTNAME}
PKGREVISION= 1
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}
Updating package for Perl 5 module Config::IniFiles in devel/p5-Config-IniFiles from 2.71 to 2.77. pkgsrc changes: - bump required version of p5-List-MoreUtils to 0.33 Upstream changes: Version 2.77 ( Thu Jun 21 19:35:23 IDT 2012 ) ------------------------------------------------ * Bump the List::MoreUtils dependency to '0.33'. - https://rt.cpan.org/Ticket/Display.html?id=77930 - Thanks to TJENNESS for the report. Version 2.76 ( Fri Jun 15 17:44:31 IDT 2012 ) ------------------------------------------------ * Correct the documentation regarding the syntax of calling ->WriteConfig(), which always accepts a mandatory filename and not just "->WriteConfig(-delta => 1)". - Thanks to the Mageia Linux QA team at: - https://bugs.mageia.org/show_bug.cgi?id=6024#c17 Version 2.75 ( Fri May 25 15:25:29 IDT 2012 ) ------------------------------------------------ * Add "=encoding utf8" to the POD of lib/Config/IniFiles.pm - The POD contained wide characters and it is now an error in with recent Test::Pod and Pod::Simple. - See for example: http://www.cpantesters.org/cpan/report/89000ebe-a5bc-11e1-a439-fa78ab6c2661 Version 2.74 ( Thu May 24 00:46:37 IDT 2012 ) ------------------------------------------------ * Made sure .ini files are output on Win32 with CR-LF pairs. - Thanks to Ben Johnson for reporting the bug and for a preliminary test script. - Add t/32mswin-outputs-contain-crs.t Version 2.73 ( Mon May 14 10:46:38 IDT 2012 ) ------------------------------------------------ * Regression bug fix: temporary file creation error should generate a warning and return undef() instead of throwing an exception. - https://rt.cpan.org/Ticket/Display.html?id=77039 - Thanks to Adam D. Barrat for noticing that, and Gregor Herrmann from Debian for reporting this issue. Version 2.72 ( Sat May 5 19:19:09 IDT 2012 ) ------------------------------------------------ * More refactoring. * Now requiring Fcntl (which is a core module) for SEEK_SET() and SEEK_CUR(). * Update the contact information on the POD. * Maintainer's special birthday (5-May) release.
2012-07-06 11:02:30 +02:00
DEPENDS+= p5-List-MoreUtils>=0.33:../../devel/p5-List-MoreUtils
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
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"