1 [%- PROCESS 'html/head.tmpl'
2 title_tag = g('Package Download Selection -- %s', filename.file)
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') },
11 [%- PROCESS 'config/archive_layout.tmpl' -%]
12 [%- PROCESS 'config/mirrors.tmpl' -%]
13 [%- PROCESS 'config/architectures.tmpl' -%]
14 [%- PROCESS 'html/messages.tmpl' -%]
16 [% IF architecture != 'all' %]
17 <h2>[% g('Download Page for <kbd>%s</kbd> on %s machines', filename.file, architectures.$architecture) %]</h2>
19 <h2>[% g('Download Page for <kbd>%s</kbd>', filename.file) %]</h2>
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 == "volatile" %]
28 deb http://<em>[% mirrors.$archive.europa.0 %]</em> [% suite.replace('-','/') %] main [% section IF section != main_section %]
30 <p>[% g('Replacing <em>%s</em> with the mirror in question.', mirrors.$archive.europa.0) %]
31 [% ELSIF archive == "security" %]
33 deb [% 'http://' _ security_mirror_url %] [% suite _ security_suite_suffix %] main [% section IF section != main_section %]
37 deb http://<em>[% mirrors.$archive.europa.0 %]</em> [% suite %] main [% section IF section != main_section %]
39 <p>[% g('Replacing <em>%s</em> with the mirror in question.', mirrors.$archive.europa.0) %]
41 [% IF suite == "experimental" %]
42 <h2>[% g('Experimental package') %]</h2>
43 <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>
45 [% IF subsection == "debian-installer" %]
46 <h2>[% g('debian-installer udeb package') %]</h2>
47 <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>
51 [%- SET a = mirrors.$archive -%]
53 [% IF archive != 'security' %]
54 <p>[% g('You can download the requested file from the <tt>%s</tt> subdirectory at any of these sites:',
55 filename.directory) %]</p>
56 <div class="cardleft">
57 [% FOREACH continent IN [ 'north_america', 'south_america', 'asia', 'africa' ] %]
59 <p><em>[% continents.$continent %]</em></p>
61 [% FOREACH m IN a.$continent %]
62 <li><a href="http://[% m %]/[% filename.full %]">[% m %]</a></li>
67 </div><div class="cardright">
68 [% FOREACH continent IN [ 'europa', 'australia' ] %]
70 <p><em>[% continents.$continent %]</em></p>
72 [% FOREACH m IN a.$continent %]
73 <li><a href="http://[% m %]/[% filename.full %]">[% m %]</a></li>
80 <p>[% g('You can download the requested file from the <tt>%s</tt> subdirectory at:', filename.directory) %]</p>
81 <ul><li><a href="http://[% security_mirror_url %]/[% filename.full %]">[% security_mirror_url %]</a></li></ul>
82 <p>[% g('%s security updates are officially distributed only via <tt>%s</tt>.',
83 organisation, security_mirror) %]</p>
86 <div id="pdownloadnotes">
88 [% IF a.mirror_list %]
89 <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>
92 [% IF a.unofficial_port %]
93 [% SET port = a.unofficial_port.$architecture %]
95 SET port.url = ports_url _ port.url_name _ '/';
97 <p style="clear:both">[% g('Note that %s is not officially included in the %s archive, 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.',
98 port.name, organisation, port.name, port.url, port.name) %]</p>
101 <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>
105 <h3>[% g('More information on <kbd>%s</kbd>:', filename.file) %]</h3>
106 <table id="pdownloadmeta">
107 <tr><th>[% g('Exact Size') %]</th> <td class="size">[% g('%s Byte (%s %s)', size, num.format_number(pkgsize,1), pkgsize_unit) %]</td>
108 <tr><th>[% g('MD5 checksum') %]</th> <td><tt>[% md5sum %]</tt></td>
109 <tr><th>[% g('SHA1 checksum') %]</th> <td><tt>[% sha1 || g('Not Available') %]</tt></td>
110 <tr><th>[% g('SHA256 checksum') %]</th> <td><tt>[% sha256 || g('Not Available') %]</tt></td>
113 [%- PROCESS 'html/foot.tmpl' page_name="$pkg/download" -%]