2005-05-20 17:42:06 +00:00
|
|
|
<?php
|
|
|
|
|
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
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2011-12-05 16:02:17 +00:00
|
|
|
$w70 = array(
|
2012-01-14 18:19:28 +00:00
|
|
|
"num"=>"7.0.8",
|
2011-07-07 14:53:23 +00:00
|
|
|
"status"=>"Development version",
|
2012-01-14 18:19:28 +00:00
|
|
|
"file"=>"boinc_7.0.8_windows_intelx86.exe",
|
|
|
|
"date"=>"13 Jan 2012",
|
2011-07-07 14:53:23 +00:00
|
|
|
"type"=>"win_new",
|
|
|
|
);
|
|
|
|
|
2011-09-02 16:30:58 +00:00
|
|
|
$w612 = array(
|
2011-07-28 23:12:37 +00:00
|
|
|
"num"=>"6.12.34",
|
2011-09-02 16:30:58 +00:00
|
|
|
"status"=>"Recommended version",
|
2011-07-28 23:12:37 +00:00
|
|
|
"file"=>"boinc_6.12.34_windows_intelx86.exe",
|
|
|
|
"date"=>"28 July 2011",
|
|
|
|
"type"=>"win_new",
|
|
|
|
);
|
|
|
|
|
2010-07-12 18:47:47 +00:00
|
|
|
$w610 = array(
|
2011-03-25 20:03:51 +00:00
|
|
|
"num"=>"6.10.60",
|
2011-05-17 17:08:07 +00:00
|
|
|
"status"=>"Older version",
|
2011-03-25 20:03:51 +00:00
|
|
|
"file"=>"boinc_6.10.60_windows_intelx86.exe",
|
|
|
|
"date"=>"25 Mar 2011",
|
2010-05-27 20:52:53 +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
|
|
|
);
|
|
|
|
|
2011-12-05 16:02:17 +00:00
|
|
|
$w70x64 = array(
|
2012-01-14 18:19:28 +00:00
|
|
|
"num"=>"7.0.8",
|
2011-07-07 14:53:23 +00:00
|
|
|
"status"=>"Development version",
|
2012-01-14 18:19:28 +00:00
|
|
|
"file"=>"boinc_7.0.8_windows_x86_64.exe",
|
|
|
|
"date"=>"13 Jan 2012",
|
2011-07-07 14:53:23 +00:00
|
|
|
"type"=>"win_new",
|
|
|
|
);
|
|
|
|
|
2011-09-02 16:30:58 +00:00
|
|
|
$w612x64 = array(
|
2011-07-28 23:12:37 +00:00
|
|
|
"num"=>"6.12.34",
|
2011-09-02 16:30:58 +00:00
|
|
|
"status"=>"Recommended version",
|
2011-07-28 23:12:37 +00:00
|
|
|
"file"=>"boinc_6.12.34_windows_x86_64.exe",
|
|
|
|
"date"=>"28 July 2011",
|
|
|
|
"type"=>"win_new",
|
|
|
|
);
|
|
|
|
|
2010-07-12 18:47:47 +00:00
|
|
|
$w610x64 = array(
|
2011-03-25 20:03:51 +00:00
|
|
|
"num"=>"6.10.60",
|
2011-05-17 17:08:07 +00:00
|
|
|
"status"=>"Older version",
|
2011-03-25 20:03:51 +00:00
|
|
|
"file"=>"boinc_6.10.60_windows_x86_64.exe",
|
|
|
|
"date"=>"25 Mar 2011",
|
2010-05-27 20:52:53 +00:00
|
|
|
"type"=>"win_new",
|
|
|
|
);
|
|
|
|
|
2011-12-05 16:02:17 +00:00
|
|
|
$m70 = array(
|
2012-01-14 18:19:28 +00:00
|
|
|
"num"=>"7.0.8",
|
2011-07-07 14:57:40 +00:00
|
|
|
"status"=>"Development version (standard GUI)",
|
2012-01-14 18:19:28 +00:00
|
|
|
"file"=>"boinc_7.0.8_macOSX_i686.zip",
|
|
|
|
"date"=>"13 Jan 2012",
|
2011-07-07 14:53:23 +00:00
|
|
|
"type"=>"mac_advanced",
|
|
|
|
);
|
|
|
|
|
2011-07-05 15:29:25 +00:00
|
|
|
$m612 = array(
|
2011-08-11 12:27:04 +00:00
|
|
|
"num"=>"6.12.35",
|
2011-09-02 16:30:58 +00:00
|
|
|
"status"=>"Recommended version (standard GUI)",
|
2011-08-11 12:27:04 +00:00
|
|
|
"file"=>"boinc_6.12.35_macOSX_universal.zip",
|
|
|
|
"date"=>"11 Aug 2011",
|
2011-08-02 23:48:34 +00:00
|
|
|
"type"=>"mac_advanced",
|
|
|
|
);
|
|
|
|
|
2011-05-17 17:08:07 +00:00
|
|
|
$m610 = array(
|
|
|
|
"num"=>"6.10.58",
|
|
|
|
"status"=>"Older version (standard GUI)",
|
|
|
|
"file"=>"boinc_6.10.58_macOSX_universal.zip",
|
|
|
|
"date"=>"6 July 2010",
|
|
|
|
"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",
|
|
|
|
);
|
|
|
|
|
2011-12-05 16:02:17 +00:00
|
|
|
$m70c = array(
|
2012-01-14 18:21:54 +00:00
|
|
|
"num"=>"7.0.8",
|
2011-07-07 14:53:23 +00:00
|
|
|
"status"=>"Development version (Unix command-line version)",
|
2012-01-14 18:21:54 +00:00
|
|
|
"file"=>"boinc_7.0.8_i686-apple-darwin.zip",
|
|
|
|
"date"=>"13 Jan 2012",
|
2011-07-07 14:53:23 +00:00
|
|
|
"type"=>"bare_core",
|
|
|
|
);
|
|
|
|
|
2011-07-05 15:29:25 +00:00
|
|
|
$m612c = array(
|
2011-08-11 12:27:04 +00:00
|
|
|
"num"=>"6.12.35",
|
2011-09-02 16:30:58 +00:00
|
|
|
"status"=>"Recommended version (Unix command-line version)",
|
2011-08-11 12:27:04 +00:00
|
|
|
"file"=>"boinc_6.12.35_universal-apple-darwin.zip",
|
|
|
|
"date"=>"11 Aug 2011",
|
2011-08-02 23:48:34 +00:00
|
|
|
"type"=>"bare_core",
|
|
|
|
);
|
|
|
|
|
2010-07-12 18:47:47 +00:00
|
|
|
$m610c = array(
|
2010-07-06 20:44:01 +00:00
|
|
|
"num"=>"6.10.58",
|
2011-05-17 17:08:07 +00:00
|
|
|
"status"=>"Older version (Unix command-line version)",
|
2010-07-06 20:44:01 +00:00
|
|
|
"file"=>"boinc_6.10.58_universal-apple-darwin.zip",
|
|
|
|
"date"=>"6 July 2010",
|
2010-06-03 00:03:10 +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",
|
|
|
|
);
|
|
|
|
|
2011-04-06 18:43:03 +00:00
|
|
|
$l612 = array(
|
|
|
|
"num"=>"6.12.22",
|
2011-05-17 17:08:07 +00:00
|
|
|
"status"=>"Recommended version",
|
2011-04-06 18:43:03 +00:00
|
|
|
"file"=>"boinc_compat_6.12.22_i686-pc-linux-gnu.sh",
|
|
|
|
"date"=>"6 Apr 2011",
|
|
|
|
"type"=>"sea",
|
|
|
|
);
|
|
|
|
|
2009-01-22 19:34:58 +00:00
|
|
|
$l66 = array(
|
2009-10-22 17:52:38 +00:00
|
|
|
"num"=>"6.6.41",
|
2011-05-17 17:08:07 +00:00
|
|
|
"status"=>"Older 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",
|
2011-04-06 18:43:03 +00:00
|
|
|
);
|
2008-12-22 18:58:45 +00:00
|
|
|
|
2011-12-05 16:04:58 +00:00
|
|
|
$l70ubuntu = array(
|
2012-01-14 18:19:28 +00:00
|
|
|
"num"=>"7.0.8",
|
2011-07-20 17:58:57 +00:00
|
|
|
"status"=>"Development version",
|
2012-01-14 18:19:28 +00:00
|
|
|
"file"=>"boinc_7.0.8_i686-pc-linux-gnu.sh",
|
|
|
|
"date"=>"13 Jan 2012",
|
2011-07-20 17:53:36 +00:00
|
|
|
"type"=>"sea",
|
|
|
|
);
|
|
|
|
|
2010-12-02 17:39:44 +00:00
|
|
|
$l612ubuntu = array(
|
2011-07-28 20:28:21 +00:00
|
|
|
"num"=>"6.12.34",
|
2011-09-02 16:30:58 +00:00
|
|
|
"status"=>"Recommended version",
|
2011-07-28 20:28:21 +00:00
|
|
|
"file"=>"boinc_6.12.34_i686-pc-linux-gnu.sh",
|
|
|
|
"date"=>"28 July 2011",
|
2010-08-04 16:07:26 +00:00
|
|
|
"type"=>"sea",
|
|
|
|
);
|
|
|
|
|
2010-05-24 19:24:09 +00:00
|
|
|
$l610ubuntu = array(
|
2010-09-09 17:16:47 +00:00
|
|
|
"num"=>"6.10.58",
|
2011-09-02 16:30:58 +00:00
|
|
|
"status"=>"Older version",
|
2010-09-09 17:16:47 +00:00
|
|
|
"file"=>"boinc_6.10.58_i686-pc-linux-gnu.sh",
|
|
|
|
"date"=>"4 Aug 2010",
|
2010-04-06 20:52:20 +00:00
|
|
|
"type"=>"sea",
|
|
|
|
);
|
|
|
|
|
2011-12-05 16:04:58 +00:00
|
|
|
$l70ubuntux64 = array(
|
2012-01-14 18:19:28 +00:00
|
|
|
"num"=>"7.0.8",
|
2011-07-20 17:58:57 +00:00
|
|
|
"status"=>"Development version",
|
2012-01-14 18:19:28 +00:00
|
|
|
"file"=>"boinc_7.0.8_x86_64-pc-linux-gnu.sh",
|
|
|
|
"date"=>"13 Jan 2012",
|
2011-07-20 17:53:36 +00:00
|
|
|
"type"=>"sea",
|
|
|
|
);
|
|
|
|
|
2010-12-02 17:39:44 +00:00
|
|
|
$l612ubuntux64 = array(
|
2011-07-28 20:28:21 +00:00
|
|
|
"num"=>"6.12.34",
|
2011-09-02 16:30:58 +00:00
|
|
|
"status"=>"Recommended version",
|
2011-07-28 20:28:21 +00:00
|
|
|
"file"=>"boinc_6.12.34_x86_64-pc-linux-gnu.sh",
|
|
|
|
"date"=>"28 July 2011",
|
2010-08-04 16:07:26 +00:00
|
|
|
"type"=>"sea",
|
|
|
|
);
|
|
|
|
|
2010-05-24 19:24:09 +00:00
|
|
|
$l610ubuntux64 = array(
|
2010-09-09 17:16:47 +00:00
|
|
|
"num"=>"6.10.58",
|
2011-09-02 16:30:58 +00:00
|
|
|
"status"=>"Older version",
|
2010-09-09 17:16:47 +00:00
|
|
|
"file"=>"boinc_6.10.58_x86_64-pc-linux-gnu.sh",
|
|
|
|
"date"=>"4 Aug 2010",
|
2010-04-06 20:52:20 +00:00
|
|
|
"type"=>"sea",
|
|
|
|
);
|
|
|
|
|
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(
|
2011-12-05 16:02:17 +00:00
|
|
|
$w70,
|
2010-10-15 17:37:59 +00:00
|
|
|
$w612,
|
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(
|
2011-12-05 16:02:17 +00:00
|
|
|
$w70x64,
|
2010-10-15 17:37:59 +00:00
|
|
|
$w612x64,
|
2009-12-09 21:28:17 +00:00
|
|
|
$w610x64,
|
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(
|
2011-12-05 16:02:17 +00:00
|
|
|
$m70,
|
|
|
|
$m70c,
|
2011-07-29 09:55:24 +00:00
|
|
|
$m612,
|
|
|
|
$m612c,
|
2011-05-24 19:49:23 +00:00
|
|
|
$m610,
|
2010-06-03 00:03:10 +00:00
|
|
|
$m610c,
|
|
|
|
$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(
|
2011-04-06 18:43:03 +00:00
|
|
|
$l612,
|
|
|
|
$l66,
|
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",
|
2011-11-16 19:47:40 +00:00
|
|
|
"description"=>"Tested on the current Ubuntu release; may work on others.
|
|
|
|
<br>If available, we recommend that you install a
|
|
|
|
<a href=http://boinc.berkeley.edu/wiki/Installing_BOINC#Linux>
|
|
|
|
distribution-specific package</a>
|
|
|
|
instead.
|
|
|
|
",
|
2008-01-15 18:43:00 +00:00
|
|
|
"dbname" => "i686-pc-linux-gnu",
|
|
|
|
"versions"=>array(
|
2011-12-05 16:02:17 +00:00
|
|
|
$l70ubuntu,
|
2011-07-28 20:37:14 +00:00
|
|
|
$l612ubuntu,
|
2009-10-30 16:29:08 +00:00
|
|
|
$l610ubuntu,
|
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",
|
2011-11-16 19:47:40 +00:00
|
|
|
"description"=>"Tested on the current Ubuntu release; may work on others.
|
|
|
|
<br>If available, we recommend that you install a
|
|
|
|
<a href=http://boinc.berkeley.edu/wiki/Installing_BOINC#Linux>
|
|
|
|
distribution-specific package</a>
|
|
|
|
instead.
|
|
|
|
",
|
2007-05-17 17:39:31 +00:00
|
|
|
"versions"=>array(
|
2011-12-05 16:02:17 +00:00
|
|
|
$l70ubuntux64,
|
2011-07-28 20:37:14 +00:00
|
|
|
$l612ubuntux64,
|
2009-10-30 16:29:08 +00:00
|
|
|
$l610ubuntux64,
|
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
|
|
|
?>
|