2005-05-20 17:42:06 +00:00
|
|
|
<?php
|
|
|
|
|
2008-04-01 15:08:47 +00:00
|
|
|
function show_linux_info() {
|
|
|
|
echo "
|
|
|
|
<p>
|
|
|
|
The current release is known to work with these Linux versions:
|
|
|
|
<ul>
|
|
|
|
<li> Fedora Core 7 and 8
|
|
|
|
<li> Debian 4.1
|
2008-05-13 04:06:40 +00:00
|
|
|
<li> Ubuntu 7.10 and 8.04
|
2008-04-01 15:08:47 +00:00
|
|
|
</ul>
|
|
|
|
<p>
|
|
|
|
For other Linux versions,
|
|
|
|
check if a BOINC package is offered by your Linux distribution.
|
|
|
|
<ul>
|
|
|
|
<li> Fedora 7 and higher: type
|
|
|
|
<pre>yum install boinc-client boinc-manager</pre> as root.
|
|
|
|
<li> Debian and Ubuntu: package names <b>boinc-client</b>,
|
|
|
|
<b>boinc-manager</b>
|
|
|
|
(more info <a href=http://wiki.debian.org/BOINC>here</a>).
|
|
|
|
Also <b>boinc-dev</b> (for project developers).
|
|
|
|
<li> Gentoo: package name <b>sci-misc/boinc</b>
|
|
|
|
</ul>
|
|
|
|
<p>
|
|
|
|
Alternatively, download the
|
|
|
|
<a href=download_all.php>BOINC client for older Linux versions</a>.
|
|
|
|
This doesn't have a graphical interface,
|
|
|
|
but it should work on all Linux systems, both x86 and x64.
|
|
|
|
";
|
|
|
|
}
|
|
|
|
|
2005-10-26 05:38:40 +00:00
|
|
|
function type_text($type) {
|
2005-05-20 17:42:06 +00:00
|
|
|
global $xml;
|
|
|
|
if ($xml) {
|
2005-10-26 05:38:40 +00:00
|
|
|
switch($type) {
|
|
|
|
case "win_old":
|
|
|
|
return "Single-mode Windows installer";
|
|
|
|
case "win_new":
|
|
|
|
return "Windows installer";
|
|
|
|
case "bare_core":
|
|
|
|
return "Core client only (command-line)";
|
|
|
|
case "sea":
|
|
|
|
return "Self-extracting archive";
|
|
|
|
case "mac_advanced":
|
|
|
|
return "Standard GUI";
|
|
|
|
}
|
2005-05-20 17:42:06 +00:00
|
|
|
} else {
|
2005-10-26 05:38:40 +00:00
|
|
|
switch($type) {
|
|
|
|
case "win_old":
|
|
|
|
return "<a href=client_windows.php>Single-mode Windows installer</a>";
|
|
|
|
case "win_new":
|
|
|
|
return "<a href=win_install.php>Windows installer</a>";
|
|
|
|
case "bare_core":
|
|
|
|
return "<a href=bare_core.php>Core client only (command-line)</a>";
|
|
|
|
case "sea":
|
|
|
|
return "<a href=sea.php>Self-extracting archive</a>";
|
|
|
|
case "mac_advanced":
|
|
|
|
return "<a href=mac_advanced.php>Standard GUI</a>";
|
|
|
|
}
|
2005-05-20 17:42:06 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2008-05-19 22:36:55 +00:00
|
|
|
$w624= array(
|
|
|
|
"num"=>"6.2.4",
|
2008-03-31 19:32:43 +00:00
|
|
|
"status"=>"Development version",
|
2008-05-19 22:36:55 +00:00
|
|
|
"file"=>"boinc_6.2.4_windows_intelx86.exe",
|
|
|
|
"date"=>"19 May 2008",
|
2008-03-31 19:32:43 +00:00
|
|
|
"type"=>"win_new",
|
|
|
|
);
|
|
|
|
|
2008-03-05 17:24:24 +00:00
|
|
|
$w51045= array(
|
|
|
|
"num"=>"5.10.45",
|
2008-03-11 16:20:19 +00:00
|
|
|
"status"=>"Recommended version",
|
2008-03-05 17:24:24 +00:00
|
|
|
"file"=>"boinc_5.10.45_windows_intelx86.exe",
|
|
|
|
"date"=>"5 Mar 2008",
|
2008-01-09 17:04:05 +00:00
|
|
|
"type"=>"win_new",
|
|
|
|
);
|
|
|
|
|
2008-05-23 23:35:26 +00:00
|
|
|
$w625x64= array(
|
|
|
|
"num"=>"6.2.5",
|
|
|
|
"status"=>"Development version",
|
|
|
|
"file"=>"boinc_6.2.5_windows_x86_64.exe",
|
|
|
|
"date"=>"23 May 2008",
|
|
|
|
"type"=>"win_new",
|
|
|
|
);
|
|
|
|
|
2008-03-05 17:24:24 +00:00
|
|
|
$w51045x64= array(
|
|
|
|
"num"=>"5.10.45",
|
2008-03-11 16:20:19 +00:00
|
|
|
"status"=>"Recommended version",
|
2008-03-05 17:24:24 +00:00
|
|
|
"file"=>"boinc_5.10.45_windows_x86_64.exe",
|
|
|
|
"date"=>"5 Mar 2008",
|
2008-01-09 17:04:05 +00:00
|
|
|
"type"=>"win_new",
|
|
|
|
);
|
|
|
|
|
2007-03-01 16:38:42 +00:00
|
|
|
$w5816= array(
|
|
|
|
"num"=>"5.8.16",
|
2008-01-28 15:48:09 +00:00
|
|
|
"status"=>"Older version (also works on Windows 95 and NT 4.0)",
|
2007-03-01 16:38:42 +00:00
|
|
|
"file"=>"boinc_5.8.16_windows_intelx86.exe",
|
|
|
|
"date"=>"1 Mar 2007",
|
|
|
|
"type"=>"win_new",
|
|
|
|
);
|
|
|
|
|
2008-05-20 00:30:32 +00:00
|
|
|
$m624 = array(
|
|
|
|
"num"=>"6.2.4",
|
2008-03-12 10:16:28 +00:00
|
|
|
"status"=>"Development version (standard GUI)",
|
2008-05-20 00:30:32 +00:00
|
|
|
"file"=>"boinc_6.2.4_macOSX_universal.zip",
|
|
|
|
"date"=>"19 May 2008",
|
2008-03-12 10:16:28 +00:00
|
|
|
"type"=>"mac_advanced",
|
|
|
|
);
|
|
|
|
|
2008-03-06 00:35:56 +00:00
|
|
|
$m51045 = array(
|
|
|
|
"num"=>"5.10.45",
|
2008-03-11 16:20:19 +00:00
|
|
|
"status"=>"Recommended version (standard GUI)",
|
2008-03-06 00:35:56 +00:00
|
|
|
"file"=>"boinc_5.10.45_macOSX_universal.zip",
|
|
|
|
"date"=>"5 Mar 2008",
|
2008-01-04 09:28:28 +00:00
|
|
|
"type"=>"mac_advanced",
|
|
|
|
);
|
|
|
|
|
2007-04-03 10:36:34 +00:00
|
|
|
$m5817 = array(
|
|
|
|
"num"=>"5.8.17",
|
2008-01-28 15:48:09 +00:00
|
|
|
"status"=>"Older version (standard GUI)",
|
2007-04-03 10:36:34 +00:00
|
|
|
"file"=>"boinc_5.8.17_macOSX_universal.zip",
|
|
|
|
"date"=>"3 Apr 2007",
|
2007-03-02 03:52:01 +00:00
|
|
|
"type"=>"mac_advanced",
|
|
|
|
);
|
|
|
|
|
2008-05-20 00:30:32 +00:00
|
|
|
$m624c = array(
|
|
|
|
"num"=>"6.2.4",
|
2008-03-12 10:16:28 +00:00
|
|
|
"status"=>"Development version (Unix command-line version)",
|
2008-05-20 00:30:32 +00:00
|
|
|
"file"=>"boinc_6.2.4_universal-apple-darwin.zip",
|
|
|
|
"date"=>"19 May 2008",
|
2008-03-12 10:16:28 +00:00
|
|
|
"type"=>"bare_core",
|
2005-12-06 12:26:34 +00:00
|
|
|
);
|
|
|
|
|
2008-03-06 00:35:56 +00:00
|
|
|
$m51045c = array(
|
|
|
|
"num"=>"5.10.45",
|
2008-03-11 16:20:19 +00:00
|
|
|
"status"=>"Recommended version (Unix command-line version)",
|
2008-03-06 00:35:56 +00:00
|
|
|
"file"=>"boinc_5.10.45_universal-apple-darwin.zip",
|
|
|
|
"date"=>"5 Mar 2008",
|
2008-01-04 09:28:28 +00:00
|
|
|
"type"=>"bare_core",
|
|
|
|
);
|
|
|
|
|
2007-04-03 10:36:34 +00:00
|
|
|
$m5817c = array(
|
|
|
|
"num"=>"5.8.17",
|
2008-01-28 15:48:09 +00:00
|
|
|
"status"=>"Older version (Unix command-line version)",
|
2007-04-03 10:36:34 +00:00
|
|
|
"file"=>"boinc_5.8.17_universal-apple-darwin.zip",
|
|
|
|
"date"=>"3 Apr 2007",
|
2007-03-02 03:52:01 +00:00
|
|
|
"type"=>"bare_core",
|
|
|
|
);
|
|
|
|
|
2008-05-21 05:40:22 +00:00
|
|
|
$l624 = array(
|
|
|
|
"num"=>"6.2.4",
|
2008-04-10 22:21:46 +00:00
|
|
|
"status"=>"Development version",
|
2008-05-21 05:40:22 +00:00
|
|
|
"file"=>"boinc_6.2.4_i686-pc-linux-gnu.sh",
|
|
|
|
"date"=>"21 May 2008",
|
2008-04-10 22:19:27 +00:00
|
|
|
"type"=>"sea",
|
|
|
|
);
|
|
|
|
|
2008-03-05 17:24:24 +00:00
|
|
|
$l51045 = array(
|
|
|
|
"num"=>"5.10.45",
|
2008-03-11 16:20:19 +00:00
|
|
|
"status"=>"Recommended version",
|
2008-03-05 17:24:24 +00:00
|
|
|
"file"=>"boinc_5.10.45_i686-pc-linux-gnu.sh",
|
|
|
|
"date"=>"5 Mar 2008",
|
2008-02-22 21:53:57 +00:00
|
|
|
"type"=>"sea",
|
|
|
|
);
|
|
|
|
|
2008-05-21 05:40:22 +00:00
|
|
|
$l624ubuntu = array(
|
|
|
|
"num"=>"6.2.4",
|
2008-04-10 22:21:46 +00:00
|
|
|
"status"=>"Development version",
|
2008-05-21 05:40:22 +00:00
|
|
|
"file"=>"boinc_ubuntu_6.2.4_i686-pc-linux-gnu.sh",
|
|
|
|
"date"=>"21 May 2008",
|
2008-04-10 22:19:27 +00:00
|
|
|
"type"=>"sea",
|
|
|
|
);
|
|
|
|
|
2008-03-05 17:24:24 +00:00
|
|
|
$l51045ubuntu = array(
|
|
|
|
"num"=>"5.10.45",
|
2008-03-11 16:20:19 +00:00
|
|
|
"status"=>"Recommended version",
|
2008-03-05 17:24:24 +00:00
|
|
|
"file"=>"boinc_ubuntu_5.10.45_i686-pc-linux-gnu.sh",
|
|
|
|
"date"=>"5 Mar 2008",
|
2008-02-22 21:53:57 +00:00
|
|
|
"type"=>"sea",
|
|
|
|
);
|
|
|
|
|
2008-05-21 05:40:22 +00:00
|
|
|
$l624ubuntux64 = array(
|
|
|
|
"num"=>"6.2.4",
|
2008-04-10 22:21:46 +00:00
|
|
|
"status"=>"Development version",
|
2008-05-21 05:40:22 +00:00
|
|
|
"file"=>"boinc_ubuntu_6.2.4_x86_64-pc-linux-gnu.sh",
|
|
|
|
"date"=>"21 May 2008",
|
2008-04-10 22:19:27 +00:00
|
|
|
"type"=>"sea",
|
|
|
|
);
|
|
|
|
|
2008-03-05 17:24:24 +00:00
|
|
|
$l51045ubuntux64 = array(
|
|
|
|
"num"=>"5.10.45",
|
2008-03-11 16:20:19 +00:00
|
|
|
"status"=>"Recommended version",
|
2008-03-05 17:24:24 +00:00
|
|
|
"file"=>"boinc_ubuntu_5.10.45_x86_64-pc-linux-gnu.sh",
|
|
|
|
"date"=>"5 Mar 2008",
|
2008-02-22 21:53:57 +00:00
|
|
|
"type"=>"sea",
|
|
|
|
);
|
|
|
|
|
2007-04-23 22:17:55 +00:00
|
|
|
$l5816 = array(
|
|
|
|
"num"=>"5.8.16",
|
2008-01-28 15:48:09 +00:00
|
|
|
"status"=>"Older version (includes GUI)",
|
2007-04-23 22:17:55 +00:00
|
|
|
"file"=>"boinc_5.8.16_i686-pc-linux-gnu.sh",
|
2007-03-08 03:24:20 +00:00
|
|
|
"date"=>"7 March 2007",
|
2007-03-02 03:28:15 +00:00
|
|
|
"type"=>"sea",
|
|
|
|
);
|
|
|
|
|
2005-05-20 17:42:06 +00:00
|
|
|
$windows = array(
|
|
|
|
"name"=>"Windows",
|
2008-01-28 15:48:09 +00:00
|
|
|
"description"=>"98/ME/2000/XP/Vista ",
|
2005-11-10 06:06:11 +00:00
|
|
|
"dbname" => "windows_intelx86",
|
2005-05-20 17:42:06 +00:00
|
|
|
"versions"=>array(
|
2008-05-19 22:36:55 +00:00
|
|
|
$w624,
|
2008-03-05 17:24:24 +00:00
|
|
|
$w51045,
|
2007-03-01 16:38:42 +00:00
|
|
|
$w5816,
|
2005-05-20 17:42:06 +00:00
|
|
|
)
|
|
|
|
);
|
2007-04-20 18:47:55 +00:00
|
|
|
|
|
|
|
$windowsx64 = array(
|
2008-01-28 15:48:09 +00:00
|
|
|
"name"=>"Windows 64-bit",
|
|
|
|
"description"=>"XP/Vista",
|
2007-04-20 18:47:55 +00:00
|
|
|
"dbname" => "windows_x86_64",
|
|
|
|
"versions"=>array(
|
2008-05-23 23:35:26 +00:00
|
|
|
$w625x64,
|
2008-03-05 17:24:24 +00:00
|
|
|
$w51045x64,
|
2007-04-20 18:47:55 +00:00
|
|
|
)
|
|
|
|
);
|
|
|
|
|
2005-05-20 17:42:06 +00:00
|
|
|
$mac = array(
|
2006-08-01 21:22:25 +00:00
|
|
|
"name"=>"Mac OS X",
|
2008-01-28 15:48:09 +00:00
|
|
|
"description"=>"Version 10.3+",
|
2005-11-10 06:06:11 +00:00
|
|
|
"dbname" => "powerpc-apple-darwin",
|
2005-05-20 17:42:06 +00:00
|
|
|
"versions"=>array(
|
2008-05-20 00:30:32 +00:00
|
|
|
$m624,
|
|
|
|
$m624c,
|
2008-03-06 00:35:56 +00:00
|
|
|
$m51045,
|
|
|
|
$m51045c,
|
2007-04-03 10:36:34 +00:00
|
|
|
$m5817,
|
|
|
|
$m5817c,
|
2005-05-20 17:42:06 +00:00
|
|
|
)
|
|
|
|
);
|
2007-05-17 17:39:31 +00:00
|
|
|
|
2008-01-15 18:43:00 +00:00
|
|
|
$linuxcompat = array(
|
2008-01-28 15:48:09 +00:00
|
|
|
"name"=>"Older Linux x86 and x64",
|
|
|
|
"description"=>"For older Linux versions, both x86 and x64; command-line interface only",
|
2005-11-10 06:06:11 +00:00
|
|
|
"dbname" => "i686-pc-linux-gnu",
|
2005-05-20 17:42:06 +00:00
|
|
|
"versions"=>array(
|
2008-05-21 05:40:22 +00:00
|
|
|
$l624,
|
2008-03-05 17:24:24 +00:00
|
|
|
$l51045,
|
2007-04-23 22:17:55 +00:00
|
|
|
$l5816,
|
2005-05-20 17:42:06 +00:00
|
|
|
)
|
|
|
|
);
|
|
|
|
|
2008-01-15 18:43:00 +00:00
|
|
|
$linux = array(
|
2008-01-28 15:48:09 +00:00
|
|
|
"name"=>"Linux x86",
|
|
|
|
"description"=>"For most current Linux/x86 versions; graphical and command-line interfaces",
|
2008-01-15 18:43:00 +00:00
|
|
|
"dbname" => "i686-pc-linux-gnu",
|
|
|
|
"versions"=>array(
|
2008-05-21 05:40:22 +00:00
|
|
|
$l624ubuntu,
|
2008-03-05 17:24:24 +00:00
|
|
|
$l51045ubuntu,
|
2008-01-15 18:43:00 +00:00
|
|
|
)
|
|
|
|
);
|
|
|
|
|
2007-05-17 17:39:31 +00:00
|
|
|
$linuxx64 = array(
|
2008-01-28 15:48:09 +00:00
|
|
|
"name"=>"Linux x64",
|
|
|
|
"description"=>"For most current Linux/x64 versions; graphical and command-line interfaces",
|
2007-05-17 17:39:31 +00:00
|
|
|
"dbname" => "x86_64-pc-linux-gnu",
|
|
|
|
"versions"=>array(
|
2008-05-21 05:40:22 +00:00
|
|
|
$l624ubuntux64,
|
2008-03-05 17:24:24 +00:00
|
|
|
$l51045ubuntux64,
|
2007-05-17 17:39:31 +00:00
|
|
|
)
|
|
|
|
);
|
|
|
|
|
2005-05-20 17:42:06 +00:00
|
|
|
$platforms = array(
|
|
|
|
"win"=>$windows,
|
2007-04-20 18:47:55 +00:00
|
|
|
"winx64"=>$windowsx64,
|
2005-05-20 17:42:06 +00:00
|
|
|
"mac"=>$mac,
|
|
|
|
"linux"=>$linux,
|
2007-05-17 17:39:31 +00:00
|
|
|
"linuxx64"=>$linuxx64,
|
2008-01-28 15:48:09 +00:00
|
|
|
"linuxcompat"=>$linuxcompat,
|
2005-05-20 17:42:06 +00:00
|
|
|
);
|
|
|
|
|
2006-08-01 21:22:25 +00:00
|
|
|
function is_dev($v) {
|
|
|
|
return (strstr($v["status"], "Development") != null);
|
|
|
|
}
|
|
|
|
|
2007-07-10 17:49:51 +00:00
|
|
|
$url_base = "http://boincdl.ssl.berkeley.edu/dl/";
|
|
|
|
//switch(rand(0,5)) {
|
|
|
|
//case 0: $url_base = "http://boinc.berkeley.edu/dl/"; break;
|
|
|
|
//case 1: $url_base = "http://morel.mit.edu/download/boinc/dl/"; break;
|
|
|
|
//case 2: $url_base = "http://einstein.aei.mpg.de/download/boinc/dl/"; break;
|
|
|
|
//case 3: $url_base = "http://einstein.astro.gla.ac.uk/download/boinc/dl/"; break;
|
|
|
|
//case 4: $url_base = "http://albert.gravity.psu.edu/download/boinc/dl/"; break;
|
|
|
|
//case 5: $url_base = "http://einstein.ligo.caltech.edu/download/boinc/dl/"; break;
|
2007-03-23 18:48:06 +00:00
|
|
|
//case 6: $url_base = "http://einstein.phys.uwm.edu/download/boinc/dl/"; break;
|
2007-07-10 17:49:51 +00:00
|
|
|
//}
|
2006-08-01 21:22:25 +00:00
|
|
|
|
2005-05-20 17:42:06 +00:00
|
|
|
?>
|