[SCM] Debian packaging of libmojomojo-perl branch, master, updated. debian/1.05+dfsg-1-3-g30bd357

gregor herrmann gregoa at debian.org
Sat Jan 14 16:17:31 UTC 2012


The following commit has been merged in the master branch:
commit 82d9e8b23d570dc61d4d4eb763d9f3b6103c3df7
Author: gregor herrmann <gregoa at debian.org>
Date:   Sat Jan 14 17:12:37 2012 +0100

    Add patch to use Digest::SHA instead of Digest::SHA1.
    
    Closes: #655825

diff --git a/debian/patches/digest-sha.patch b/debian/patches/digest-sha.patch
new file mode 100644
index 0000000..35ecd26
--- /dev/null
+++ b/debian/patches/digest-sha.patch
@@ -0,0 +1,27 @@
+Description: use Digest::SHA (in core) instead of Digest::SHA1 (removed from Debian)
+Origin: vendor
+Bug-Debian: http://bugs.debian.org/655825
+Author: gregor herrmann <gregoa at debian.org>
+Last-Update: 2012-01-14
+Forwarded: no
+
+--- a/lib/MojoMojo/Schema/Result/Person.pm
++++ b/lib/MojoMojo/Schema/Result/Person.pm
+@@ -3,7 +3,7 @@
+ use strict;
+ use warnings;
+ 
+-use Digest::SHA1;
++use Digest::SHA;
+ 
+ use parent qw/MojoMojo::Schema::Base::Result/;
+ 
+@@ -228,7 +228,7 @@
+ 
+ sub hashed {
+     my ( $self, $secret ) = @_;
+-    return Digest::SHA1::sha1_hex( $self->id . $secret );
++    return Digest::SHA::sha1_hex( $self->id . $secret );
+ }
+ 
+ # FIXME: the formatter is arbitrarily taken to be Textile; it could be MultiMarkdown
diff --git a/debian/patches/series b/debian/patches/series
index 5299247..35c2d49 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 spelling.patch
+digest-sha.patch

-- 
Debian packaging of libmojomojo-perl



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