2004-11-15 01:58:30 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
require_once("docutil.php");
|
|
|
|
|
2004-11-16 18:22:09 +00:00
|
|
|
function version_start($num, $date, $xml) {
|
|
|
|
if ($xml) return;
|
2004-11-15 01:58:30 +00:00
|
|
|
list_start();
|
|
|
|
list_bar("Version $num (released $date)");
|
2004-11-29 22:26:34 +00:00
|
|
|
list_heading("Platform", "click to download", "MD5 checksum of download file");
|
2004-11-15 01:58:30 +00:00
|
|
|
}
|
|
|
|
|
2004-11-16 18:22:09 +00:00
|
|
|
function version($platform, $filename, $xml) {
|
2004-11-15 01:58:30 +00:00
|
|
|
$path = "dl/$filename";
|
|
|
|
$dlink = "<a href=$path>Download</a>";
|
2004-11-22 19:17:13 +00:00
|
|
|
$md = md5_file($path);
|
2004-11-16 18:22:09 +00:00
|
|
|
if ($xml) {
|
|
|
|
echo "
|
|
|
|
<version>
|
|
|
|
<platform>$platform</platform>
|
|
|
|
<url>http://boinc.berkeley.edu/$path</url>
|
|
|
|
<filename>$filename</filename>
|
2004-11-22 19:17:13 +00:00
|
|
|
<md5>$md</md5>
|
2004-11-16 18:22:09 +00:00
|
|
|
</version>
|
|
|
|
";
|
|
|
|
} else {
|
|
|
|
list_item($platform, $dlink, $md);
|
|
|
|
}
|
2004-11-15 01:58:30 +00:00
|
|
|
}
|
|
|
|
|
2004-11-16 18:22:09 +00:00
|
|
|
function version_end($xml) {
|
|
|
|
if ($xml) return;
|
2004-11-15 01:58:30 +00:00
|
|
|
list_end();
|
|
|
|
}
|
|
|
|
|
2005-01-10 01:05:51 +00:00
|
|
|
function show_458($xml=false) {
|
|
|
|
version_start("4.58", "9 Jan 2005", $xml);
|
|
|
|
version("Windows", "boinc_4.58_windows_intelx86.exe", $xml);
|
|
|
|
version_end($xml);
|
|
|
|
}
|
|
|
|
|
2004-12-27 03:58:11 +00:00
|
|
|
function show_457($xml=false) {
|
|
|
|
version_start("4.57", "23 Dec 2004", $xml);
|
|
|
|
version("Windows", "boinc_4.57_windows_intelx86.exe", $xml);
|
|
|
|
version_end($xml);
|
|
|
|
}
|
|
|
|
|
2004-12-05 23:52:17 +00:00
|
|
|
function show_456($xml=false) {
|
|
|
|
version_start("4.56", "23 Nov 2004", $xml);
|
|
|
|
version("Windows", "boinc_4.56_windows_intelx86.exe", $xml);
|
2004-11-16 18:22:09 +00:00
|
|
|
version_end($xml);
|
|
|
|
}
|
|
|
|
|
|
|
|
function show_413($xml=false) {
|
|
|
|
version_start("4.13", "13 Oct 2004", $xml);
|
|
|
|
version("Windows", "boinc_4.13_windows_intelx86.exe", $xml);
|
|
|
|
version("Linux/x86", "boinc_4.13_i686-pc-linux-gnu.gz", $xml);
|
|
|
|
version("Mac OS X", "boinc_4.13_powerpc-apple-darwin.gz", $xml);
|
|
|
|
version("Solaris/SPARC", "boinc_4.13_sparc-sun-solaris2.7.gz", $xml);
|
|
|
|
version_end($xml);
|
2004-11-15 01:58:30 +00:00
|
|
|
}
|
|
|
|
|
2004-11-16 18:22:09 +00:00
|
|
|
if ($_GET["xml"]) {
|
|
|
|
header ("Content-Type: text/xml");
|
|
|
|
echo "<?xml version=\"1.0\" encoding=\"ISO-8859-1\" ?>
|
|
|
|
<core_versions>
|
|
|
|
";
|
|
|
|
echo "<stable_version>4.13</stable_version>\n";
|
|
|
|
show_413(true);
|
|
|
|
echo "<development_version>4.55</development_version>\n";
|
2004-11-17 22:11:17 +00:00
|
|
|
//show_455(true);
|
2004-11-16 18:22:09 +00:00
|
|
|
echo "</core_versions>\n";
|
|
|
|
exit();
|
2004-11-15 01:58:30 +00:00
|
|
|
}
|
|
|
|
|
2004-11-16 18:22:09 +00:00
|
|
|
page_head("Download BOINC client software");
|
|
|
|
|
2004-11-15 01:58:30 +00:00
|
|
|
echo "
|
|
|
|
<h2>System requirements</h2>
|
|
|
|
<p>
|
|
|
|
There are no specific hardware requirements
|
2004-11-29 22:26:34 +00:00
|
|
|
(CPU speed, memory, disk space, etc.).
|
2004-11-15 01:58:30 +00:00
|
|
|
However, these factors may limit the amount or type
|
|
|
|
of work that is sent to your computer.
|
2004-11-29 22:26:34 +00:00
|
|
|
|
|
|
|
<h2>Current version</h2>
|
2004-11-15 01:58:30 +00:00
|
|
|
";
|
|
|
|
show_413();
|
|
|
|
|
|
|
|
echo "
|
2004-11-29 22:26:34 +00:00
|
|
|
After the download is finished:
|
|
|
|
<ul>
|
|
|
|
<li><b>Windows</b>:
|
|
|
|
open the downloaded file.
|
|
|
|
This will install BOINC on your computer.
|
|
|
|
<li><b>Macintosh OS X, Unix and Linux</b>:
|
|
|
|
Use gunzip to uncompress if your browser has not done it for you.
|
|
|
|
Then chmod +x the executable and run it.
|
|
|
|
</ul>
|
|
|
|
<p>
|
|
|
|
|
2004-11-15 01:58:30 +00:00
|
|
|
If your computer is not one of the above types, you can
|
|
|
|
<ul>
|
|
|
|
<li> <a href=anonymous_platform.php>download and compile the BOINC software yourself</a> or
|
|
|
|
<li> <a href=download_other.php>download from a third-party site</a>.
|
|
|
|
</ul>
|
|
|
|
<p>
|
|
|
|
BOINC can be customized for
|
|
|
|
<a href=http://boinc.berkeley.edu/language.php>languages other than English</a>
|
|
|
|
";
|
|
|
|
|
2004-12-05 23:52:17 +00:00
|
|
|
if ($_GET["dev"]) {
|
|
|
|
echo "
|
|
|
|
<h2>Development version (latest features, possibly buggy)</h2>
|
|
|
|
";
|
2005-01-10 01:05:51 +00:00
|
|
|
show_458();
|
2004-12-05 23:52:17 +00:00
|
|
|
}
|
2004-11-15 01:58:30 +00:00
|
|
|
|
|
|
|
|
|
|
|
page_tail();
|
|
|
|
|
|
|
|
?>
|