diff options
Diffstat (limited to 'sci-chemistry/webmo/files')
5 files changed, 248 insertions, 0 deletions
diff --git a/sci-chemistry/webmo/files/add-gamess-data-directory.patch b/sci-chemistry/webmo/files/add-gamess-data-directory.patch new file mode 100644 index 000000000000..9120a5c89e1e --- /dev/null +++ b/sci-chemistry/webmo/files/add-gamess-data-directory.patch @@ -0,0 +1,42 @@ +diff -urN WebMO.install.orig/cgi-bin/interfaces/gamess.int.disabled WebMO.install/cgi-bin/interfaces/gamess.int.disabled +--- WebMO.install.orig/cgi-bin/interfaces/gamess.int.disabled 2005-12-03 14:58:39.000000000 -0800 ++++ WebMO.install/cgi-bin/interfaces/gamess.int.disabled 2005-12-03 14:58:59.000000000 -0800 +@@ -3,6 +3,7 @@ + interfaceDescription{'gamess_name'}="Gamess" + gamessVersion="Unknown" + gamessGMSPATH="/usr/bin" ++gamessDATAPATH="/usr/share/gamess/ericfmt" + gamessBinary="gamess.00.x" + gamessDdikick="ddikick.x" + cpuMin="0" +diff -urN WebMO.install.orig/cgi-bin/run_gamess.cgi WebMO.install/cgi-bin/run_gamess.cgi +--- WebMO.install.orig/cgi-bin/run_gamess.cgi 2005-11-21 07:40:28.000000000 -0800 ++++ WebMO.install/cgi-bin/run_gamess.cgi 2005-12-03 14:54:54.000000000 -0800 +@@ -30,7 +30,7 @@ + $ENV{'IRCDATA'} = $output_file.".irc"; + $ENV{'PUNCH'} = $output_file.".dat"; + $ENV{'INPUT'} = "$input_file.inp"; +-$ENV{'ERICFMT'} = "$gamessGMSPATH/ericfmt.dat"; ++$ENV{'ERICFMT'} = "$gamessDATAPATH/ericfmt.dat"; + $ENV{'PATH'} = $ENV{'PATH'}.":".$gamessGMSPATH; + + # if we are using PBS, find out which host we are running on +diff -urN WebMO.install.orig/source/gamessmgr_admin.html WebMO.install/source/gamessmgr_admin.html +--- WebMO.install.orig/source/gamessmgr_admin.html 2005-11-21 07:40:28.000000000 -0800 ++++ WebMO.install/source/gamessmgr_admin.html 2005-12-03 14:55:00.000000000 -0800 +@@ -30,10 +30,14 @@ + <TD><INPUT TYPE="text" NAME="gamessVersion" VALUE="<PERL>$gamessVersion</PERL>" SIZE=50></TD> + </TR> + <TR> +- <TD><B>Gamess directory</B></TD> ++ <TD><B>Gamess binary directory</B></TD> + <TD><INPUT TYPE="text" NAME="gamessGMSPATH" VALUE="<PERL>$gamessGMSPATH</PERL>" SIZE=50></TD> + </TR> + <TR> ++ <TD><B>Gamess data directory (ericfmt)</B></TD> ++ <TD><INPUT TYPE="text" NAME="gamessDATAPATH" VALUE="<PERL>$gamessDATAPATH</PERL>" SIZE=50></TD> ++ </TR> ++ <TR> + <TD><B>Gamess binary (name, not path)</B></TD> + <TD><INPUT TYPE="text" NAME="gamessBinary" VALUE="<PERL>$gamessBinary</PERL>" SIZE=50></TD> + </TR> diff --git a/sci-chemistry/webmo/files/digest-webmo-6.0.003 b/sci-chemistry/webmo/files/digest-webmo-6.0.003 new file mode 100644 index 000000000000..3dffc03ca534 --- /dev/null +++ b/sci-chemistry/webmo/files/digest-webmo-6.0.003 @@ -0,0 +1 @@ +MD5 8e19ca928fbc9128513b01f9e82bfcd6 WebMO.6.0.003.tar.gz 1197672 diff --git a/sci-chemistry/webmo/files/dont-be-interactive-if-root.patch b/sci-chemistry/webmo/files/dont-be-interactive-if-root.patch new file mode 100644 index 000000000000..fdc7691cae88 --- /dev/null +++ b/sci-chemistry/webmo/files/dont-be-interactive-if-root.patch @@ -0,0 +1,49 @@ +--- WebMO.install.orig/setup.pl 2005-11-21 07:40:28.000000000 -0800 ++++ WebMO.install/setup.pl 2005-12-03 11:39:51.000000000 -0800 +@@ -82,26 +84,26 @@ + #get a username + my $username = `whoami`; chomp $username; + my $homedir = $ENV{'HOME'} ne "" ? $ENV{'HOME'} : `echo ~`; chomp $homedir; +-if ($username eq "root") +-{ +- print <<END; +- +-You are installing WebMO as the user 'root'. It is strongly suggested that +-you do not install WebMO as 'root', but rather do one of the following: +- 1) Create a new 'webmo'account; log into this account, and install WebMO +- into the 'webmo' home directory +- 2) Log into an existing user acconut, and install WebMO into the home +- directory +- 3) Continue installation as 'root', but install WebMO into your system +- wide html/cgi-bin directory (do not install into a user home directory +- as 'root', as the cgi scripts may not run correctly) +- +-END +- print "Do you wish to continue with setup?"; +- my $choice = <STDIN>; +- chomp $choice; +- exit (0) unless ($choice =~ /^y/i); +-} ++#if ($username eq "root") ++#{ ++# print <<END; ++# ++#You are installing WebMO as the user 'root'. It is strongly suggested that ++#you do not install WebMO as 'root', but rather do one of the following: ++# 1) Create a new 'webmo'account; log into this account, and install WebMO ++# into the 'webmo' home directory ++# 2) Log into an existing user acconut, and install WebMO into the home ++# directory ++# 3) Continue installation as 'root', but install WebMO into your system ++# wide html/cgi-bin directory (do not install into a user home directory ++# as 'root', as the cgi scripts may not run correctly) ++# ++#END ++# print "Do you wish to continue with setup?"; ++# my $choice = <STDIN>; ++# chomp $choice; ++# exit (0) unless ($choice =~ /^y/i); ++#} + + #get license information + ÷r; diff --git a/sci-chemistry/webmo/files/dont-check-unneeded-things.patch b/sci-chemistry/webmo/files/dont-check-unneeded-things.patch new file mode 100644 index 000000000000..ad62f8021ce7 --- /dev/null +++ b/sci-chemistry/webmo/files/dont-check-unneeded-things.patch @@ -0,0 +1,114 @@ +--- WebMO.install.orig/scripts/diagnose.pl 2005-11-21 07:40:28.000000000 -0800 ++++ WebMO.install/scripts/diagnose.pl 2005-12-03 18:52:58.000000000 -0800 +@@ -80,26 +80,26 @@ + print handle "\n"; + + # Check home directory +-if ($ENV{'HOME'} ne "") +-{ +- print handle "<H3>Checking Home Directory</H3>"; +- my $stat_info = stat($ENV{'HOME'}); +- my $leng = length($ENV{'HOME'}); +- +- print handle "Checking home directory:"; +- if (($stat_info->mode & 00001) != 1) +- { +- print handle " " x (59 - $leng); +- print handle "<FONT COLOR=\"red\"><B>Failed</B></FONT>\n"; +- printf handle "<B>Home directory must be world-executable if WebMO is installed there</B>\n" +- } +- else +- { +- print handle " " x (59 - $leng); +- print handle "<FONT COLOR=\"green\"><B>Passed</B></FONT>\n"; +- } +- print handle "\n"; +-} ++#if ($ENV{'HOME'} ne "") ++#{ ++# print handle "<H3>Checking Home Directory</H3>"; ++# my $stat_info = stat($ENV{'HOME'}); ++# my $leng = length($ENV{'HOME'}); ++# ++# print handle "Checking home directory:"; ++# if (($stat_info->mode & 00001) != 1) ++# { ++# print handle " " x (59 - $leng); ++# print handle "<FONT COLOR=\"red\"><B>Failed</B></FONT>\n"; ++# printf handle "<B>Home directory must be world-executable if WebMO is installed there</B>\n" ++# } ++# else ++# { ++# print handle " " x (59 - $leng); ++# print handle "<FONT COLOR=\"green\"><B>Passed</B></FONT>\n"; ++# } ++# print handle "\n"; ++#} + + # Check permissions + print handle "<H3>Checking CGI Directory</H3>"; +@@ -345,36 +345,36 @@ + } + + # check for AddHandler for cgi scripts +- print handle ($text = "Checking for AddHandler cgi-scripts enabled: "); +- $len = length($text); +- @results = grep(/AddHandler cgi\-script/, @contents); +- if ($results[0] =~ /^#/) +- { +- print handle " " x (70 - $len); +- print handle "<FONT COLOR=\"red\"><B>Failed</B></FONT>\n"; +- print handle "<B>Uncomment the line 'AddHandle cgi-scripts .cgi'</B>\n"; +- } +- else +- { +- print handle " " x (70 - $len); +- print handle "<FONT COLOR=\"green\"><B>Passed</B></FONT>\n"; +- } ++# print handle ($text = "Checking for AddHandler cgi-scripts enabled: "); ++# $len = length($text); ++# @results = grep(/AddHandler cgi\-script/, @contents); ++# if ($results[0] =~ /^#/) ++# { ++# print handle " " x (70 - $len); ++# print handle "<FONT COLOR=\"red\"><B>Failed</B></FONT>\n"; ++# print handle "<B>Uncomment the line 'AddHandle cgi-scripts .cgi'</B>\n"; ++# } ++# else ++# { ++# print handle " " x (70 - $len); ++# print handle "<FONT COLOR=\"green\"><B>Passed</B></FONT>\n"; ++# } + + # check for user directories +- print handle ($text = "Checking for UserDir enabled: "); +- $len = length($text); +- @results = grep(/UserDir /, @contents); +- if ($results[0] =~ /^#/) +- { +- print handle " " x (70 - $len); +- print handle "<FONT COLOR=\"red\"><B>Failed</B></FONT>\n"; +- print handle "<B>Uncomment the line 'UserDir public_html'</B>\n"; +- } +- else +- { +- print handle " " x (70 - $len); +- print handle "<FONT COLOR=\"green\"><B>Passed</B></FONT>\n"; +- } ++# print handle ($text = "Checking for UserDir enabled: "); ++# $len = length($text); ++# @results = grep(/UserDir /, @contents); ++# if ($results[0] =~ /^#/) ++# { ++# print handle " " x (70 - $len); ++# print handle "<FONT COLOR=\"red\"><B>Failed</B></FONT>\n"; ++# print handle "<B>Uncomment the line 'UserDir public_html'</B>\n"; ++# } ++# else ++# { ++# print handle " " x (70 - $len); ++# print handle "<FONT COLOR=\"green\"><B>Passed</B></FONT>\n"; ++# } + + # check for suexec + print handle ($text = "Checking for suExec enabled: "); diff --git a/sci-chemistry/webmo/files/gentoo-locations.patch b/sci-chemistry/webmo/files/gentoo-locations.patch new file mode 100644 index 000000000000..6bff53af4579 --- /dev/null +++ b/sci-chemistry/webmo/files/gentoo-locations.patch @@ -0,0 +1,42 @@ +diff -urN WebMO.install.orig/cgi-bin/interfaces/gamess.int.disabled WebMO.install/cgi-bin/interfaces/gamess.int.disabled +--- WebMO.install.orig/cgi-bin/interfaces/gamess.int.disabled 2005-11-21 07:40:28.000000000 -0800 ++++ WebMO.install/cgi-bin/interfaces/gamess.int.disabled 2005-12-03 14:56:09.000000000 -0800 +@@ -2,7 +2,7 @@ + interfaceDescription{'gamess_admin'}="Edit preferences specific to Gamess" + interfaceDescription{'gamess_name'}="Gamess" + gamessVersion="Unknown" +-gamessGMSPATH="/usr/local/gamess" ++gamessGMSPATH="/usr/bin" + gamessBinary="gamess.00.x" + gamessDdikick="ddikick.x" + cpuMin="0" +diff -urN WebMO.install.orig/cgi-bin/interfaces/mopac.int.disabled WebMO.install/cgi-bin/interfaces/mopac.int.disabled +--- WebMO.install.orig/cgi-bin/interfaces/mopac.int.disabled 2005-11-21 07:40:28.000000000 -0800 ++++ WebMO.install/cgi-bin/interfaces/mopac.int.disabled 2005-12-03 14:57:07.000000000 -0800 +@@ -2,8 +2,8 @@ + interfaceDescription{'mopac_admin'}="Edit preferences specific to Mopac" + interfaceDescription{'mopac_name'}="Mopac" + mopacVersion="7" +-mopacPath="/usr/local/mopac7/mopac.exe" +-mopacScratch="/scratch" ++mopacPath="/usr/bin/mopac7" ++mopacScratch="/tmp" + mopacExternal="/usr/local/mopac7" + cpuMin="0" + cpuMax="100" +diff -urN WebMO.install.orig/cgi-bin/interfaces/tinker.int.disabled WebMO.install/cgi-bin/interfaces/tinker.int.disabled +--- WebMO.install.orig/cgi-bin/interfaces/tinker.int.disabled 2005-11-21 07:40:28.000000000 -0800 ++++ WebMO.install/cgi-bin/interfaces/tinker.int.disabled 2005-12-03 14:57:31.000000000 -0800 +@@ -2,9 +2,9 @@ + interfaceDescription{'tinker_admin'}="Edit preferences specific to Tinker" + interfaceDescription{'tinker_name'}="Tinker" + tinkerVersion="4.2" +-tinkerBinDir="/usr/local/tinker/bin" +-tinkerBinExt="x" +-tinkerParamDir="/usr/local/tinker/params" ++tinkerBinDir="/usr/bin" ++tinkerBinExt="" ++tinkerParamDir="/usr/share/tinker/params" + cpuMin="0" + cpuMax="100" + cpuDefault="100" |