mirror of https://github.com/BOINC/boinc.git
114 lines
2.8 KiB
PHP
Executable File
114 lines
2.8 KiB
PHP
Executable File
<?php
|
|
|
|
require_once("docutil.php");
|
|
|
|
function version_start($num, $date, $xml) {
|
|
if ($xml) return;
|
|
list_start();
|
|
list_bar("Version $num (released $date)");
|
|
list_heading("Platform", "click to download", "MD5 checksum");
|
|
}
|
|
|
|
function version($platform, $filename, $xml) {
|
|
$path = "dl/$filename";
|
|
$dlink = "<a href=$path>Download</a>";
|
|
$md = md5_file($path);
|
|
if ($xml) {
|
|
echo "
|
|
<version>
|
|
<platform>$platform</platform>
|
|
<url>http://boinc.berkeley.edu/$path</url>
|
|
<filename>$filename</filename>
|
|
<md5>$md</md5>
|
|
</version>
|
|
";
|
|
} else {
|
|
list_item($platform, $dlink, $md);
|
|
}
|
|
}
|
|
|
|
function version_end($xml) {
|
|
if ($xml) return;
|
|
list_end();
|
|
}
|
|
|
|
function show_455($xml=false) {
|
|
version_start("4.55", "13 Nov 2004", $xml);
|
|
version("Windows", "boinc_4.55_windows_intelx86.exe", $xml);
|
|
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);
|
|
}
|
|
|
|
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";
|
|
//show_455(true);
|
|
echo "</core_versions>\n";
|
|
exit();
|
|
}
|
|
|
|
page_head("Download BOINC client software");
|
|
|
|
echo "
|
|
<p>
|
|
Learn more about BOINC
|
|
<a href=http://boinc.berkeley.edu/participate.php>here</a>.
|
|
|
|
|
|
<h2>System requirements</h2>
|
|
The BOINC core client is available for the following platforms:
|
|
<ul>
|
|
<li> Windows (95 and up)
|
|
<li> Linux/x86
|
|
<li> Solaris/SPARC
|
|
<li> Mac OS X
|
|
</ul>
|
|
<p>
|
|
There are no specific hardware requirements
|
|
(CPU speed, RAM, disk space, etc.).
|
|
However, these factors may limit the amount or type
|
|
of work that is sent to your computer.
|
|
Each 'work unit' has minimum RAM and disk requirements,
|
|
and a deadline for completion of its computation.
|
|
A BOINC project won't send a work unit to a computer that can't handle it.
|
|
<p>
|
|
<h2>Stable version (recommended)</h2>
|
|
";
|
|
show_413();
|
|
|
|
echo "
|
|
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>
|
|
";
|
|
//echo "
|
|
//<h2>Development version (latest features, possibly buggy)</h2>
|
|
//";
|
|
//show_455();
|
|
|
|
//echo"<h2>Old versions</h2>\n";
|
|
//show_405();
|
|
|
|
|
|
page_tail();
|
|
|
|
?>
|