[LON-CAPA-cvs] cvs: modules /matthew/systemperl prepare_systemperl.pl

matthew lon-capa-cvs@mail.lon-capa.org
Wed, 30 Jun 2004 15:31:42 -0000


matthew		Wed Jun 30 11:31:42 2004 EDT

  Modified files:              
    /modules/matthew/systemperl	prepare_systemperl.pl 
  Log:
  Added IO::Socket::SSL and Net::SSLeay.  Modified path to build directory.
  Added a few brief comments....
  
  
Index: modules/matthew/systemperl/prepare_systemperl.pl
diff -u modules/matthew/systemperl/prepare_systemperl.pl:1.6 modules/matthew/systemperl/prepare_systemperl.pl:1.7
--- modules/matthew/systemperl/prepare_systemperl.pl:1.6	Thu Dec 11 13:09:38 2003
+++ modules/matthew/systemperl/prepare_systemperl.pl	Wed Jun 30 11:31:42 2004
@@ -1,6 +1,6 @@
 #!/usr/bin/perl -w 
 #
-# $Id: prepare_systemperl.pl,v 1.6 2003/12/11 18:09:38 matthew Exp $
+# $Id: prepare_systemperl.pl,v 1.7 2004/06/30 15:31:42 matthew Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -25,7 +25,7 @@
 use strict;
 use CPAN;
 
-my $basedir = "/home/matthew/systemperl/systemperl-3.9-rh7";
+my $basedir = "/root/systemperl/systemperl-3.10-rh7";
 my $builddir = $basedir."/modules";
 system("mkdir -p $builddir") if (! -e $builddir);
 my $targetdir = $basedir."/root/usr";
@@ -45,6 +45,8 @@
     "perl ./Makefile.PL PREFIX=$targetdir; make; make install;";
 my $default_sysperl_install = 
     "perl ./Makefile.PL PREFIX=$targetdir < /dev/null; make; make install;";
+# No comment ...
+my $NetSSLeay_install = "perl ./Makefile.PL -- PREFIX=$targetdir; make; make install;";
 
 my @Modules = ({ src => "Algorithm::Diff",
 		 dirname=> "Algorithm-Diff-*",
@@ -94,9 +96,11 @@
 	       { src=>"I18N::LangTags",
 		 dirname => "I18N-LangTags-*",
 		 compile => $local_install.$sysperl_install },
+               # Last time I did this, I had to do the patching by hand.
 	       { src=>"Authen::Krb4",
 		 dirname=>"Krb4-*",
 		 compile => 'patch < ../../Krb4_patch;'.$sysperl_install },
+               # Last time I did this, I had to do the patching by hand.
 	       { src=>"Authen::Krb5",
 		 dirname=>"Krb5-*",
 		 compile => 'patch < ../../Krb5_patch;'.$sysperl_install },
@@ -133,6 +137,8 @@
                { src=>"Spreadsheet::WriteExcel",
 		 dirname=>"Spreadsheet-WriteExcel-*",
 		 compile=>$sysperl_install },
+               # String::Similarity 1.0 does not work w/ perl 5.6
+               # 
 	       { src=>"String::Similarity",
 		 dirname=>"String-Similarity-*",
 		 compile=>$sysperl_install },
@@ -148,6 +154,12 @@
 	       { src=>"Time::HiRes",
 		 dirname=>"Time-HiRes-*",
 		 compile=>$sysperl_install },
+               { src=>"Net::SSLeay",
+                 dirname=>"Net_SSLeay*",
+                 compile=>$NetSSLeay_install },
+               { src=>"IO::Socket::SSL",
+                 dirname=>"IO-Socket-SSL-*",
+                 compile=>$sysperl_install },
 	       );
 
 my @Libraries = (