[SCM] Packaging of libcrypt-dsa-perl in Debian branch, master, updated. debian/1.17-2-2-g3e43d25

Harlan Lieberman-Berg H.LiebermanBerg at gmail.com
Mon Oct 3 18:40:13 UTC 2011


The following commit has been merged in the master branch:
commit f333f636e2d52e02ef6dca4af1f59994e900e5ee
Author: Harlan Lieberman-Berg <H.LiebermanBerg at gmail.com>
Date:   Mon Oct 3 14:38:50 2011 -0400

    Add patch to remove fallback.

diff --git a/debian/patches/remove-fallback b/debian/patches/remove-fallback
new file mode 100644
index 0000000..f39bb3c
--- /dev/null
+++ b/debian/patches/remove-fallback
@@ -0,0 +1,19 @@
+Description: Remove the ability to fall back to Data::Random
+Forwarded: yes
+Bug: https://rt.cpan.org/Public/Bug/Display.html?id=71421
+Author: Harlan Lieberman-Berg <H.LiebermanBerg at gmail.com>
+--- a/lib/Crypt/DSA/Util.pm
++++ b/lib/Crypt/DSA/Util.pm
+@@ -64,11 +64,8 @@
+         }
+         close $fh;
+     }
+-    elsif ( require Data::Random ) {
+-        $r .= Data::Random::rand_chars( set=>'numeric' ) for 1..$bytes;
+-    }
+     else {
+-        croak "makerandom requires /dev/random or Data::Random";
++        croak "makerandom requires /dev/random";
+     }
+     my $down = $size - 1;
+     $r = unpack 'H*', pack 'B*', '0' x ( $size % 8 ? 8 - $size % 8 : 0 ) .
diff --git a/debian/patches/series b/debian/patches/series
index 68458ac..7a49fa7 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
+remove-fallback
 00_use_digest_sha.diff

-- 
Packaging of libcrypt-dsa-perl in Debian



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