summaryrefslogtreecommitdiff
path: root/devel/p5-Config-General
diff options
context:
space:
mode:
authorwiz <wiz>2007-02-27 08:51:15 +0000
committerwiz <wiz>2007-02-27 08:51:15 +0000
commit58b7beb7e7194c6d96a0781184a4a93b781f391f (patch)
treeaf0e9895c19edc0da0a87cb69cb44878458d68b4 /devel/p5-Config-General
parent2f889c1f726f3c4267eadd59e70c6bdba962357b (diff)
downloadpkgsrc-58b7beb7e7194c6d96a0781184a4a93b781f391f.tar.gz
Update to 2.32:
2.32 - fixed rt.cpan.org#24232 - import ENV vars only if defined - fixed rt.cpan.org#20742 - dont' overwrite a var if re-defined in current scope, interpolation failed for re-defined vars and used the value of the var defined in outer scope, not the current one. - fixed rt.cpan.org#17852 - a 0 as blockname were ignored. applied patch by SCOP to t/run.t to test for 0 in blocks. - applied most hints Perl::Critic had about Config::General: o the functions ParseConfig SaveConfig SaveConfigString must now imported implicitly. This might break existing code, but is easily to fix. o using IO::File instead of open(). o General.pm qualifies for "stern" level after all. - added much more tests to t/run.t for 'make test'. - using Test::More now. 2.31 - applied patches by Jason Rhinelander <jagerman@jagerman.com>: o bugfix: multiple levels if include files didn't work properly. o new option -IncludeDirectories, which allows to include all files of a directory. The directory must be specified by -ConfigFile as usual. o new option -IncludeGlob, which allows to use globs (wildcards) to include multiple files. o -ConfigPath can be speciefied using a single scalar value instead of an array if there is only one path. o bugfix: quotes from quoted block names were not removed properly. o fixes and updates for tests (make test) for the above patches. Thanks a lot Jason. - fixed number of tests in run.t - applied suggestion by Eric Kisiel <eric.kisiel@adelphia.com>: ::Extended::keys() returns an empty hash if the referring object is not hash. - fixed bug #14770, "Use of uninitialized value.." during environment variable interpolation. 2.30 - applied patch by Branislav Zahradnik <brano@blueorange.sk> which adds -InterPolateEnv. This allows to use environment variables too. It implies -InterPolateVars. - added object list capability for the ::Extended::obj() method. If a certain key points to an array of hashrefs, then the whole arrayref is returned. Suggested by Alan Hodgkinson <alan@softxs.ch>. 2.29 - applied patch by brian@kronos.com via rt.cpan.org #11211. - applied patch by plasmaball@pchome.com.tw via rt.cpan.org #5846 - added new files to MANIFEST file. - added example.cfg to show the config format. 2.28 - fixed bug in save(), now blocks containing whitespaces will be saved using quotes, in addition the parser observes the quoting feature, added portion about this to the pod doc. pointed out by Jeff Murphy <jcmurphy@jeffmurphy.org>. - added internal list of files opened so far to avoid reading in the same file multiple times. Suggested by Michael Graham. - added new method files() which returns the above list. - added workaround for foolish perl installation on debian systems (croak() doesn't work anymore as of 5.8.4, it's a shame!) - applied patch by Michael Graham which fixes IncludeRelative feature, now an included file is being included relative to the calling config file, not the first one. - added 'make test' targets for files() and include stuff. (by Michael too)
Diffstat (limited to 'devel/p5-Config-General')
-rw-r--r--devel/p5-Config-General/Makefile5
-rw-r--r--devel/p5-Config-General/distinfo8
2 files changed, 6 insertions, 7 deletions
diff --git a/devel/p5-Config-General/Makefile b/devel/p5-Config-General/Makefile
index 7b9a04fb86e..6c1fc48676d 100644
--- a/devel/p5-Config-General/Makefile
+++ b/devel/p5-Config-General/Makefile
@@ -1,10 +1,9 @@
-# $NetBSD: Makefile,v 1.11 2005/10/10 10:48:49 dillo Exp $
+# $NetBSD: Makefile,v 1.12 2007/02/27 08:51:15 wiz Exp $
#
-DISTNAME= Config-General-2.27
+DISTNAME= Config-General-2.32
PKGNAME= p5-${DISTNAME}
SVR4_PKGNAME= p5cfg
-PKGREVISION= 2
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Config/}
diff --git a/devel/p5-Config-General/distinfo b/devel/p5-Config-General/distinfo
index a41d92da6a5..88688d43386 100644
--- a/devel/p5-Config-General/distinfo
+++ b/devel/p5-Config-General/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.5 2005/02/23 22:24:24 agc Exp $
+$NetBSD: distinfo,v 1.6 2007/02/27 08:51:15 wiz Exp $
-SHA1 (Config-General-2.27.tar.gz) = ff4c7a620cb5e34748a64471023268147eaff418
-RMD160 (Config-General-2.27.tar.gz) = b978db18a5a8a5ab0116bff534163ee63ca040fe
-Size (Config-General-2.27.tar.gz) = 36127 bytes
+SHA1 (Config-General-2.32.tar.gz) = b5a3fad454bf99e097eec6d6bfd4038d2efa187e
+RMD160 (Config-General-2.32.tar.gz) = a6052e7e98e6fc20d620cb66dd88a5bb288154ff
+Size (Config-General-2.32.tar.gz) = 43016 bytes