[Orca-checkins] rev 247 - in trunk/orca: . packages/Digest-MD5-2.26 packages/Digest-MD5-2.27 packages/Digest-MD5-2.27/t

Blair Zajac blair at orcaware.com
Tue Aug 5 09:17:31 PDT 2003


Author: blair
Date: Tue Aug  5 09:17:04 2003
New Revision: 247

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

* INSTALL:
  Update all references to Digest::MD5's version number from 2.26 to
  2.27.

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

* packages/Digest-MD5-2.27:
  Renamed from packages/Digest-MD5-2.26.  Directory contents updated
  from Digest-MD5-2.27.tar.gz.


Modified: trunk/orca/INSTALL
==============================================================================
--- trunk/orca/INSTALL	(original)
+++ trunk/orca/INSTALL	Tue Aug  5 09:17:04 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.26        >= 2.26      2.26
+    Digest::MD5             >= 2.27        >= 2.27      2.27
     Math::IntervalSearch    >= 1.05        >= 1.05      1.05
     RRDs                    >= 1.000431    >= 1.0.43    1.0.43
     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.26.tar.gz
+      http://www.perl.com/CPAN/authors/id/G/GA/GAAS/Digest-MD5-2.27.tar.gz
 
-      % gunzip -c Digest-MD5-2.26.tar.gz | tar xvf -
-      % cd Digest-MD5-2.26
+      % gunzip -c Digest-MD5-2.27.tar.gz | tar xvf -
+      % cd Digest-MD5-2.27
       % perl Makefile.PL
       % make
       % make test

Modified: trunk/orca/configure.in
==============================================================================
--- trunk/orca/configure.in	(original)
+++ trunk/orca/configure.in	Tue Aug  5 09:17:04 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.26
-DIGEST_MD5_VER=2.26
+DIGEST_MD5_DIR=Digest-MD5-2.27
+DIGEST_MD5_VER=2.27
 MATH_INTERVALSEARCH_DIR=Math-Interpolate-1.05
 MATH_INTERVALSEARCH_VER=1.05
 RRDTOOL_DIR=rrdtool-1.0.43

Modified: trunk/orca/packages/Digest-MD5-2.27/Changes
==============================================================================
--- trunk/orca/packages/Digest-MD5-2.26/Changes	(original)
+++ trunk/orca/packages/Digest-MD5-2.27/Changes	Tue Aug  5 09:17:04 2003
@@ -1,3 +1,13 @@
+2003-08-04   Gisle Aas <gisle at ActiveState.com>
+
+   Release 2.27
+
+   Avoid having to figure how to compile alignment test program
+   on MS-Windows by just assume free alignment as for i386.  Source
+   builds on Windows was apparently broken.
+
+
+
 2003-07-21   Gisle Aas <gisle at ActiveState.com>
 
    Release 2.26

Modified: trunk/orca/packages/Digest-MD5-2.27/MD5.pm
==============================================================================
--- trunk/orca/packages/Digest-MD5-2.26/MD5.pm	(original)
+++ trunk/orca/packages/Digest-MD5-2.27/MD5.pm	Tue Aug  5 09:17:04 2003
@@ -3,7 +3,7 @@
 use strict;
 use vars qw($VERSION @ISA @EXPORT_OK);
 
-$VERSION = '2.26';  # $Date: 2003/07/22 06:09:50 $
+$VERSION = '2.27';  # $Date: 2003/08/05 06:08:10 $
 
 require Exporter;
 *import = \&Exporter::import;

Modified: trunk/orca/packages/Digest-MD5-2.27/Makefile.PL
==============================================================================
--- trunk/orca/packages/Digest-MD5-2.26/Makefile.PL	(original)
+++ trunk/orca/packages/Digest-MD5-2.27/Makefile.PL	Tue Aug  5 09:17:04 2003
@@ -31,6 +31,7 @@
     $|=1;
     print "Testing alignment requirements for U32... ";
     return 1 if $^O eq 'VMS';
+    return 1 if $^O eq 'MSWin32';
 
     open(ALIGN_TEST, ">u32align.c") or die "$!";
     print ALIGN_TEST <<'EOT'; close(ALIGN_TEST);
@@ -98,17 +99,13 @@
 
     my $cc_cmd = "$Config{cc} $Config{ccflags} -I$Config{archlibexp}/CORE";
     my $exe = "u32align$Config{_exe}";
-    if ($^O eq 'MSWin32') {
-        $cc_cmd .= ' -DWIN32IO_IS_STDIO';
-    } else {
-	$cc_cmd .= " -o $exe";
-    }
+    $cc_cmd .= " -o $exe";
     my $rc;
     $rc = system("$cc_cmd $Config{ldflags} u32align.c $Config{libs}");
     if ($rc) {
-	print "Can't compile test program\n";
+	print "Can't compile test program.  Will ensure alignment to play safe.\n\n";
 	unlink("u32align.c", $exe, "u32align$Config{_o}");
-	return;
+	return 0;
     }
 
     $rc = system("./$exe");
@@ -127,5 +124,5 @@
 	}
 	print "signal $rc\n";
     }
-    return;
+    return 0;
 }

Modified: trunk/orca/packages/Digest-MD5-2.27/t/files.t
==============================================================================
--- trunk/orca/packages/Digest-MD5-2.26/t/files.t	(original)
+++ trunk/orca/packages/Digest-MD5-2.27/t/files.t	Tue Aug  5 09:17:04 2003
@@ -20,26 +20,26 @@
 my $EXPECT;
 if (ord "A" == 193) { # EBCDIC
     $EXPECT = <<EOT;
-4ae46ec4a90bbba96182d887e803c947  Changes
+4553104c3c951d43043b3520388b8a1e  Changes
 0565ec21b15c0f23f4c51fb327c8926d  README
-f834d9fb3944664af464815805f67403  MD5.pm
+36dc7eba19a0fea92baf68bec5adc56a  MD5.pm
 45e5e6785b47fb922f33b4a74c29a148  MD5.xs
 276da0aa4e9a08b7fe09430c9c5690aa  rfc1321.txt
 EOT
 } elsif ("\n" eq "\015") { # MacOS
     $EXPECT = <<EOT;
-dc0af6945b7f3977b8784e19a5b8a1da  Changes
+9ffb101ffaa83f2d04bc5cea6ee0bfb4  Changes
 6c950a0211a5a28f023bb482037698cd  README
-b3a7b7f8f98cf78a14e8f7b3c375a4c2  MD5.pm
+188b5ab345169e90094165dd32dd7f6b  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;
-042cef6cd9baf3d4606063dff06eee33  Changes
+6b0b5e6be6ee9dbbfbb1d77f9a82a87f  Changes
 6c950a0211a5a28f023bb482037698cd  README
-b3a7b7f8f98cf78a14e8f7b3c375a4c2  MD5.pm
+188b5ab345169e90094165dd32dd7f6b  MD5.pm
 ca3f8cb317c5d088ed9f97204c6b8cda  MD5.xs
 754b9db19f79dbc4992f7166eb0f37ce  rfc1321.txt
 EOT



More information about the Orca-checkins mailing list