summaryrefslogtreecommitdiff
path: root/cpan
diff options
context:
space:
mode:
authorChris 'BinGOs' Williams <chris@bingosnet.co.uk>2013-07-05 15:20:03 +0100
committerChris 'BinGOs' Williams <chris@bingosnet.co.uk>2013-07-05 15:20:03 +0100
commitaeb2a38c077d17381589199fe51221e5d2dcfba3 (patch)
treea1d8fc98701f6a0bb8a381d78dcb78d04585ce39 /cpan
parent54dac2f34b79343364e681110cc05ab200cb4b4a (diff)
downloadperl-aeb2a38c077d17381589199fe51221e5d2dcfba3.tar.gz
Update Digest-MD5 to CPAN version 2.53
[DELTA] 2013-07-02 Gisle Aas <gisle@ActiveState.com> Release 2.53 Drop File::Spec dependency and don't override installation location for perl-5.12++ Documentation tweaks.
Diffstat (limited to 'cpan')
-rw-r--r--cpan/Digest-MD5/Changes13
-rw-r--r--cpan/Digest-MD5/MD5.pm11
-rw-r--r--cpan/Digest-MD5/Makefile.PL6
3 files changed, 21 insertions, 9 deletions
diff --git a/cpan/Digest-MD5/Changes b/cpan/Digest-MD5/Changes
index 97e1931c33..c29e75494e 100644
--- a/cpan/Digest-MD5/Changes
+++ b/cpan/Digest-MD5/Changes
@@ -1,5 +1,18 @@
+2013-07-02 Gisle Aas <gisle@ActiveState.com>
+
+ Release 2.53
+
+ Drop File::Spec dependency and don't override installation location
+ for perl-5.12++
+
+ Documentation tweaks.
+
+
+
2012-06-08 Gisle Aas <gisle@ActiveState.com>
+ Release 2.52
+
Gisle Aas (3):
Wrong version number in the changelog
The t/threads.t was missing from the MANIFEST
diff --git a/cpan/Digest-MD5/MD5.pm b/cpan/Digest-MD5/MD5.pm
index 8ea2705264..679036f8be 100644
--- a/cpan/Digest-MD5/MD5.pm
+++ b/cpan/Digest-MD5/MD5.pm
@@ -3,7 +3,7 @@ package Digest::MD5;
use strict;
use vars qw($VERSION @ISA @EXPORT_OK);
-$VERSION = '2.52';
+$VERSION = '2.53';
require Exporter;
*import = \&Exporter::import;
@@ -283,11 +283,10 @@ the file:
print Digest::MD5->new->addfile($fh)->hexdigest, " $filename\n";
-Perl 5.8 support Unicode characters in strings. Since the MD5
-algorithm is only defined for strings of bytes, it can not be used on
-strings that contains chars with ordinal number above 255. The MD5
-functions and methods will croak if you try to feed them such input
-data:
+Since the MD5 algorithm is only defined for strings of bytes, it can not be
+used on strings that contains chars with ordinal number above 255 (Unicode
+strings). The MD5 functions and methods will croak if you try to feed them
+such input data:
use Digest::MD5 qw(md5_hex);
diff --git a/cpan/Digest-MD5/Makefile.PL b/cpan/Digest-MD5/Makefile.PL
index a56fe13595..1d9337b1a9 100644
--- a/cpan/Digest-MD5/Makefile.PL
+++ b/cpan/Digest-MD5/Makefile.PL
@@ -5,7 +5,8 @@ use Config qw(%Config);
use ExtUtils::MakeMaker;
my @extra;
-@extra = (DEFINE => "-DU32_ALIGNMENT_REQUIRED") unless free_u32_alignment();
+push(@extra, DEFINE => "-DU32_ALIGNMENT_REQUIRED") unless free_u32_alignment();
+push(@extra, INSTALLDIRS => 'perl') if $] >= 5.008 && $] < 5.012;
if ($^O eq 'VMS') {
if (defined($Config{ccname})) {
@@ -24,7 +25,7 @@ WriteMakefile(
'AUTHOR' => 'Gisle Aas <gisle@activestate.com>',
'LICENSE' => 'perl',
'MIN_PERL_VERSION' => 5.006,
- 'PREREQ_PM' => { 'File::Spec' => 0,
+ 'PREREQ_PM' => {
'Digest::base' => '1.00',
'XSLoader' => 0,
},
@@ -33,7 +34,6 @@ WriteMakefile(
repository => 'http://github.com/gisle/digest-md5',
}
},
- 'INSTALLDIRS' => 'perl',
@extra,
);