update to Crypt-DSA-0.13
based on a diff from Jasper Lievisse Adriaanse <jasper at nedbsd.nl>
This commit is contained in:
parent
818ff5b3d7
commit
7871abdc22
@ -1,8 +1,8 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2005/02/23 20:08:48 sturm Exp $
|
||||
# $OpenBSD: Makefile,v 1.2 2005/12/12 20:50:12 sturm Exp $
|
||||
|
||||
COMMENT= "DSA Signatures and Key Generation"
|
||||
|
||||
DISTNAME= Crypt-DSA-0.12
|
||||
DISTNAME= Crypt-DSA-0.13
|
||||
PKGNAME= p5-${DISTNAME}
|
||||
CATEGORIES= security perl5
|
||||
|
||||
@ -19,7 +19,6 @@ MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Crypt/}
|
||||
BUILD_DEPENDS= ${RUN_DEPENDS}
|
||||
RUN_DEPENDS= ::converters/p5-Convert-PEM \
|
||||
::devel/p5-Data-Buffer \
|
||||
::security/p5-Crypt-Random \
|
||||
::security/p5-Digest-SHA1
|
||||
|
||||
CONFIGURE_STYLE=perl
|
||||
|
@ -1,4 +1,4 @@
|
||||
MD5 (Crypt-DSA-0.12.tar.gz) = 7324f8d65f041b153b6b4beeaeb9a953
|
||||
RMD160 (Crypt-DSA-0.12.tar.gz) = 1f0a427a0ef21e0822cc2c99fb18a0b02b7ac115
|
||||
SHA1 (Crypt-DSA-0.12.tar.gz) = 1a90589b34102f2a000f4ae91c183ebc542fb096
|
||||
SIZE (Crypt-DSA-0.12.tar.gz) = 11336
|
||||
MD5 (Crypt-DSA-0.13.tar.gz) = 269261448ecc6b3b82a854e3b774c4ae
|
||||
RMD160 (Crypt-DSA-0.13.tar.gz) = 6ab32cd4abe0141e5fba7337964bb17cda8ea4d8
|
||||
SHA1 (Crypt-DSA-0.13.tar.gz) = fdb198be9428e860086a808c656a7386df5fb603
|
||||
SIZE (Crypt-DSA-0.13.tar.gz) = 28178
|
||||
|
12
security/p5-Crypt-DSA/patches/patch-lib_Crypt_DSA_Util_pm
Normal file
12
security/p5-Crypt-DSA/patches/patch-lib_Crypt_DSA_Util_pm
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-lib_Crypt_DSA_Util_pm,v 1.1 2005/12/12 20:50:12 sturm Exp $
|
||||
--- lib/Crypt/DSA/Util.pm.orig Mon Dec 12 21:25:08 2005
|
||||
+++ lib/Crypt/DSA/Util.pm Mon Dec 12 21:26:10 2005
|
||||
@@ -50,7 +50,7 @@ sub makerandom {
|
||||
my %param = @_;
|
||||
my $size = $param{Size};
|
||||
my $bytes = int($size / 8) + 1;
|
||||
- sysopen my $fh, '/dev/random', O_RDONLY
|
||||
+ sysopen my $fh, '/dev/arandom', O_RDONLY
|
||||
or return;
|
||||
my($r, $read) = ('', 0);
|
||||
while ($read < $bytes) {
|
Loading…
Reference in New Issue
Block a user