pkgsrc/devel/p5-Config-IniFiles/Makefile

22 lines
618 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.29 2011/08/10 08:34:33 adam Exp $
DISTNAME= Config-IniFiles-2.68
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 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"