From: Chris 'BinGOs' Williams Date: Wed, 18 May 2011 17:42:08 +0000 (+0100) Subject: Updated Digest-SHA to CPAN version 5.62 X-Git-Tag: v5.15.0~264 X-Git-Url: https://perl5.git.perl.org/perl5.git/commitdiff_plain/e7a1ec001f9096b20c7220c6a516b68e559262af Updated Digest-SHA to CPAN version 5.62 [DELTA] 5.62 Sat May 14 04:00:34 MST 2011 - removed unnecessary loading of MIME::Base64 module -- thanks to dolmen for pointing this out --- diff --git a/Porting/Maintainers.pl b/Porting/Maintainers.pl index e6a19d9..d321877 100755 --- a/Porting/Maintainers.pl +++ b/Porting/Maintainers.pl @@ -598,7 +598,7 @@ use File::Glob qw(:case); 'Digest::SHA' => { 'MAINTAINER' => 'mshelor', - 'DISTRIBUTION' => 'MSHELOR/Digest-SHA-5.61.tar.gz', + 'DISTRIBUTION' => 'MSHELOR/Digest-SHA-5.62.tar.gz', 'FILES' => q[cpan/Digest-SHA], 'EXCLUDED' => [ qw{t/pod.t t/podcover.t examples/dups} ], 'UPSTREAM' => 'cpan', diff --git a/cpan/Digest-SHA/Changes b/cpan/Digest-SHA/Changes index 6bcacdc..80529d3 100644 --- a/cpan/Digest-SHA/Changes +++ b/cpan/Digest-SHA/Changes @@ -1,5 +1,9 @@ Revision history for Perl extension Digest::SHA. +5.62 Sat May 14 04:00:34 MST 2011 + - removed unnecessary loading of MIME::Base64 module + -- thanks to dolmen for pointing this out + 5.61 Wed Mar 9 05:26:36 MST 2011 - corrected bug in 'algorithm' method - fixed -x option in Makefile.PL diff --git a/cpan/Digest-SHA/README b/cpan/Digest-SHA/README index 3d393b5..e83311f 100644 --- a/cpan/Digest-SHA/README +++ b/cpan/Digest-SHA/README @@ -1,4 +1,4 @@ -Digest::SHA version 5.61 +Digest::SHA version 5.62 ======================== Digest::SHA is a complete implementation of the NIST Secure Hash diff --git a/cpan/Digest-SHA/lib/Digest/SHA.pm b/cpan/Digest-SHA/lib/Digest/SHA.pm index f809ce3..0c649c0 100644 --- a/cpan/Digest-SHA/lib/Digest/SHA.pm +++ b/cpan/Digest-SHA/lib/Digest/SHA.pm @@ -7,7 +7,7 @@ use vars qw($VERSION @ISA @EXPORT @EXPORT_OK); use Fcntl; use integer; -$VERSION = '5.61'; +$VERSION = '5.62'; require Exporter; require DynaLoader; @@ -28,19 +28,16 @@ require DynaLoader; sha512224 sha512224_base64 sha512224_hex sha512256 sha512256_base64 sha512256_hex); -# If possible, inherit from Digest::base (which depends on MIME::Base64) - -*addfile = \&Addfile; +# If possible, inherit from Digest::base eval { - require MIME::Base64; require Digest::base; push(@ISA, 'Digest::base'); }; -if ($@) { - *hexdigest = \&Hexdigest; - *b64digest = \&B64digest; -} + +*addfile = \&Addfile; +*hexdigest = \&Hexdigest; +*b64digest = \&B64digest; # The following routines aren't time-critical, so they can be left in Perl diff --git a/cpan/Digest-SHA/shasum b/cpan/Digest-SHA/shasum index 0a584cc..9f3ca4f 100644 --- a/cpan/Digest-SHA/shasum +++ b/cpan/Digest-SHA/shasum @@ -4,8 +4,8 @@ ## ## Copyright (C) 2003-2011 Mark Shelor, All Rights Reserved ## - ## Version: 5.61 - ## Wed Mar 9 05:26:36 MST 2011 + ## Version: 5.62 + ## Sat May 14 04:00:34 MST 2011 ## shasum SYNOPSIS adapted from GNU Coreutils sha1sum. ## Include an "-a" option for algorithm selection, and a @@ -85,7 +85,7 @@ use strict; use Fcntl; use Getopt::Long; -my $VERSION = "5.61"; +my $VERSION = "5.62"; ## Try to use Digest::SHA. If not installed, use the slower diff --git a/cpan/Digest-SHA/src/hmac.c b/cpan/Digest-SHA/src/hmac.c index 12ca2a8..05c8a37 100644 --- a/cpan/Digest-SHA/src/hmac.c +++ b/cpan/Digest-SHA/src/hmac.c @@ -5,8 +5,8 @@ * * Copyright (C) 2003-2011 Mark Shelor, All Rights Reserved * - * Version: 5.61 - * Wed Mar 9 05:26:36 MST 2011 + * Version: 5.62 + * Sat May 14 04:00:34 MST 2011 * */ diff --git a/cpan/Digest-SHA/src/hmac.h b/cpan/Digest-SHA/src/hmac.h index 9a29419..626be6e 100644 --- a/cpan/Digest-SHA/src/hmac.h +++ b/cpan/Digest-SHA/src/hmac.h @@ -5,8 +5,8 @@ * * Copyright (C) 2003-2011 Mark Shelor, All Rights Reserved * - * Version: 5.61 - * Wed Mar 9 05:26:36 MST 2011 + * Version: 5.62 + * Sat May 14 04:00:34 MST 2011 * */ diff --git a/cpan/Digest-SHA/src/sha.c b/cpan/Digest-SHA/src/sha.c index 20f2d71..7020c2e 100644 --- a/cpan/Digest-SHA/src/sha.c +++ b/cpan/Digest-SHA/src/sha.c @@ -5,8 +5,8 @@ * * Copyright (C) 2003-2011 Mark Shelor, All Rights Reserved * - * Version: 5.61 - * Wed Mar 9 05:26:36 MST 2011 + * Version: 5.62 + * Sat May 14 04:00:34 MST 2011 * */ diff --git a/cpan/Digest-SHA/src/sha.h b/cpan/Digest-SHA/src/sha.h index cb7610f..fc07432 100644 --- a/cpan/Digest-SHA/src/sha.h +++ b/cpan/Digest-SHA/src/sha.h @@ -5,8 +5,8 @@ * * Copyright (C) 2003-2011 Mark Shelor, All Rights Reserved * - * Version: 5.61 - * Wed Mar 9 05:26:36 MST 2011 + * Version: 5.62 + * Sat May 14 04:00:34 MST 2011 * */