2004-11-15 01:58:30 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
require_once("docutil.php");
|
|
|
|
|
2005-02-25 21:31:46 +00:00
|
|
|
function version_start($num, $date, $xml, $comment=null) {
|
2004-11-16 18:22:09 +00:00
|
|
|
if ($xml) return;
|
2004-11-15 01:58:30 +00:00
|
|
|
list_start();
|
|
|
|
list_bar("Version $num (released $date)");
|
2005-02-25 21:31:46 +00:00
|
|
|
if ($comment) {
|
|
|
|
list_bar($comment);
|
|
|
|
}
|
2005-03-05 23:12:31 +00:00
|
|
|
list_heading_array(array(
|
|
|
|
"Platform", "click to download",
|
|
|
|
"Installation type<br><font size=-2>click for instructions</font>",
|
|
|
|
"MD5 checksum of download file"
|
|
|
|
));
|
2004-11-15 01:58:30 +00:00
|
|
|
}
|
|
|
|
|
2005-03-05 23:12:31 +00:00
|
|
|
function version($platform, $filename, $install_type, $xml) {
|
2004-11-15 01:58:30 +00:00
|
|
|
$path = "dl/$filename";
|
2005-02-11 23:34:09 +00:00
|
|
|
$dlink = "<a href=http://boinc.berkeley.edu/$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 {
|
2005-03-05 23:12:31 +00:00
|
|
|
list_item_array(array($platform, $dlink, $install_type, $md));
|
2004-11-16 18:22:09 +00:00
|
|
|
}
|
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-03-05 23:12:31 +00:00
|
|
|
function win_old() {
|
|
|
|
return "<a href=client_windows.php>Old Windows installer</a>";
|
|
|
|
}
|
|
|
|
|
|
|
|
function win_new() {
|
|
|
|
return "<a href=win_install.php>New Windows installer</a>";
|
|
|
|
}
|
|
|
|
|
|
|
|
function bare_core() {
|
|
|
|
return "<a href=bare_core.php>Core client only (command-line)</a>";
|
|
|
|
}
|
|
|
|
|
|
|
|
function sea() {
|
|
|
|
return "<a href=sea.php>Self-extracting archive</a>";
|
|
|
|
}
|
|
|
|
|
|
|
|
function mac_simple() {
|
|
|
|
return "<a href=mac_simple.php>Simple GUI (test version)</a>";
|
|
|
|
}
|
|
|
|
|
|
|
|
function mac_advanced() {
|
|
|
|
return "<a href=mac_advanced.php>Advanced GUI (test version)</a>";
|
|
|
|
}
|
|
|
|
|
2005-03-04 01:21:38 +00:00
|
|
|
function show_425($xml=false) {
|
|
|
|
version_start("4.25", "3 Mar 2005", $xml);
|
2005-03-05 23:12:31 +00:00
|
|
|
version("Windows", "boinc_4.25_windows_intelx86.exe", win_new(), $xml);
|
|
|
|
version("Mac OS X", "BOINC_Menubar.zip", mac_simple(), $xml);
|
|
|
|
//version("Mac OS X", "BOINC.app.sit", mac_advanced(), $xml);
|
|
|
|
version("Mac OS X", "boinc_4.25_powerpc-apple-darwin.gz", bare_core(), $xml);
|
|
|
|
version("Linux/x86", "boinc_4.25_i686-pc-linux-gnu.sh", sea(), $xml);
|
|
|
|
version("Solaris/SPARC", "boinc_4.25_sparc-sun-solaris2.7.sh", sea(), $xml);
|
2005-03-04 01:21:38 +00:00
|
|
|
version_end($xml);
|
|
|
|
}
|
|
|
|
|
2005-02-24 02:54:51 +00:00
|
|
|
function show_424($xml=false) {
|
|
|
|
version_start("4.24", "23 Feb 2005", $xml);
|
2005-02-24 22:33:00 +00:00
|
|
|
version("Linux/x86", "boinc_4.24_i686-pc-linux-gnu.sh", $xml);
|
2005-02-24 02:54:51 +00:00
|
|
|
version_end($xml);
|
|
|
|
}
|
|
|
|
|
2005-02-22 03:38:33 +00:00
|
|
|
function show_423($xml=false) {
|
|
|
|
version_start("4.23", "21 Feb 2005", $xml);
|
|
|
|
version("Windows", "boinc_4.23_windows_intelx86.exe", $xml);
|
|
|
|
version("Linux/x86", "boinc_4.23_i686-pc-linux-gnu.sh", $xml);
|
2005-02-23 01:15:37 +00:00
|
|
|
version("Solaris/SPARC", "boinc_4.23_sparc-sun-solaris2.7.sh", $xml);
|
2005-02-22 03:38:33 +00:00
|
|
|
version_end($xml);
|
|
|
|
}
|
|
|
|
|
2005-02-18 02:45:22 +00:00
|
|
|
function show_422($xml=false) {
|
|
|
|
version_start("4.22", "18 Feb 2005", $xml);
|
|
|
|
version("Windows", "boinc_4.22_windows_intelx86.exe", $xml);
|
|
|
|
version_end($xml);
|
|
|
|
}
|
|
|
|
|
2005-02-12 01:36:14 +00:00
|
|
|
function show_421($xml=false) {
|
|
|
|
version_start("4.21", "11 Feb 2005", $xml);
|
|
|
|
version("Windows", "boinc_4.21_windows_intelx86.exe", $xml);
|
|
|
|
version_end($xml);
|
|
|
|
}
|
|
|
|
|
2005-02-09 04:14:14 +00:00
|
|
|
function show_420($xml=false) {
|
|
|
|
version_start("4.20", "8 Feb 2005", $xml);
|
|
|
|
version("Windows", "boinc_4.20_windows_intelx86.exe", $xml);
|
2004-11-16 18:22:09 +00:00
|
|
|
version_end($xml);
|
|
|
|
}
|
|
|
|
|
2005-01-26 00:24:38 +00:00
|
|
|
function show_419($xml=false) {
|
2005-02-25 21:31:46 +00:00
|
|
|
version_start("4.19", "25 Jan 2005", $xml,
|
|
|
|
"This version doesn't work with some HTTP proxies.
|
|
|
|
If you use a proxy and experience problems,
|
|
|
|
please use version 4.23 or later,
|
|
|
|
in which this problem is fixed."
|
|
|
|
);
|
2005-03-05 23:12:31 +00:00
|
|
|
version("Windows", "boinc_4.19_windows_intelx86.exe", win_old(), $xml);
|
|
|
|
version("Linux/x86", "boinc_4.19_i686-pc-linux-gnu.gz", bare_core(), $xml);
|
|
|
|
version("Mac OS X", "boinc_4.19_powerpc-apple-darwin.gz", bare_core(), $xml);
|
|
|
|
version("Solaris/SPARC", "boinc_4.19_sparc-sun-solaris2.7.gz", bare_core(), $xml);
|
2005-01-26 00:24:38 +00:00
|
|
|
version_end($xml);
|
|
|
|
}
|
|
|
|
|
2005-01-25 00:34:19 +00:00
|
|
|
function show_418($xml=false) {
|
|
|
|
version_start("4.18", "24 Jan 2005", $xml);
|
|
|
|
version("Windows", "boinc_4.18_windows_intelx86.exe", $xml);
|
|
|
|
version("Linux/x86", "boinc_4.18_i686-pc-linux-gnu.gz", $xml);
|
|
|
|
version("Mac OS X", "boinc_4.18_powerpc-apple-darwin.gz", $xml);
|
|
|
|
version("Solaris/SPARC", "boinc_4.18_sparc-sun-solaris2.7.gz", $xml);
|
|
|
|
version_end($xml);
|
|
|
|
}
|
|
|
|
|
2005-02-02 23:55:00 +00:00
|
|
|
function show_stable($xml) {
|
|
|
|
show_419($xml);
|
|
|
|
}
|
|
|
|
|
|
|
|
function show_dev($xml) {
|
2005-03-04 01:21:38 +00:00
|
|
|
show_425($xml);
|
2005-02-02 23:55:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
if ($_GET["no_header"]) {
|
|
|
|
show_stable(false);
|
|
|
|
if ($_GET["dev"]) {
|
|
|
|
show_dev(false);
|
|
|
|
}
|
|
|
|
exit();
|
|
|
|
}
|
|
|
|
|
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>
|
|
|
|
";
|
2005-02-02 23:55:00 +00:00
|
|
|
echo "<stable_versions/>\n";
|
|
|
|
show_stable(true);
|
|
|
|
echo "<unstable_versions/>\n";
|
|
|
|
show_dev(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 "
|
2005-02-25 21:31:46 +00:00
|
|
|
|
|
|
|
<h2>Stable version (recommended)</h2>
|
2004-11-15 01:58:30 +00:00
|
|
|
";
|
2005-02-02 23:55:00 +00:00
|
|
|
show_stable(false);
|
2004-11-15 01:58:30 +00:00
|
|
|
echo "
|
2005-02-25 21:31:46 +00:00
|
|
|
If your computer is not of one of the above types, you can
|
2004-11-15 01:58:30 +00:00
|
|
|
<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>
|
2005-02-25 21:31:46 +00:00
|
|
|
There are no specific hardware requirements
|
|
|
|
(CPU speed, memory, disk space, etc.).
|
|
|
|
However, these factors may limit the amount or type
|
|
|
|
of work that is sent to your computer.
|
|
|
|
<p>
|
|
|
|
The Windows version can be customized for
|
2004-11-15 01:58:30 +00:00
|
|
|
<a href=http://boinc.berkeley.edu/language.php>languages other than English</a>
|
2005-01-18 23:35:53 +00:00
|
|
|
|
2005-02-25 21:31:46 +00:00
|
|
|
";
|
|
|
|
|
|
|
|
echo "
|
|
|
|
<a name=dev>
|
|
|
|
<h2>Development versions (latest features, possibly buggy)</h2>
|
|
|
|
";
|
|
|
|
show_dev(false);
|
|
|
|
|
|
|
|
echo "
|
2005-02-01 21:11:08 +00:00
|
|
|
<p>
|
|
|
|
Get data in <a href=download.php?xml=1>XML format</a>.
|
2004-11-15 01:58:30 +00:00
|
|
|
";
|
|
|
|
|
|
|
|
|
|
|
|
page_tail();
|
|
|
|
|
|
|
|
?>
|