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