Accepting request 122917 from devel:languages:perl

- update to 2.75
- fixes CVE-2012-2451 (bnc#760459)
  * 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 Fcntl (which is a core module) for SEEK_SET() and SEEK_CUR().
  * Now requiring List::MoreUtils (for any() and other functions), File::Temp
  and File::Basename .
  * 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.
  * 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 . (forwarded request 122913 from vitezslav_cizek)

OBS-URL: https://build.opensuse.org/request/show/122917
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Config-IniFiles?expand=0&rev=27
This commit is contained in:
Stephan Kulow 2012-05-31 15:08:02 +00:00 committed by Git OBS Bridge
commit 2e4d6b83c2
4 changed files with 38 additions and 6 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:46f1d740dca8b02ad26ed8798b2c30308dce4d96b6f3780cb9e489de4d008ea9
size 58255

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:503bd5923dbed3940a77d59868ce6fdf956f6aa6faf9105e4feeec0101ef9626
size 62973

View File

@ -1,3 +1,29 @@
-------------------------------------------------------------------
Wed May 30 13:11:50 UTC 2012 - vcizek@suse.com
- update to 2.75
- fixes CVE-2012-2451 (bnc#760459)
* 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 Fcntl (which is a core module) for SEEK_SET() and SEEK_CUR().
* Now requiring List::MoreUtils (for any() and other functions), File::Temp
and File::Basename .
* 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.
* 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 .
-------------------------------------------------------------------
Wed Dec 7 13:53:12 UTC 2011 - coolo@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package perl-Config-IniFiles
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -21,7 +21,7 @@ Name: perl-Config-IniFiles
Summary: Module for reading .ini-style configuration files
License: GPL-1.0+ or Artistic-1.0
Group: Development/Libraries/Perl
Version: 2.68
Version: 2.75
Release: 0
Url: http://search.cpan.org/dist/Config-IniFiles/
#Source: http://www.cpan.org/modules/by-module/Config/Config-IniFiles-2.58.tar.gz
@ -29,12 +29,18 @@ Source: %{cpan_name}-%{version}.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(File::Basename)
BuildRequires: perl(File::Temp)
BuildRequires: perl(IO::Scalar)
BuildRequires: perl(List::MoreUtils)
BuildRequires: perl(Module::Build)
BuildRequires: perl(Test::Pod) >= 1.14
BuildRequires: perl(Test::Pod::Coverage) >= 1.04
BuildRequires: perl-macros
Requires: perl(File::Basename)
Requires: perl(File::Temp)
Requires: perl(IO::Scalar)
Requires: perl(List::MoreUtils)
%{perl_requires}
%description