instsize => $sizes_inst->{$a}, );
$d{version} = $versions->{$a} if $multiple_versions;
+ $d{archive} = $archives->{$a};
if ( ($suite ne "experimental")
&& ($subsection ne 'debian-installer')) {
$d{contents_avail} = 1;
[% PROCESS 'config/archive_layout.tmpl' %]
+[% PROCESS 'config/mirrors.tmpl' %]
[%- nav_arr = [ { prefix=>'Distribution:', title=>'Overview over this suite', url=>make_url('/','','source',''), name=>suite }, ];
nav_arr.push( { title => 'Source packages', url=>make_url('/'), name=>'Source' } ) IF is_source;
nav_arr.push( { prefix=>'Section:', title=>'All packages in this section', url=>make_url("$subsection/"), name=>subsection } );
[%- END %]
[% END %]
-[% FOREACH downloads %]
+[% FOREACH d IN downloads %]
[% IF loop.first -%]
<div id="pdownload">
<h2>Download [% pkg %]</h2>
[%- END %]
<tr>
-[% download_url = pkg _ '/' _ arch _ '/download'
- filelist_url = pkg _ '/' _ arch _ '/filelist' %]
-<th><a href="[% make_url(download_url) | uri %]">[% arch %]</a></th>
-[% '<td>' _ version _ '</td>' IF versions.multiple %]
-<td class="size">[% pkgsize %] kB</td><td class="size">[% instsize %] kB</td>
+[% download_url = pkg _ '/' _ d.arch _ '/download'
+ filelist_url = pkg _ '/' _ d.arch _ '/filelist' %]
+<th><a href="[% make_url(download_url) | uri %]">[% d.arch %]</a>
+[%- SET a = d.archive; IF mirrors.$a.unofficial_port %] <strong>(unofficial port)</strong>[% END %]</th>
+[% '<td>' _ d.version _ '</td>' IF versions.multiple %]
+<td class="size">[% d.pkgsize %] kB</td><td class="size">[% d.instsize %] kB</td>
<td>
[% IF contents_avail %]
[<a href="[% make_url(filelist_url) | uri %]">list of files</a>]