[SCM] Debian packaging of libcrypt-mysql-perl branch, master, updated. 39125e99cb5f651e4478b57ac0bc91f6195fe32e

Salvatore Bonaccorso carnil at debian.org
Thu Aug 11 19:07:00 UTC 2011


The following commit has been merged in the master branch:
commit 3839ff2f9f62f7218fb75d0f402034a0fa89cc9d
Author: Salvatore Bonaccorso <carnil at debian.org>
Date:   Thu Aug 11 20:57:43 2011 +0200

    debian/patches: Add use-Digest-SHA.patch to use Digest::SHA instead of Digest::SHA1.

diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..3175d99
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+use-Digest-SHA.patch
diff --git a/debian/patches/use-Digest-SHA.patch b/debian/patches/use-Digest-SHA.patch
new file mode 100644
index 0000000..e6d850a
--- /dev/null
+++ b/debian/patches/use-Digest-SHA.patch
@@ -0,0 +1,62 @@
+Description: Use Digest::SHA, which is in perl core since
+ 5.9.3 instead of Digest::SHA1. This allows to drop 
+ libdigest-sha1-perl (Build-)Depends.
+ See: http://bugs.debian.org/594273
+Origin: vendor
+Bug: https://rt.cpan.org/Public/Bug/Display.html?id=59918
+Forwarded: yes
+Author: Salvatore Bonaccorso <carnil at debian.org>
+Last-Update: 2011-08-11
+
+--- a/Build.PL
++++ b/Build.PL
+@@ -9,7 +9,7 @@
+     dist_version_from   => 'lib/Crypt/MySQL.pm',
+     requires => {
+         'Test::More' => 0,
+-        'Digest::SHA1' => 0,
++        'Digest::SHA' => 0,
+     },
+     add_to_cleanup      => [ 'Crypt-MySQL-*' ],
+ );
+--- a/META.yml
++++ b/META.yml
+@@ -5,7 +5,7 @@
+ version_from: lib/Crypt/MySQL.pm
+ installdirs:  site
+ requires:
+-    Digest::SHA1:                  0
++    Digest::SHA:                  0
+     Test::More:                    0
+ 
+ distribution_type: module
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -11,7 +11,7 @@
+     PL_FILES            => {},
+     PREREQ_PM => {
+         'Test::More' => 0,
+-        'Digest::SHA1' => 0,
++        'Digest::SHA' => 0,
+     },
+     dist                => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
+     clean               => { FILES => 'Crypt-MySQL-*' },
+--- a/lib/Crypt/MySQL.pm
++++ b/lib/Crypt/MySQL.pm
+@@ -2,7 +2,7 @@
+ 
+ use strict;
+ use vars qw($VERSION @ISA @EXPORT_OK);
+-use Digest::SHA1 qw(sha1 sha1_hex);
++use Digest::SHA qw(sha1 sha1_hex);
+ 
+ BEGIN {
+     $VERSION = '0.04';
+@@ -50,6 +50,6 @@
+ 
+ =head1 SEE ALSO
+ 
+-L<DBD::mysql> L<Digest::SHA1>
++L<DBD::mysql> L<Digest::SHA>
+ 
+ =cut

-- 
Debian packaging of libcrypt-mysql-perl



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