[SCM] Debian packaging of libcrypt-openssl-dsa-perl branch, master, updated. debian/0.13-6-9-ga4e90a2

Salvatore Bonaccorso carnil at debian.org
Wed Oct 24 07:07:04 UTC 2012


The following commit has been merged in the master branch:
commit 26ef4218dda283050298faba188282696b9c122a
Author: Salvatore Bonaccorso <carnil at debian.org>
Date:   Wed Oct 24 08:43:49 2012 +0200

    Drop use-Digest-SHA.patch patch
    
    Patch was applied upstream.

diff --git a/debian/patches/series b/debian/patches/series
index 413ec6b..95867ad 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,4 +1,3 @@
 Makefile.PL-no-ssl-in-LIBS.patch
 fix-manpage-errors.patch
-use-Digest-SHA.patch
 format_string_fix.patch
diff --git a/debian/patches/use-Digest-SHA.patch b/debian/patches/use-Digest-SHA.patch
deleted file mode 100644
index 77e6500..0000000
--- a/debian/patches/use-Digest-SHA.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-Description: Use Digest::SHA instead of Digest::SHA1
-Origin: vendor
-Bug: http://rt.cpan.org/Ticket/Display.html?id=60271
-Forwarded: yes
-Author: Ansgar Burchardt <ANSGAR at cpan.org>
-Last-Update: 2011-08-05
-
---- a/t/90-openssl-compat.t
-+++ b/t/90-openssl-compat.t
-@@ -11,7 +11,7 @@
- 
- BEGIN { plan tests => 84 }
- 
--my $HAS_SHA1 = eval "use Digest::SHA1; 1;";
-+my $HAS_SHA1 = eval "use Digest::SHA; 1;";
- my ($OPEN_SSL, $testable);
- if($^O !~ /mswin32/i) {
-   $OPEN_SSL = `which openssl` || "/usr/bin/openssl";
-@@ -23,7 +23,7 @@
-   eval{`openssl version`};
-   if(!$@) {$testable = 1 && $HAS_SHA1}
-   }
--my $why_skip = $HAS_SHA1 ? "Need openssl binary in path" : "Need Digest::SHA1 to test";
-+my $why_skip = $HAS_SHA1 ? "Need openssl binary in path" : "Need Digest::SHA to test";
- 
- my $dsa = Crypt::OpenSSL::DSA->generate_parameters( 512, "foo" );
- $dsa->generate_key;
-@@ -43,7 +43,7 @@
-     my %done;  # { zero => $ct, nonzero => $ct }
-     for (1..$to_do) {
-         my $plain = "This is test number $_";
--        my $msg = Digest::SHA1::sha1($plain);
-+        my $msg = Digest::SHA::sha1($plain);
-         my $type = ($msg =~ /\x00/) ? "zero" : "nonzero";
-         next if $done{$type}++ >= $of_each;
- 

-- 
Debian packaging of libcrypt-openssl-dsa-perl



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