[LON-CAPA-cvs] cvs: doc /install/fedora install.pl
raeburn
lon-capa-cvs@mail.lon-capa.org
Fri, 01 Jul 2005 23:18:00 -0000
raeburn Fri Jul 1 19:18:00 2005 EDT
Modified files:
/doc/install/fedora install.pl
Log:
pwauth is now shipped separately from mod_auth_external. Correcting spelling.
Index: doc/install/fedora/install.pl
diff -u doc/install/fedora/install.pl:1.8 doc/install/fedora/install.pl:1.9
--- doc/install/fedora/install.pl:1.8 Wed Jun 29 00:16:54 2005
+++ doc/install/fedora/install.pl Fri Jul 1 19:17:58 2005
@@ -2,7 +2,7 @@
# The LearningOnline Network
# Fedora installation script
#
-# $Id: install.pl,v 1.8 2005/06/29 04:16:54 raeburn Exp $
+# $Id: install.pl,v 1.9 2005/07/01 23:17:58 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -35,7 +35,7 @@
# note: The filehandle LOG is global.
open LOG,">>loncapa_install.log" || die "Unable to open log file.\n";
-print LOG '$Id: install.pl,v 1.8 2005/06/29 04:16:54 raeburn Exp $'."\n";
+print LOG '$Id: install.pl,v 1.9 2005/07/01 23:17:58 raeburn Exp $'."\n";
# Some friendly subroutines
sub die_if_nonempty {
@@ -229,7 +229,7 @@
###############################################
sub build_and_install_mod_auth_external {
my $num = &uid_of_www();
- # Patch mod_auth_external
+ # Patch pwauth
print_and_log("Building authentication system for LON-CAPA users.\n");
my $patch = <<"ENDPATCH";
148c148
@@ -240,14 +240,14 @@
if (! -e "/usr/bin/patch") {
print_and_log("You must install the software development tools package ".
- "when installing RedHat.\n");
+ "when installing Fedora.\n");
die;
}
- &die_if_nonempty(`cd /tmp; tar zxf $instdir/mod_auth_external-2.1.13.tar.gz`,
- "Unable to extract mod_auth_external\n");
- my $dir = "/tmp/mod_auth_external-2.1.13/pwauth";
+ &die_if_nonempty(`cd /tmp; tar zxf $instdir/pwauth-2.2.8.tar.gz`,
+ "Unable to extract pwauth\n");
+ my $dir = "/tmp/pwauth-2.2.8";
open PATCH, "| patch $dir/config.h" ||
- die "Unable to start patch for mod_auth_external. Halting\n";
+ die "Unable to start patch for pwauth. Halting\n";
print PATCH $patch;
close PATCH;
print_and_log("\n");
@@ -263,7 +263,7 @@
if ($result ne $expected) {
die "Unable to compile patched pwauth. Halting.\n";
}
- print_and_log( "appearant success compiling pwauth:\n".$result );
+ print_and_log( "apparent success compiling pwauth:\n".$result );
# Install patched pwauth
print_and_log("Copying pwauth to /usr/local/sbin\n");
if (! copy "$dir/pwauth","/usr/local/sbin/pwauth") {