summaryrefslogtreecommitdiffstats
path: root/site/download/index.php
blob: 8b96428d0c0cb14c9ae933b97748a6c465c59ed0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
<?php
/*
    Download page
    Copyright (C) 2015  Leah Woods <info@minifree.org>

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU Affero General Public License as
    published by the Free Software Foundation, either version 3 of the
    License, or (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU Affero General Public License for more details.

    You should have received a copy of the GNU Affero General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/
	header('Content-type: text/html; charset=utf-8');
	ob_start();
	include_once "../common/variables.php";
	include_once "../common/functions.php";
?>
<!DOCTYPE html>
<html>
<head>
	<link rel="stylesheet" type="text/css" href="../common/css/main.css" />
	<title><?php echo gettext("Download libreboot"); ?></title>
</head>

<body>

	<div>

		<h1><?php echo gettext("Download libreboot (stable releases)"); ?></h1>

			<p>
				<strong>
					<?php echo gettext("The latest release is:"); ?> <?php echo $lbRelease[0][0][0]; ?>.
					<?php echo gettext("Release date:"); ?> <?php echo $lbRelease[0][0][1]; ?>.
				</strong> <a href="../"><?php echo gettext("Back to home page"); ?></a>
			</p>
			<p>
				These are stable releases, intended for general use. If you want something more up to date
				(but potentially lethal), see <a href="#unstable">#unstable</a>.
			</p>
            <p>
                <strong>The current stable release is quite old at this point. We're working on a new release,
                and welcome everyone to get involved in testing for bugs in the <a href="#unstable">unstable releases</a>
                which are up to date and usually updated at least once every week.</strong>
            </p>
            <p>
				If you're more interested in libreboot development, go to the <a href="../git/">libreboot development page</a>, which
				also includes links to the Git repositories.
			</p>

			<h2>Do you have a mirror?</h2>
				<p>
					Let us know! We will add it here. Instructions for how to mirror libreboot
					releases can be found <a href="../rsync/">here</a>.
				</p>

            <h2 id="https">HTTPS mirrors</h2>
                <p>
                    These mirrors are recommended, since they use TLS (https://) encryption.
                </p>
<?php
                echo mirrorList($lbHttpsMirror, gettext("HTTPS mirrors not added yet."),0,count($lbHttpsMirror));
?>
			<h2 id="http">HTTP mirrors</h2>
                <p>
                    WARNING: these mirrors are non-HTTPS which means that they are unencrypted. Your traffic could be subject
                    to interference by adversaries. Make especially sure to check the GPG signatures, assuming
                    that you have the right key. Of course, you should do this anyway, even if
                    using HTTPS.
                </p>
<?php
				/* show HTTP mirrors */
				echo mirrorList($lbHttpMirror, gettext("HTTP mirrors not added yet."),0,count($lbHttpMirror));
?>
			<h2 id="ftp">FTP mirrors</h2>
                <p>
                    WARNING: FTP is also unencrypted, like HTTP. The same risks are present.
                </p>
<?php
				/* show FTP mirrors */
				echo mirrorList($lbFtpMirror,gettext("FTP mirrors not added yet."),0,count($lbFtpMirror));
?>
	</div>

	<div>
		<h1 id="unstable">Download libreboot (unstable/beta releases)</h1>
			<p style="font-size:120%">
				<strong>WARNING: there is no guarantee that these releases will work. They may even render your system unusable (brick it).
				Proceed with caution.</strong>
			</p>
			<p>
				Over time, stable libreboot release cycles have become much slower, due to more boards being supported
				and more work being done, which means a lot more testing/fixing needs to be done before each release. 
				Therefore, we now offer unstable releases in between stable releases.
				These releases are updated fairly regularly, built from the latest version of libreboot
				from the <a href="../git/">git repository</a>.
			</p>
			<p>
				If you're more interested in libreboot development, go to the <a href="../git/">libreboot development page</a>, which
				also includes links to the Git repositories.
			</p>
			<p>
				<a href="../beta/">Download the unstable releases here</a>
			</p>
	</div>

<?php
	include "../common/ccs.php";
	include "../common/footer.php";
?>

</body>
</html>
<?php
	$strHtml = ob_get_clean();
	echo miniHtml($strHtml);
?>