[Orca-checkins] rev 264 - in trunk/orca: . packages/Digest-MD5-2.29 packages/Digest-MD5-2.30 packages/Digest-MD5-2.30/t

Blair Zajac blair at orcaware.com
Thu Oct 9 10:45:24 PDT 2003


Author: blair
Date: Thu Oct  9 10:45:03 2003
New Revision: 264

Added:
   trunk/orca/packages/Digest-MD5-2.30/
      - copied from rev 263, trunk/orca/packages/Digest-MD5-2.29/
Removed:
   trunk/orca/packages/Digest-MD5-2.29/
Modified:
   trunk/orca/INSTALL
   trunk/orca/configure.in
   trunk/orca/packages/Digest-MD5-2.30/Changes
   trunk/orca/packages/Digest-MD5-2.30/MD5.pm
   trunk/orca/packages/Digest-MD5-2.30/Makefile.PL
   trunk/orca/packages/Digest-MD5-2.30/t/align.t
   trunk/orca/packages/Digest-MD5-2.30/t/files.t
   trunk/orca/packages/Digest-MD5-2.30/t/utf8.t
Log:
Upgrade Digest::MD5 from 2.29 to 2.30 and require the new version for
Orca.

* INSTALL:
  Update all references to Digest::MD5's version number from 2.29 to
  2.30.

* configure.in:
  Bump Digest::MD5's version number to 2.30.

* packages/Digest-MD5-2.30:
  Renamed from packages/Digest-MD5-2.29.  Directory contents updated
  from Digest-MD5-2.30.tar.gz.


Modified: trunk/orca/INSTALL
==============================================================================
--- trunk/orca/INSTALL	(original)
+++ trunk/orca/INSTALL	Thu Oct  9 10:45:03 2003
@@ -173,7 +173,7 @@
     Data::Dumper            >= 2.101       >= 2.101     2.101
     Date::Parse             Not required by Orca        2.24
     Devel::DProf            Not required by Orca        19990108
-    Digest::MD5             >= 2.29        >= 2.29      2.29
+    Digest::MD5             >= 2.30        >= 2.30      2.30
     Math::IntervalSearch    >= 1.05        >= 1.05      1.05
     RRDs                    >= 1.000451    >= 1.0.45    1.0.45
     Storable                >= 2.07        >= 2.07      2.07
@@ -227,10 +227,10 @@
 
     Digest::MD5
 
-      http://www.perl.com/CPAN/authors/id/G/GA/GAAS/Digest-MD5-2.29.tar.gz
+      http://www.perl.com/CPAN/authors/id/G/GA/GAAS/Digest-MD5-2.30.tar.gz
 
-      % gunzip -c Digest-MD5-2.29.tar.gz | tar xvf -
-      % cd Digest-MD5-2.29
+      % gunzip -c Digest-MD5-2.30.tar.gz | tar xvf -
+      % cd Digest-MD5-2.30
       % perl Makefile.PL
       % make
       % make test

Modified: trunk/orca/configure.in
==============================================================================
--- trunk/orca/configure.in	(original)
+++ trunk/orca/configure.in	Thu Oct  9 10:45:03 2003
@@ -33,8 +33,8 @@
 DATE_PARSE_VER=2.24
 DEVEL_DPROF_DIR=DProf-19990108
 DEVEL_DPROF_VER=19990108
-DIGEST_MD5_DIR=Digest-MD5-2.29
-DIGEST_MD5_VER=2.29
+DIGEST_MD5_DIR=Digest-MD5-2.30
+DIGEST_MD5_VER=2.30
 MATH_INTERVALSEARCH_DIR=Math-Interpolate-1.05
 MATH_INTERVALSEARCH_VER=1.05
 RRDTOOL_DIR=rrdtool-1.0.45

Modified: trunk/orca/packages/Digest-MD5-2.30/Changes
==============================================================================
--- trunk/orca/packages/Digest-MD5-2.29/Changes	(original)
+++ trunk/orca/packages/Digest-MD5-2.30/Changes	Thu Oct  9 10:45:03 2003
@@ -1,3 +1,12 @@
+2003-10-09   Gisle Aas <gisle at ActiveState.com>
+
+   Release 2.30
+
+   Some tweaks to make the module build on perl-5.004 and
+   perl-5.005 again.
+
+
+
 2003-10-06   Gisle Aas <gisle at ActiveState.com>
 
    Release 2.29

Modified: trunk/orca/packages/Digest-MD5-2.30/MD5.pm
==============================================================================
--- trunk/orca/packages/Digest-MD5-2.29/MD5.pm	(original)
+++ trunk/orca/packages/Digest-MD5-2.30/MD5.pm	Thu Oct  9 10:45:03 2003
@@ -3,7 +3,7 @@
 use strict;
 use vars qw($VERSION @ISA @EXPORT_OK);
 
-$VERSION = '2.29';  # $Date: 2003/10/06 17:32:18 $
+$VERSION = '2.30';  # $Date: 2003/10/09 09:26:59 $
 
 require Exporter;
 *import = \&Exporter::import;

Modified: trunk/orca/packages/Digest-MD5-2.30/Makefile.PL
==============================================================================
--- trunk/orca/packages/Digest-MD5-2.29/Makefile.PL	(original)
+++ trunk/orca/packages/Digest-MD5-2.30/Makefile.PL	Thu Oct  9 10:45:03 2003
@@ -1,4 +1,6 @@
-require 5.004;
+#!perl -w
+
+BEGIN { require 5.004 }
 use strict;
 use Config qw(%Config);
 use ExtUtils::MakeMaker;
@@ -20,6 +22,7 @@
 WriteMakefile(
     'NAME'	   => 'Digest::MD5',
     'VERSION_FROM' => 'MD5.pm',
+    'PREREQ_PM'    => { 'File::Spec' => 0 },
     @extra,
     'dist'         => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
 );
@@ -98,18 +101,18 @@
 EOT
 
     my $cc_cmd = "$Config{cc} $Config{ccflags} -I$Config{archlibexp}/CORE";
-    my $exe = "u32align$Config{_exe}";
+    my $exe = "u32align$Config{exe_ext}";
     $cc_cmd .= " -o $exe";
     my $rc;
     $rc = system("$cc_cmd $Config{ldflags} u32align.c $Config{libs}");
     if ($rc) {
 	print "Can't compile test program.  Will ensure alignment to play safe.\n\n";
-	unlink("u32align.c", $exe, "u32align$Config{_o}");
+	unlink("u32align.c", $exe, "u32align$Config{obj_ext}");
 	return 0;
     }
 
     $rc = system("./$exe");
-    unlink("u32align.c", $exe, "u32align$Config{_o}");
+    unlink("u32align.c", $exe, "u32align$Config{obj_ext}");
 
     return 1 unless $rc;
 

Modified: trunk/orca/packages/Digest-MD5-2.30/t/align.t
==============================================================================
--- trunk/orca/packages/Digest-MD5-2.29/t/align.t	(original)
+++ trunk/orca/packages/Digest-MD5-2.30/t/align.t	Thu Oct  9 10:45:03 2003
@@ -13,7 +13,7 @@
 use Digest::MD5 qw(md5_hex);
 
 my $str = "\100" x 20;
-substr($str, 0, 1, "");  # chopping off first char makes the string unaligned
+substr($str, 0, 1) = "";  # chopping off first char makes the string unaligned
 
 #use Devel::Peek; Dump($str); 
 

Modified: trunk/orca/packages/Digest-MD5-2.30/t/files.t
==============================================================================
--- trunk/orca/packages/Digest-MD5-2.29/t/files.t	(original)
+++ trunk/orca/packages/Digest-MD5-2.30/t/files.t	Thu Oct  9 10:45:03 2003
@@ -20,26 +20,26 @@
 my $EXPECT;
 if (ord "A" == 193) { # EBCDIC
     $EXPECT = <<EOT;
-8f7e7a82cc559b82b7a138903238cb37  Changes
+e1d7df564fad76d2f0ed628c648d5833  Changes
 0565ec21b15c0f23f4c51fb327c8926d  README
-a20b7f878d6ea7696a60a53b21ea078a  MD5.pm
+4d48606863dbc7fd131c2e7b5eefc8c5  MD5.pm
 45e5e6785b47fb922f33b4a74c29a148  MD5.xs
 276da0aa4e9a08b7fe09430c9c5690aa  rfc1321.txt
 EOT
 } elsif ("\n" eq "\015") { # MacOS
     $EXPECT = <<EOT;
-b99d32fdbef62af6ceea225dc2c3558e  Changes
+c780484c87b64e32bd55c6be58b623b4  Changes
 6c950a0211a5a28f023bb482037698cd  README
-dce59ed79b65ff57ad6803c7290cdd30  MD5.pm
+546c4e62999c9888d7d46732a21c9dff  MD5.pm
 ca3f8cb317c5d088ed9f97204c6b8cda  MD5.xs
 754b9db19f79dbc4992f7166eb0f37ce  rfc1321.txt
 EOT
 } else {
     # This is the output of: 'md5sum Changes README MD5.pm MD5.xs rfc1321.txt'
     $EXPECT = <<EOT;
-d78f077f3a4974123c018ef2bfe356d0  Changes
+2bdd59aa1e816cd8df05968e70f75cf1  Changes
 6c950a0211a5a28f023bb482037698cd  README
-dce59ed79b65ff57ad6803c7290cdd30  MD5.pm
+546c4e62999c9888d7d46732a21c9dff  MD5.pm
 ca3f8cb317c5d088ed9f97204c6b8cda  MD5.xs
 754b9db19f79dbc4992f7166eb0f37ce  rfc1321.txt
 EOT

Modified: trunk/orca/packages/Digest-MD5-2.30/t/utf8.t
==============================================================================
--- trunk/orca/packages/Digest-MD5-2.29/t/utf8.t	(original)
+++ trunk/orca/packages/Digest-MD5-2.30/t/utf8.t	Thu Oct  9 10:45:03 2003
@@ -1,8 +1,10 @@
 #!perl -w
 
-if ($] < 5.006) {
-    print "1..0\n";
-    exit;
+BEGIN {
+    if ($] < 5.006) {
+	print "1..0 # Skipped: your perl don't know unicode\n";
+	exit;
+    }
 }
 
 print "1..3\n";



More information about the Orca-checkins mailing list