pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/p5-Config-IniFiles Update devel/p5-Config-IniFil...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e5b79fe6c3a6
branches:  trunk
changeset: 603379:e5b79fe6c3a6
user:      gls <gls%pkgsrc.org@localhost>
date:      Sat May 05 13:40:48 2012 +0000

description:
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.

diffstat:

 devel/p5-Config-IniFiles/Makefile |  6 ++++--
 devel/p5-Config-IniFiles/distinfo |  8 ++++----
 2 files changed, 8 insertions(+), 6 deletions(-)

diffs (34 lines):

diff -r 3a5c4842e9c3 -r e5b79fe6c3a6 devel/p5-Config-IniFiles/Makefile
--- a/devel/p5-Config-IniFiles/Makefile Sat May 05 12:44:44 2012 +0000
+++ b/devel/p5-Config-IniFiles/Makefile Sat May 05 13:40:48 2012 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.29 2011/08/10 08:34:33 adam Exp $
+# $NetBSD: Makefile,v 1.30 2012/05/05 13:40:48 gls Exp $
 
-DISTNAME=      Config-IniFiles-2.68
+DISTNAME=      Config-IniFiles-2.71
 PKGNAME=       p5-${DISTNAME}
 SVR4_PKGNAME=  p5cif
 CATEGORIES=    devel perl5
@@ -14,6 +14,8 @@
 PKG_INSTALLATION_TYPES=        overwrite pkgviews
 PKG_DESTDIR_SUPPORT=   user-destdir
 
+DEPENDS+=              p5-List-MoreUtils-[0-9]*:../../devel/p5-List-MoreUtils
+
 PERL5_MODULE_TYPE=     Module::Build
 PERL5_PACKLIST=                auto/Config/IniFiles/.packlist
 
diff -r 3a5c4842e9c3 -r e5b79fe6c3a6 devel/p5-Config-IniFiles/distinfo
--- a/devel/p5-Config-IniFiles/distinfo Sat May 05 12:44:44 2012 +0000
+++ b/devel/p5-Config-IniFiles/distinfo Sat May 05 13:40:48 2012 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.16 2011/08/10 08:34:33 adam Exp $
+$NetBSD: distinfo,v 1.17 2012/05/05 13:40:48 gls Exp $
 
-SHA1 (Config-IniFiles-2.68.tar.gz) = eed1c092ed84ebca87ac9e47163bb2192ff5db4a
-RMD160 (Config-IniFiles-2.68.tar.gz) = cc1969e9e4775226131371d0f6d4a1dcabe7c9e9
-Size (Config-IniFiles-2.68.tar.gz) = 58255 bytes
+SHA1 (Config-IniFiles-2.71.tar.gz) = 37cbca2241178b1343b1bc13bfb959080986d450
+RMD160 (Config-IniFiles-2.71.tar.gz) = 14cded2ce91786e5383bd355fdce0b57c8db4bdb
+Size (Config-IniFiles-2.71.tar.gz) = 60175 bytes



Home | Main Index | Thread Index | Old Index