Fri Feb 12 18:16:44 2010 UTC ()
Updating security/p5-Crypt-DSA from 1.16 to 1.16nb1

- Applying fix from RT#49668 (openssl dsaparam output format change in 1.0
  beta 3 breaks Crypt::DSA::KeyChain), see
  https://rt.cpan.org/Ticket/Display.html?id=49668


(sno)
diff -r1.20 -r1.21 pkgsrc/security/p5-Crypt-DSA/Makefile
diff -r1.5 -r1.6 pkgsrc/security/p5-Crypt-DSA/distinfo
diff -r0 -r1.1 pkgsrc/security/p5-Crypt-DSA/patches/patch-aa

cvs diff -r1.20 -r1.21 pkgsrc/security/p5-Crypt-DSA/Makefile (expand / switch to unified diff)

--- pkgsrc/security/p5-Crypt-DSA/Makefile 2009/09/19 22:22:34 1.20
+++ pkgsrc/security/p5-Crypt-DSA/Makefile 2010/02/12 18:16:44 1.21
@@ -1,18 +1,19 @@ @@ -1,18 +1,19 @@
1# $NetBSD: Makefile,v 1.20 2009/09/19 22:22:34 sno Exp $ 1# $NetBSD: Makefile,v 1.21 2010/02/12 18:16:44 sno Exp $
2# 2#
3 3
4DISTNAME= Crypt-DSA-1.16 4DISTNAME= Crypt-DSA-1.16
5PKGNAME= p5-${DISTNAME} 5PKGNAME= p5-${DISTNAME}
 6PKGREVISION= 1
6SVR4_PKGNAME= p5dsa 7SVR4_PKGNAME= p5dsa
7CATEGORIES= security perl5 8CATEGORIES= security perl5
8MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Crypt/} 9MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Crypt/}
9 10
10MAINTAINER= heinz@NetBSD.org 11MAINTAINER= heinz@NetBSD.org
11HOMEPAGE= http://search.cpan.org/dist/Crypt-DSA/ 12HOMEPAGE= http://search.cpan.org/dist/Crypt-DSA/
12COMMENT= Perl5 module for the DSA public key algorithm 13COMMENT= Perl5 module for the DSA public key algorithm
13LICENSE= ${PERL5_LICENSE} 14LICENSE= ${PERL5_LICENSE}
14 15
15PKG_INSTALLATION_TYPES= overwrite pkgviews 16PKG_INSTALLATION_TYPES= overwrite pkgviews
16PKG_DESTDIR_SUPPORT= user-destdir 17PKG_DESTDIR_SUPPORT= user-destdir
17 18
18DEPENDS+= p5-Data-Buffer>=0.01:../../devel/p5-Data-Buffer 19DEPENDS+= p5-Data-Buffer>=0.01:../../devel/p5-Data-Buffer

cvs diff -r1.5 -r1.6 pkgsrc/security/p5-Crypt-DSA/distinfo (expand / switch to unified diff)

--- pkgsrc/security/p5-Crypt-DSA/distinfo 2009/09/19 22:22:34 1.5
+++ pkgsrc/security/p5-Crypt-DSA/distinfo 2010/02/12 18:16:44 1.6
@@ -1,5 +1,6 @@ @@ -1,5 +1,6 @@
1$NetBSD: distinfo,v 1.5 2009/09/19 22:22:34 sno Exp $ 1$NetBSD: distinfo,v 1.6 2010/02/12 18:16:44 sno Exp $
2 2
3SHA1 (Crypt-DSA-1.16.tar.gz) = 2d82e1cb5928bde85e73ff5517ee0f66d06a09fa 3SHA1 (Crypt-DSA-1.16.tar.gz) = 2d82e1cb5928bde85e73ff5517ee0f66d06a09fa
4RMD160 (Crypt-DSA-1.16.tar.gz) = dbad1e495baeb515e24beb04a07e98c4b6cacd17 4RMD160 (Crypt-DSA-1.16.tar.gz) = dbad1e495baeb515e24beb04a07e98c4b6cacd17
5Size (Crypt-DSA-1.16.tar.gz) = 39534 bytes 5Size (Crypt-DSA-1.16.tar.gz) = 39534 bytes
 6SHA1 (patch-aa) = 7626d8828a1ca7f4b0e0dcaf7fe802fcbe41e091

File Added: pkgsrc/security/p5-Crypt-DSA/patches/Attic/patch-aa
$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*$/) {