[SCM] Debian packaging of libdigest-bubblebabble-perl branch, master, updated. debian/0.02-2

Salvatore Bonaccorso carnil at debian.org
Sat Jan 21 16:09:49 UTC 2012


The following commit has been merged in the master branch:
commit af32c1a16afe9cf1a30e56a0254ea9bff18709a1
Author: Salvatore Bonaccorso <carnil at debian.org>
Date:   Sat Jan 21 16:54:51 2012 +0100

    Add refer-to-Digest-SHA.patch patch
    
    Refer to Digest::SHA instead of Digest::SHA1.

diff --git a/debian/patches/refer-to-Digest-SHA.patch b/debian/patches/refer-to-Digest-SHA.patch
new file mode 100644
index 0000000..9e77137
--- /dev/null
+++ b/debian/patches/refer-to-Digest-SHA.patch
@@ -0,0 +1,44 @@
+Description: Refer to Digest::SHA instead of Digest::SHA1 as
+ Digest::SHA is in perl core since 5.9.3.
+Origin: vendor
+Bug: https://rt.cpan.org/Ticket/Display.html?id=74213
+Forwarded: yes
+Author: Salvatore Bonaccorso <carnil at debian.org>
+Last-Update: 2012-01-21
+
+--- a/lib/Digest/BubbleBabble.pm
++++ b/lib/Digest/BubbleBabble.pm
+@@ -60,7 +60,7 @@
+     my $fingerprint = bubblebabble( Digest => "Pineapple" );
+ 
+     # Create a fingerprint of a SHA-1 hash.
+-    use Digest::SHA1 qw( sha1 );
++    use Digest::SHA qw( sha1 );
+     $fingerprint = bubblebabble( Digest => sha1("hello") );
+ 
+ =head1 DESCRIPTION
+@@ -77,7 +77,7 @@
+ (and, consequently, by I<Net::SSH::Perl>, the Perl SSH
+ implementation) to display easy-to-remember key fingerprints.
+ The key (a DSA or RSA key) is converted into a textual form,
+-digested using I<Digest::SHA1>, and run through I<bubblebabble>
++digested using I<Digest::SHA>, and run through I<bubblebabble>
+ to create the key fingerprint.
+ 
+ =head1 USAGE
+@@ -93,7 +93,7 @@
+ Currently takes only one pair of arguments, the key of
+ which must be I<Digest>, the value of which is the actual
+ message digest I<$digest>. You should generate this message
+-digest yourself using either I<Digest::MD5> of I<Digest::SHA1>.
++digest yourself using either I<Digest::MD5> of I<Digest::SHA>.
+ 
+ Returns the bubble babble form of the digest.
+ 
+@@ -114,4 +114,4 @@
+ Except where otherwise noted, Digest::BubbleBabble is Copyright
+ 2001 Benjamin Trott. All rights reserved.
+ 
+-=cut
+\ No newline at end of file
++=cut
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..008f547
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+refer-to-Digest-SHA.patch

-- 
Debian packaging of libdigest-bubblebabble-perl



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