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