[SCM] Debian packaging of libperl5i-perl branch, master, updated. ba8a0d590957113629156bab06439465287f5fa3

Salvatore Bonaccorso carnil at debian.org
Tue Aug 16 17:47:16 UTC 2011


The following commit has been merged in the master branch:
commit ba8a0d590957113629156bab06439465287f5fa3
Author: Salvatore Bonaccorso <carnil at debian.org>
Date:   Tue Aug 16 19:47:10 2011 +0200

    Add 0001-Use-core-module-Digest-SHA-instead-of-Digest-SHA1.patch patch to use Digest::SHA from perl core instead of Digest::SHA1.

diff --git a/debian/changelog b/debian/changelog
index 4608a3d..256cd40 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,8 +6,10 @@ libperl5i-perl (2.6.1-2) UNRELEASED; urgency=low
   [ Salvatore Bonaccorso ]
   * debian/copyright: Replace DEP5 Format-Specification URL from
     svn.debian.org to anonscm.debian.org URL.
+  * Add 0001-Use-core-module-Digest-SHA-instead-of-Digest-SHA1.patch
+    patch to use Digest::SHA from perl core instead of Digest::SHA1.
 
- -- Ansgar Burchardt <ansgar at debian.org>  Wed, 27 Jul 2011 18:47:04 +0200
+ -- Salvatore Bonaccorso <carnil at debian.org>  Tue, 16 Aug 2011 19:46:01 +0200
 
 libperl5i-perl (2.6.1-1) unstable; urgency=low
 
diff --git a/debian/patches/0001-Use-core-module-Digest-SHA-instead-of-Digest-SHA1.patch b/debian/patches/0001-Use-core-module-Digest-SHA-instead-of-Digest-SHA1.patch
new file mode 100644
index 0000000..338e737
--- /dev/null
+++ b/debian/patches/0001-Use-core-module-Digest-SHA-instead-of-Digest-SHA1.patch
@@ -0,0 +1,61 @@
+Description: Use core module Digest::SHA instead of Digest::SHA1
+Bug: https://github.com/schwern/perl5i/issues/196
+Origin: https://github.com/doherty/perl5i/commit/184c211aff0c1d1ac6a1dbbab7f0b3d4572a1e72
+Forwarded: not-needed
+Author: Mike Doherty <doherty at cs.dal.ca>
+Reviewed-by: Salvatore Bonaccorso <carnil at debian.org>
+Last-Update: 2011-08-16
+
+--- a/Build.PL
++++ b/Build.PL
+@@ -43,7 +43,7 @@
+         indirect              => '0.22',
+         'JSON'                => '2.17',
+         'YAML::Any'           => '0.70',
+-        'Digest::SHA1'        => '2.09',
++        'Digest::SHA'         => '0',
+         'Digest::MD5'         => '2.36',
+         'Object::ID'          => '0.1.0',
+         "Devel::Declare::MethodInstaller::Simple"       => '0.006000',
+--- a/META.json
++++ b/META.json
+@@ -51,7 +51,7 @@
+             "DateTime::TimeZone::Tzfile" : "0.002",
+             "Devel::Declare::MethodInstaller::Simple" : "0.006000",
+             "Digest::MD5" : "2.36",
+-            "Digest::SHA1" : "2.09",
++            "Digest::SHA" : "0",
+             "File::chdir" : "0.1002",
+             "Hash::Merge::Simple" : "0.04",
+             "IPC::System::Simple" : "1.18",
+--- a/META.yml
++++ b/META.yml
+@@ -185,7 +185,7 @@
+   DateTime::TimeZone::Tzfile: 0.002
+   Devel::Declare::MethodInstaller::Simple: 0.006000
+   Digest::MD5: 2.36
+-  Digest::SHA1: 2.09
++  Digest::SHA: 0
+   File::chdir: 0.1002
+   Hash::Merge::Simple: 0.04
+   IPC::System::Simple: 1.18
+--- a/lib/perl5i/1/Meta/Instance.pm
++++ b/lib/perl5i/1/Meta/Instance.pm
+@@ -84,6 +84,7 @@
+     my %prefix = ( hex => 'hex', base64 => 'b64', binary => undef );
+ 
+     my $module = 'Digest::' . uc $args{algorithm};
++    $module = 'Digest::SHA' if $module eq 'Digest::SHA1'; # Use the core module - GH#196
+     my $digest = defined $prefix{ $args{format} } ? $prefix{ $args{format} } . 'digest' : 'digest';
+ 
+     Module::Load::load($module);
+--- a/lib/perl5i/2/Meta/Instance.pm
++++ b/lib/perl5i/2/Meta/Instance.pm
+@@ -113,6 +113,7 @@
+     my %prefix = ( hex => 'hex', base64 => 'b64', binary => undef );
+ 
+     my $module = 'Digest::' . uc $args{algorithm};
++    $module = 'Digest::SHA' if $module eq 'Digest::SHA1'; # Use the core module - GH#196
+     my $digest = defined $prefix{ $args{format} } ? $prefix{ $args{format} } . 'digest' : 'digest';
+ 
+     $module->require;
diff --git a/debian/patches/series b/debian/patches/series
index 5299247..4a5cc4b 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 spelling.patch
+0001-Use-core-module-Digest-SHA-instead-of-Digest-SHA1.patch

-- 
Debian packaging of libperl5i-perl



More information about the Pkg-perl-cvs-commits mailing list