]> git.deb.at Git - deb/packages.git/blob - templates/html/download.tmpl
Merge branch 'master' of ssh://git.debian.org/git/webwml/packages
[deb/packages.git] / templates / html / download.tmpl
1 [%- PROCESS 'html/head.tmpl'
2    title_tag = g('Package Download Selection -- %s', filename.file)
3    description = desc
4    keywords = "$suite, $archive, $section, $subsection, $version"
5    navigation = [ { prefix=>g('Distribution:'), title=>g('Overview over this suite'), url=>make_url('/'), name=>suite },
6                   { prefix=>g('Package:'), url=>make_url(pkg,'','arch',undef), name=>pkg },
7                   { url=>make_url(pkg), name=>architecture },
8                   { name => g('Download') },
9                 ]
10 -%]
11 [%- PROCESS 'config/archive_layout.tmpl' -%]
12 [%- PROCESS 'config/mirrors.tmpl' -%]
13 [%- PROCESS 'config/architectures.tmpl' -%]
14 [%- PROCESS 'html/messages.tmpl' -%]
15
16 [% IF architecture != 'all' %]
17 <h2>[% g('Download Page for <kbd>%s</kbd> on %s machines', filename.file, architectures.$architecture) %]</h2>
18 [% ELSE %]
19 <h2>[% g('Download Page for <kbd>%s</kbd>', filename.file) %]</h2>
20 [% END %]
21
22 <div class="pconstantnag">
23 <p>[% g('If you are running %s, it is strongly suggested to use a package manager like <a href="%s">aptitude</a> or <a href="%s">synaptic</a> to download and install packages, instead of doing so manually via this website.',
24         organisation, make_url('aptitude','','arch',''), make_url('synaptic','','arch','')) %]</p>
25 <p>[% g('You should be able to use any of the listed mirrors by adding a line to your <kbd>/etc/apt/sources.list</kbd> like this:') %]</p>
26 [% IF archive != "security" %]
27 <pre>
28 deb http://<em>[% mirrors.$archive.europa.0 %]</em> [% suite %] main [% section IF section != main_section %]
29 </pre>
30 <p>[% g('Replacing <em>%s</em> with the mirror in question.', mirrors.$archive.europa.0) %]
31 [% ELSE %]
32 <pre>
33 deb [% 'http://' _ security_mirror_url %] [% suite _ security_suite_suffix %] main [% section IF section != main_section %]
34 </pre>
35 [%- END %]
36 [% IF suite == "experimental" %]
37 <h2>[% g('Experimental package') %]</h2>
38 <p>[% g('Warning: This package is from the <strong>experimental</strong> distribution. That means it is likely unstable or buggy, and it may even cause data loss. Please be sure to consult the changelog and other possible documentation before using it.') %]</p>
39 [% END %]
40 [% IF subsection == "debian-installer" %]
41 <h2>[% g('debian-installer udeb package') %]</h2>
42 <p>[% g('Warning: This package is intended for the use in building <a href="http://www.debian.org/devel/debian-installer">debian-installer</a> images only. Do not install it on a normal %s system.', organisation) %]</p>
43 [% END %]
44 </div>
45
46 [%- SET a = mirrors.$archive -%]
47
48 [% IF archive != 'security' %]
49   <p>[% g('You can download the requested file from the <tt>%s</tt> subdirectory at any of these sites:',
50         filename.directory) %]</p>
51   <div class="cardleft">
52   [% FOREACH continent IN [ 'north_america', 'south_america', 'asia', 'africa' ] %]
53     [% IF a.$continent %]
54         <p><em>[% continents.$continent %]</em></p>
55         <ul>
56         [% FOREACH m IN a.$continent %]
57           <li><a href="http://[% m %]/[% filename.full %]">[% m %]</a></li>
58         [% END %]
59         </ul>
60     [% END %]
61   [% END %]
62   </div><div class="cardright">
63   [% FOREACH continent IN [ 'europa','australia' ] %]
64     [% IF a.$continent %]
65         <p><em>[% continents.$continent %]</em></p>
66         <ul>
67         [% FOREACH m IN a.$continent %]
68           <li><a href="http://[% m %]/[% filename.full %]">[% m %]</a></li>
69         [% END %]
70         </ul>
71     [% END %]
72   [% END %]
73   </div>
74 [% ELSE %]
75 <p>[% g('You can download the requested file from the <tt>%s</tt> subdirectory at:', filename.directory) %]</p>
76 <ul><li><a href="http://[% security_mirror_url %]/[% filename.full %]">[% security_mirror_url %]</a></li></ul>
77 <p>[% g('%s security updates are officially distributed only via <tt>%s</tt>.',
78         organisation, security_mirror) %]</p>
79 [% END %]
80
81 <div id="pdownloadnotes">
82
83 [% IF a.mirror_list %]
84 <p style="clear:both">[% g('If none of the above sites are fast enough for you, please see our <a href="%s">complete mirror list</a>.', a.mirror_list ) %]</p>
85 [% END %]
86
87 [% IF a.unofficial_port %]
88 [% SET port = a.unofficial_port.$architecture %]
89 [% IF port.url_name;
90    SET port.url = ports_url _ port.url_name _ '/';
91    END -%]
92 <p style="clear:both">[% g('Note that %s is not officially included in the %s archive yet, but the %s porter group keeps their archive in sync with the official archive as close as possible. See the <a href="%s">%s ports page</a> for current information.',
93         port.name, organisation, port.name, port.url, port.name) %]</p>
94 [% END %]
95
96 <p>[% g('Note that in some browsers you will need to tell your browser you want the file saved to a file. For example, in Firefox or Mozilla, you should hold the Shift key when you click on the URL.') %]</p>
97
98 </div>
99
100 <h3>[% g('More information on <kbd>%s</kbd>:', filename.file) %]</h3>
101 <table id="pdownloadmeta">
102 <tr><th>[% g('Exact Size') %]</th>      <td class="size">[% g('%s Byte (%s %s)', size, num.format_number(pkgsize,1), pkgsize_unit) %]</td>
103 <tr><th>[% g('MD5 checksum') %]</th>    <td><tt>[% md5sum %]</tt></td>
104 <tr><th>[% g('SHA1 checksum') %]</th>   <td><tt>[% sha1 || g('Not Available') %]</tt></td>
105 <tr><th>[% g('SHA256 checksum') %]</th> <td><tt>[% sha256  || g('Not Available') %]</tt></td>
106 </table>
107
108 [%- PROCESS 'html/foot.tmpl' -%]