2005-05-20 17:42:06 +00:00
|
|
|
<?php
|
|
|
|
|
2008-04-01 15:08:47 +00:00
|
|
|
function show_linux_info() {
|
|
|
|
echo "
|
|
|
|
<p>
|
2010-04-01 03:32:14 +00:00
|
|
|
".tra("The current release is known to work with these Linux versions:")."
|
2008-04-01 15:08:47 +00:00
|
|
|
<ul>
|
2010-04-01 03:32:14 +00:00
|
|
|
<li> Fedora Core 7+
|
|
|
|
<li> Debian 4.1+
|
2010-03-29 22:28:20 +00:00
|
|
|
<li> Ubuntu 7.10+
|
2008-06-01 03:43:47 +00:00
|
|
|
<li> Mandriva, Sabayon, Mint, Gentoo, other Debian-based distributions
|
2008-04-01 15:08:47 +00:00
|
|
|
</ul>
|
|
|
|
<p>
|
2010-04-01 03:32:14 +00:00
|
|
|
".tra("For other Linux versions, check if a BOINC package is offered by your Linux distribution.")."
|
2008-04-01 15:08:47 +00:00
|
|
|
<ul>
|
2010-04-01 03:32:14 +00:00
|
|
|
<li> Fedora 7+: type
|
2008-04-01 15:08:47 +00:00
|
|
|
<pre>yum install boinc-client boinc-manager</pre> as root.
|
|
|
|
<li> Debian and Ubuntu: package names <b>boinc-client</b>,
|
|
|
|
<b>boinc-manager</b>
|
2008-08-16 20:59:53 +00:00
|
|
|
(more info <a href=\"http://wiki.debian.org/BOINC\">here</a>).
|
2008-04-01 15:08:47 +00:00
|
|
|
Also <b>boinc-dev</b> (for project developers).
|
|
|
|
<li> Gentoo: package name <b>sci-misc/boinc</b>
|
|
|
|
</ul>
|
|
|
|
<p>
|
2010-04-01 03:32:14 +00:00
|
|
|
".tra("Alternatively, download the %1BOINC client for older Linux versions%2. This doesn't have a graphical interface, but it should work on all Linux systems, both x86 and x64.",
|
|
|
|
"<a href=http://boinc.berkeley.edu/download_all.php>",
|
|
|
|
"</a>"
|
|
|
|
)
|
|
|
|
;
|
2008-04-01 15:08:47 +00:00
|
|
|
}
|
|
|
|
|
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
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2010-05-27 20:52:53 +00:00
|
|
|
$w610dev = array(
|
|
|
|
"num"=>"6.10.57",
|
|
|
|
"status"=>"Development version",
|
|
|
|
"file"=>"boinc_6.10.57_windows_intelx86.exe",
|
|
|
|
"date"=>"27 May 2010",
|
|
|
|
"type"=>"win_new",
|
|
|
|
);
|
|
|
|
|
2010-05-24 19:24:09 +00:00
|
|
|
$w610 = array(
|
2010-05-14 19:28:21 +00:00
|
|
|
"num"=>"6.10.56",
|
2010-05-24 19:24:09 +00:00
|
|
|
"status"=>"Recommended version",
|
2010-05-14 19:28:21 +00:00
|
|
|
"file"=>"boinc_6.10.56_windows_intelx86.exe",
|
|
|
|
"date"=>"14 May 2010",
|
2010-04-06 20:52:20 +00:00
|
|
|
"type"=>"win_new",
|
|
|
|
);
|
|
|
|
|
2009-12-09 21:28:17 +00:00
|
|
|
$w66 = array(
|
2009-10-28 18:28:23 +00:00
|
|
|
"num"=>"6.6.38",
|
2009-11-02 16:55:48 +00:00
|
|
|
"status"=>"Older version (also works on Windows 98, Windows ME)",
|
2009-10-28 18:28:23 +00:00
|
|
|
"file"=>"boinc_6.6.38_windows_intelx86.exe",
|
|
|
|
"date"=>"28 Oct 2009",
|
2009-04-09 20:54:55 +00:00
|
|
|
"type"=>"win_new",
|
|
|
|
);
|
|
|
|
|
2010-03-05 18:38:49 +00:00
|
|
|
$w5816 = array(
|
|
|
|
"num"=>"5.8.16",
|
|
|
|
"status"=>"Older version (also works on Windows 95 and NT 4.0)",
|
|
|
|
"file"=>"boinc_5.8.16_windows_intelx86.exe",
|
|
|
|
"date"=>"1 Mar 2007",
|
|
|
|
"type"=>"win_new",
|
2009-12-09 21:28:17 +00:00
|
|
|
);
|
|
|
|
|
2010-05-27 20:52:53 +00:00
|
|
|
$w610x64dev = array(
|
|
|
|
"num"=>"6.10.57",
|
|
|
|
"status"=>"Development version",
|
|
|
|
"file"=>"boinc_6.10.57_windows_x86_64.exe",
|
|
|
|
"date"=>"27 May 2010",
|
|
|
|
"type"=>"win_new",
|
|
|
|
);
|
|
|
|
|
2010-05-24 19:24:09 +00:00
|
|
|
$w610x64 = array(
|
2010-05-14 19:28:21 +00:00
|
|
|
"num"=>"6.10.56",
|
2010-05-24 19:24:09 +00:00
|
|
|
"status"=>"Recommended version",
|
2010-05-14 19:28:21 +00:00
|
|
|
"file"=>"boinc_6.10.56_windows_x86_64.exe",
|
|
|
|
"date"=>"14 May 2010",
|
2010-04-06 20:52:20 +00:00
|
|
|
"type"=>"win_new",
|
|
|
|
);
|
|
|
|
|
2009-12-10 20:55:58 +00:00
|
|
|
$w66x64 = array(
|
2009-10-28 18:28:23 +00:00
|
|
|
"num"=>"6.6.38",
|
2009-10-30 16:33:05 +00:00
|
|
|
"status"=>"Older version",
|
2009-10-28 18:28:23 +00:00
|
|
|
"file"=>"boinc_6.6.38_windows_x86_64.exe",
|
|
|
|
"date"=>"28 Oct 2009",
|
2009-04-09 20:54:55 +00:00
|
|
|
"type"=>"win_new",
|
|
|
|
);
|
|
|
|
|
2010-06-03 00:03:10 +00:00
|
|
|
$m610dev = array(
|
|
|
|
"num"=>"6.10.57",
|
|
|
|
"status"=>"Development version (standard GUI)",
|
|
|
|
"file"=>"boinc_6.10.57_macOSX_universal.zip",
|
|
|
|
"date"=>"2 Jun 2010",
|
|
|
|
"type"=>"mac_advanced",
|
|
|
|
);
|
|
|
|
|
2010-05-24 19:24:09 +00:00
|
|
|
$m610 = array(
|
2010-05-14 23:13:47 +00:00
|
|
|
"num"=>"6.10.56",
|
2010-05-24 19:24:09 +00:00
|
|
|
"status"=>"Recommended version (standard GUI)",
|
2010-05-14 23:13:47 +00:00
|
|
|
"file"=>"boinc_6.10.56_macOSX_universal.zip",
|
|
|
|
"date"=>"14 May 2010",
|
2010-04-06 00:22:40 +00:00
|
|
|
"type"=>"mac_advanced",
|
|
|
|
);
|
|
|
|
|
2010-05-10 23:12:33 +00:00
|
|
|
$m610older = array(
|
|
|
|
"num"=>"6.10.21",
|
|
|
|
"status"=>"Older version (standard GUI)",
|
2010-04-29 20:40:53 +00:00
|
|
|
"file"=>"boinc_6.10.21_macOSX_universal.zip",
|
|
|
|
"date"=>"1 Dec 2009",
|
2010-05-10 23:12:33 +00:00
|
|
|
"type"=>"mac_advanced",
|
2010-03-12 00:23:38 +00:00
|
|
|
);
|
|
|
|
|
2009-05-15 17:14:38 +00:00
|
|
|
$m66 = array(
|
2009-06-10 20:49:42 +00:00
|
|
|
"num"=>"6.6.36",
|
2009-12-07 09:03:51 +00:00
|
|
|
"status"=>"Older version (standard GUI) (works on OS 10.3.9 - OS 10.5.8)",
|
2009-06-10 20:49:42 +00:00
|
|
|
"file"=>"boinc_6.6.36_macOSX_universal.zip",
|
|
|
|
"date"=>"10 June 2009",
|
2009-04-09 20:54:55 +00:00
|
|
|
"type"=>"mac_advanced",
|
|
|
|
);
|
|
|
|
|
2010-06-03 00:03:10 +00:00
|
|
|
$m610cdev = array(
|
|
|
|
"num"=>"6.10.57",
|
|
|
|
"status"=>"Development version (Unix command-line version)",
|
|
|
|
"file"=>"boinc_6.10.57_universal-apple-darwin.zip",
|
|
|
|
"date"=>"2 Jun 2010",
|
|
|
|
"type"=>"bare_core",
|
|
|
|
);
|
|
|
|
|
2010-05-24 19:24:09 +00:00
|
|
|
$m610c = array(
|
2010-05-14 23:13:47 +00:00
|
|
|
"num"=>"6.10.56",
|
2010-05-24 19:24:09 +00:00
|
|
|
"status"=>"Recommended version (Unix command-line version)",
|
2010-05-14 23:13:47 +00:00
|
|
|
"file"=>"boinc_6.10.56_universal-apple-darwin.zip",
|
|
|
|
"date"=>"14 May 2010",
|
2010-05-10 23:18:03 +00:00
|
|
|
"type"=>"bare_core",
|
|
|
|
);
|
|
|
|
|
|
|
|
$m610colder = array(
|
2010-04-29 20:40:53 +00:00
|
|
|
"num"=>"6.10.21",
|
2010-05-10 23:18:03 +00:00
|
|
|
"status"=>"Older version (Unix command-line version)",
|
2010-04-29 20:40:53 +00:00
|
|
|
"file"=>"boinc_6.10.21_universal-apple-darwin.zip",
|
|
|
|
"date"=>"1 Dec 2009",
|
2010-03-12 00:23:38 +00:00
|
|
|
"type"=>"bare_core",
|
|
|
|
);
|
|
|
|
|
2009-05-15 17:14:38 +00:00
|
|
|
$m66c = array(
|
2009-06-10 20:49:42 +00:00
|
|
|
"num"=>"6.6.36",
|
2009-12-07 09:03:51 +00:00
|
|
|
"status"=>"Older version (Unix command-line version) (works on OS 10.3.9 - OS 10.5.8)",
|
2009-06-10 20:49:42 +00:00
|
|
|
"file"=>"boinc_6.6.36_universal-apple-darwin.zip",
|
|
|
|
"date"=>"10 June 2009",
|
2009-04-09 20:54:55 +00:00
|
|
|
"type"=>"bare_core",
|
|
|
|
);
|
|
|
|
|
2009-01-22 19:34:58 +00:00
|
|
|
$l66 = array(
|
2009-10-22 17:52:38 +00:00
|
|
|
"num"=>"6.6.41",
|
2009-09-04 21:42:10 +00:00
|
|
|
"status"=>"Recommended version",
|
2009-10-22 17:52:38 +00:00
|
|
|
"file"=>"boinc_compat_6.6.41_i686-pc-linux-gnu.sh",
|
|
|
|
"date"=>"22 Oct 2009",
|
2009-09-04 21:42:10 +00:00
|
|
|
"type"=>"sea",
|
|
|
|
);
|
2008-12-22 18:58:45 +00:00
|
|
|
|
2008-11-19 00:48:15 +00:00
|
|
|
$l64 = array(
|
2008-12-10 03:04:34 +00:00
|
|
|
"num"=>"6.4.5",
|
2009-06-01 19:09:31 +00:00
|
|
|
"status"=>"Older version",
|
2008-12-10 03:04:34 +00:00
|
|
|
"file"=>"boinc_compat_6.4.5_i686-pc-linux-gnu.sh",
|
|
|
|
"date"=>"9 Dec 2008",
|
2008-07-17 02:59:17 +00:00
|
|
|
"type"=>"sea",
|
|
|
|
);
|
|
|
|
|
2010-05-24 19:24:09 +00:00
|
|
|
$l610ubuntu = array(
|
2010-05-14 19:28:21 +00:00
|
|
|
"num"=>"6.10.56",
|
2010-05-24 19:24:09 +00:00
|
|
|
"status"=>"Recommended version",
|
2010-05-14 19:28:21 +00:00
|
|
|
"file"=>"boinc_6.10.56_i686-pc-linux-gnu.sh",
|
|
|
|
"date"=>"14 May 2010",
|
2010-04-06 20:52:20 +00:00
|
|
|
"type"=>"sea",
|
|
|
|
);
|
|
|
|
|
2009-01-22 19:34:58 +00:00
|
|
|
$l66ubuntu = array(
|
2009-10-22 17:52:38 +00:00
|
|
|
"num"=>"6.6.41",
|
2009-10-30 16:29:08 +00:00
|
|
|
"status"=>"Older version",
|
2009-10-22 17:52:38 +00:00
|
|
|
"file"=>"boinc_6.6.41_i686-pc-linux-gnu.sh",
|
|
|
|
"date"=>"22 Oct 2009",
|
2009-09-04 21:42:10 +00:00
|
|
|
"type"=>"sea",
|
2009-10-22 19:55:58 +00:00
|
|
|
);
|
2008-12-22 18:58:45 +00:00
|
|
|
|
2010-05-24 19:24:09 +00:00
|
|
|
$l610ubuntux64 = array(
|
2010-05-14 19:28:21 +00:00
|
|
|
"num"=>"6.10.56",
|
2010-05-24 19:24:09 +00:00
|
|
|
"status"=>"Recommended version",
|
2010-05-14 19:28:21 +00:00
|
|
|
"file"=>"boinc_6.10.56_x86_64-pc-linux-gnu.sh",
|
|
|
|
"date"=>"14 May 2010",
|
2010-04-06 20:52:20 +00:00
|
|
|
"type"=>"sea",
|
|
|
|
);
|
|
|
|
|
2009-01-22 19:34:58 +00:00
|
|
|
$l66ubuntux64 = array(
|
2009-10-22 17:52:38 +00:00
|
|
|
"num"=>"6.6.41",
|
2009-10-30 16:29:08 +00:00
|
|
|
"status"=>"Older version",
|
2009-10-22 17:52:38 +00:00
|
|
|
"file"=>"boinc_6.6.41_x86_64-pc-linux-gnu.sh",
|
|
|
|
"date"=>"22 Oct 2009",
|
2009-09-04 21:42:10 +00:00
|
|
|
"type"=>"sea",
|
2009-10-22 19:55:58 +00:00
|
|
|
);
|
2009-01-22 19:34:58 +00:00
|
|
|
|
2009-10-14 18:07:49 +00:00
|
|
|
// platform descriptors. For each one, "versions"
|
|
|
|
// lists versions in reverse time order.
|
|
|
|
// i.e. the first non-dev version is the current one
|
|
|
|
|
2005-05-20 17:42:06 +00:00
|
|
|
$windows = array(
|
|
|
|
"name"=>"Windows",
|
2009-11-02 17:21:35 +00:00
|
|
|
"description"=>"2000/XP/Vista/7",
|
2005-11-10 06:06:11 +00:00
|
|
|
"dbname" => "windows_intelx86",
|
2005-05-20 17:42:06 +00:00
|
|
|
"versions"=>array(
|
2010-05-27 20:55:42 +00:00
|
|
|
$w610dev,
|
2009-12-09 21:28:17 +00:00
|
|
|
$w610,
|
|
|
|
$w66,
|
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",
|
2009-10-30 16:33:05 +00:00
|
|
|
"description"=>"XP/Vista/7",
|
2007-04-20 18:47:55 +00:00
|
|
|
"dbname" => "windows_x86_64",
|
|
|
|
"versions"=>array(
|
2010-05-27 20:55:42 +00:00
|
|
|
$w610x64dev,
|
2009-12-09 21:28:17 +00:00
|
|
|
$w610x64,
|
|
|
|
$w66x64,
|
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",
|
2009-12-07 09:00:33 +00:00
|
|
|
"description"=>"Version 10.4.0+",
|
2005-11-10 06:06:11 +00:00
|
|
|
"dbname" => "powerpc-apple-darwin",
|
2005-05-20 17:42:06 +00:00
|
|
|
"versions"=>array(
|
2010-06-03 00:03:10 +00:00
|
|
|
$m610dev,
|
|
|
|
$m610,
|
|
|
|
$m610cdev,
|
|
|
|
$m610c,
|
2010-05-12 18:40:29 +00:00
|
|
|
$m610older,
|
|
|
|
$m610colder,
|
2010-06-03 00:03:10 +00:00
|
|
|
$m66,
|
2009-01-12 03:50:30 +00:00
|
|
|
$m66c,
|
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(
|
2009-01-22 19:34:58 +00:00
|
|
|
$l66,
|
2008-12-22 18:58:45 +00:00
|
|
|
$l64,
|
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(
|
2009-10-30 16:29:08 +00:00
|
|
|
$l610ubuntu,
|
2009-09-04 21:42:10 +00:00
|
|
|
$l66ubuntu,
|
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(
|
2009-10-30 16:29:08 +00:00
|
|
|
$l610ubuntux64,
|
2009-09-04 21:42:10 +00:00
|
|
|
$l66ubuntux64,
|
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);
|
|
|
|
}
|
|
|
|
|
2009-08-12 16:01:46 +00:00
|
|
|
// note: rand() is inclusive
|
2010-05-24 19:26:59 +00:00
|
|
|
//switch(rand(0,3)) {
|
|
|
|
switch(0) {
|
|
|
|
case 0: $url_base = "http://boinc.berkeley.edu/dl/"; break;
|
2010-03-10 06:00:37 +00:00
|
|
|
case 0: $url_base = "http://boincdl3.ssl.berkeley.edu/mirror/"; break;
|
|
|
|
case 1: $url_base = "http://einstein.ligo.caltech.edu/download/boinc/dl/"; break;
|
|
|
|
case 2: $url_base = "http://einstein.aei.mpg.de/download/boinc/dl/"; break;
|
2007-07-10 17:49:51 +00:00
|
|
|
//case 1: $url_base = "http://morel.mit.edu/download/boinc/dl/"; break;
|
2010-04-06 20:32:02 +00:00
|
|
|
case 3: $url_base = "http://einstein-dl.phys.uwm.edu/download/boinc/dl/"; break;
|
|
|
|
//case 4: $url_base = "http://einstein.astro.gla.ac.uk/download/boinc/dl/"; break;
|
2007-07-10 17:49:51 +00:00
|
|
|
//case 4: $url_base = "http://albert.gravity.psu.edu/download/boinc/dl/"; break;
|
2010-03-10 06:00:37 +00:00
|
|
|
}
|
2006-08-01 21:22:25 +00:00
|
|
|
|
2005-05-20 17:42:06 +00:00
|
|
|
?>
|