diff options
author | gls <gls@pkgsrc.org> | 2011-10-06 19:22:02 +0000 |
---|---|---|
committer | gls <gls@pkgsrc.org> | 2011-10-06 19:22:02 +0000 |
commit | 98b08ab99bf667602d3976d04b67c256b7b263ac (patch) | |
tree | dee641778e21b2baebe8451b9e47b33710627ee6 /security | |
parent | 84d4aa449a32509ca86c90268658d33b45fbfc90 (diff) | |
download | pkgsrc-98b08ab99bf667602d3976d04b67c256b7b263ac.tar.gz |
Update security/p5-Crypt-DSA to 1.17
1.17 2011.06.16
- Upgrade to Module::Install 1.01
- Added support for OpenSSL 1.0.0 dsaparam format change.
- Requires perl 5.6 now
- Fixes for 64-bit support
While here, fix SA46275, with upstream patch from
https://rt.cpan.org/Public/Bug/Display.html?id=71421
Diffstat (limited to 'security')
-rw-r--r-- | security/p5-Crypt-DSA/Makefile | 5 | ||||
-rw-r--r-- | security/p5-Crypt-DSA/distinfo | 10 | ||||
-rw-r--r-- | security/p5-Crypt-DSA/patches/patch-aa | 13 | ||||
-rw-r--r-- | security/p5-Crypt-DSA/patches/patch-lib_Crypt_DSA_Util.pm | 19 |
4 files changed, 26 insertions, 21 deletions
diff --git a/security/p5-Crypt-DSA/Makefile b/security/p5-Crypt-DSA/Makefile index 13e54449cc9..1c5d2b573ef 100644 --- a/security/p5-Crypt-DSA/Makefile +++ b/security/p5-Crypt-DSA/Makefile @@ -1,9 +1,8 @@ -# $NetBSD: Makefile,v 1.24 2011/08/14 14:42:47 obache Exp $ +# $NetBSD: Makefile,v 1.25 2011/10/06 19:22:02 gls Exp $ # -DISTNAME= Crypt-DSA-1.16 +DISTNAME= Crypt-DSA-1.17 PKGNAME= p5-${DISTNAME} -PKGREVISION= 4 SVR4_PKGNAME= p5dsa CATEGORIES= security perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Crypt/} diff --git a/security/p5-Crypt-DSA/distinfo b/security/p5-Crypt-DSA/distinfo index 061506fda72..48d35ca5155 100644 --- a/security/p5-Crypt-DSA/distinfo +++ b/security/p5-Crypt-DSA/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.6 2010/02/12 18:16:44 sno Exp $ +$NetBSD: distinfo,v 1.7 2011/10/06 19:22:02 gls Exp $ -SHA1 (Crypt-DSA-1.16.tar.gz) = 2d82e1cb5928bde85e73ff5517ee0f66d06a09fa -RMD160 (Crypt-DSA-1.16.tar.gz) = dbad1e495baeb515e24beb04a07e98c4b6cacd17 -Size (Crypt-DSA-1.16.tar.gz) = 39534 bytes -SHA1 (patch-aa) = 7626d8828a1ca7f4b0e0dcaf7fe802fcbe41e091 +SHA1 (Crypt-DSA-1.17.tar.gz) = 32069da8c04d8bea79b260dda6f94b3000b3df24 +RMD160 (Crypt-DSA-1.17.tar.gz) = a72d486f2b9ec631907a3d848fee0e303fe7e402 +Size (Crypt-DSA-1.17.tar.gz) = 42930 bytes +SHA1 (patch-lib_Crypt_DSA_Util.pm) = e3f3c20ada928c9e9e26829a171da0427ea7da14 diff --git a/security/p5-Crypt-DSA/patches/patch-aa b/security/p5-Crypt-DSA/patches/patch-aa deleted file mode 100644 index 0d6dbcdc4be..00000000000 --- a/security/p5-Crypt-DSA/patches/patch-aa +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-aa,v 1.1 2010/02/12 18:16:44 sno Exp $ - ---- lib/Crypt/DSA/KeyChain.pm.orig 2009-09-11 12:45:37.000000000 +0000 -+++ lib/Crypt/DSA/KeyChain.pm -@@ -53,7 +53,7 @@ sub generate_params { - my $cur_part; - foreach (@res) { - if (/^\s+(\w):\s*$/) { -- $cur_part = $1; -+ $cur_part = lc($1); - next; - } - if (/^\s*((?:[0-9a-f]{2,2}:?)+)\s*$/) { diff --git a/security/p5-Crypt-DSA/patches/patch-lib_Crypt_DSA_Util.pm b/security/p5-Crypt-DSA/patches/patch-lib_Crypt_DSA_Util.pm new file mode 100644 index 00000000000..508f3e46513 --- /dev/null +++ b/security/p5-Crypt-DSA/patches/patch-lib_Crypt_DSA_Util.pm @@ -0,0 +1,19 @@ +$NetBSD: patch-lib_Crypt_DSA_Util.pm,v 1.1 2011/10/06 19:22:02 gls Exp $ + +Fix for SA46275, taken from https://rt.cpan.org/Public/Bug/Display.html?id=71421 + +--- lib/Crypt/DSA/Util.pm.orig 2011-06-17 01:46:42.000000000 +0000 ++++ lib/Crypt/DSA/Util.pm +@@ -64,11 +64,8 @@ sub makerandom { + } + 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 ) . |