From 52e999e0b3e7ae4cf3dd785a38958bbae1fd4939 Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova Date: Aug 02 2016 12:55:29 +0000 Subject: Avoid loading optional modules from default . (CVE-2016-1238) --- diff --git a/perl-Encode.spec b/perl-Encode.spec index da45b30..60697b5 100644 --- a/perl-Encode.spec +++ b/perl-Encode.spec @@ -8,7 +8,7 @@ Version: %{cpan_version} # perl-encoding sub-package has independent version which does not change # often and consecutive builds would clash on perl-encoding NEVRA. This is the # same case as in perl.spec. -Release: 10%{?dist} +Release: 11%{?dist} Summary: Character encodings in Perl # ucm: UCD # other files: GPL+ or Artistic @@ -16,6 +16,8 @@ License: (GPL+ or Artistic) and UCD Group: Development/Libraries URL: http://search.cpan.org/dist/Encode/ Source0: http://www.cpan.org/authors/id/D/DA/DANKOGAI/Encode-%{cpan_version}.tar.gz +#Avoid loading optional modules from default . (CVE-2016-1238) +Patch0: Encode-2.84-CVE-2016-1238-avoid-loading-optional-modules-from.patch BuildRequires: coreutils BuildRequires: findutils BuildRequires: make @@ -126,6 +128,7 @@ your own encoding to perl. No knowledge of XS is necessary. %prep %setup -q -n Encode-%{cpan_version} +%patch0 -p1 %build # Additional scripts can be installed by appending MORE_SCRIPTS, UCM files by @@ -167,6 +170,9 @@ make test %{perl_vendorarch}/Encode/encode.h %changelog +* Tue Aug 02 2016 Jitka Plesnikova - 4:2.84-11 +- Avoid loading optional modules from default . (CVE-2016-1238) + * Sat May 14 2016 Jitka Plesnikova - 4:2.84-10 - Increase epoch to favour standalone package