1 [% PROCESS 'config/archive_layout.tmpl' %]
2 [% PROCESS 'config/mirrors.tmpl' %]
3 [%- known_vcs = [ [ 'cvs', 'CVS', 'cvs' ],
4 [ 'svn', 'Subversion', 'subversion' ],
5 [ 'bzr', 'bzr', 'bzr' ],
6 [ 'darcs', 'Darcs', 'darcs' ],
7 [ 'arch', 'arch', 'tla' ],
8 [ 'git', 'Git', 'git-core' ],
9 [ 'hg', 'Hg', 'mercurial' ], ];
10 vcs_link = page.get_newest("vcs-browser");
12 [%- suite_name = suite;
13 SET suite_name = suite_name _ ' (' _ suite_aliases.$suite _ ')' IF suite_aliases.$suite;
14 nav_arr = [ { prefix=>'Distribution:', title=>'Overview over this suite', url=>make_url('/','','source',''), name=>suite_name }, ];
15 nav_arr.push( { title => 'Source packages', url=>make_url('/'), name=>'Source' } ) IF is_source;
16 nav_arr.push( { prefix=>'Section:', title=>'All packages in this section', url=>make_url("$subsection/"), name=>subsection } );
17 nav_arr.push( { prefix=>'Package:', name=>pkg } ); -%]
19 SET desclang = lang IF desc.$lang.long %]
20 [%- PROCESS 'html/head.tmpl'
21 title_tag = ( is_source ? "Details of source package $pkg in $suite"
22 : "Details of package $pkg in $suite" )
23 description = desc.$desclang.short
24 keywords = "$suite, $archive, $section, $subsection, $version"
25 print_search_field = 'packages'
26 search_field_values = {
27 searchon => is_source ? 'sourcenames' : 'names',
32 [% PROCESS 'html/menu.inc' %]
33 [% FOREACH s IN suites %]
34 [% '<div id="pothers">' IF loop.first %]
36 [% PROCESS menuitem name=s url='' %]
38 [% PROCESS menuitem name=s url=make_url(pkg,'','suite',s) %]
40 [%- '</div>' IF loop.last -%]
45 [% PROCESS menuitem prefix='Source:' title='Source package building this package' url=make_url(src.pkg,'','source','source') name=src.pkg %]
49 [%- PROCESS 'html/messages.tmpl' -%]
52 <h1>Virtual Package: [% pkg %]
54 <h1>Source Package: [% pkg %] ([% version %])
56 <h1>Package: [% pkg %] ([% versions.short %])
58 [%- PROCESS marker text=archive IF archive && archive != main_archive %]
59 [%- PROCESS marker text=section IF section && section != main_section %]
60 [%- PROCESS marker text='essential' IF page.get_newest('essential') == 'yes' %]</h1>
62 [% UNLESS is_virtual %]
64 <h2>Links for [% pkg %]</h2>
65 <h3>Debian Resources:</h3>
67 <li><a href="[% (is_source ? src_bugs_url : bugs_url) _ pkg | uri %]">Bug Reports</a></li>
70 <li><a href="[% pts_url _ src.pkg | uri %]">Developer Information (PTS)</a></li>
72 <li><a href="[% pts_url _ pkg | uri %]">Developer Information (PTS)</a></li>
75 [% IF files && (!archive or archive == main_archive or archive == 'security') %]
76 <li><a href="[% changelogs_url _ files.changelog.path %]">Debian Changelog</a></li>
77 <li><a href="[% changelogs_url _ files.copyright.path %]">Copyright File</a></li>
81 <li><a href="[% vcs_link %]" class="pvcslink">Debian Source Repository</a>
82 [%- FOREACH vcs IN known_vcs;
83 vcs_id = vcs.0; vcs_name = vcs.1; vcs_pkg = vcs.2;
84 vcs_info = page.get_newest("vcs-$vcs_id");
85 SET vcs_info = page.get_newest("x-vcs-$vcs_id") UNLESS vcs_info;
87 (<a href="[% vcs_info %]" class="pvcslink">[% vcs_name %]</a>)
95 <p>Download Source Package <a href="[% src.url %]">[% src.pkg %]</a>:
96 [% FOREACH src.downloads %]
97 [% '<ul>' IF loop.first %]
98 <li><a href="[% server _ path %]">[[% name %]]</a></li>
99 [% '</ul>' IF loop.last %]
101 [% IF src.downloads.size == 0 %]
106 [% IF maintainers.size == 1 -%]
109 <h3>Maintainers:</h3>
111 [%- FOREACH maintainers -%]
112 [%- '<ul>' IF loop.first -%]
113 <li><a href="mailto:[% mail %]">[% name | html %]</a>
114 (<a href="[% ddpo_url _ mail %]" title="An overview over the maintainer's packages and uploads">QA Page</a>)
116 [%- '</ul>' IF loop.last -%]
119 [% url = page.get_newest('url');
120 SET url = page.get_newest('homepage') IF page.get_newest('homepage');
122 <h3>External Resources:</h3>
124 <li><a href="[% url | uri %]">Homepage</a> [[% extract_host(url) %]]</li>
128 [% FOREACH sim IN similar %]
130 <h3>Similar packages:</h3>
133 <li><a href="/[% sim %]">[% sim %]</a></li>
134 [% '</ul>' IF loop.last %]
137 </div> <!-- end pmoreinfo -->
140 [% IF suite == "experimental" || subsection == "debian-installer" %]
141 <div class="pconstantnag">
142 [% IF suite == "experimental" %]
143 [% changelog_link = 'changelog';
144 changelog_link = "<a href='$changelogs_url$files.changelog.path'>changelog</a>" %]
145 <h2>Experimental package</h2>
146 <p>Warning: This package is from the <strong>experimental</strong> distribution.
147 That means it is likely unstable or buggy, and it may even cause data loss.
148 Please be sure to consult the [% changelog_link %] and other possible documentation before
151 [% IF subsection == "debian-installer" %]
152 <h2>debian-installer udeb package</h2>
153 <p>Warning: This package is intended for the use in building
154 <a href="http://www.debian.org/devel/debian-installer">debian-installer</a> images only.
155 Do not install it on a normal Debian system.</p>
166 [% UNLESS is_virtual %]
167 [% IF desc.$desclang.short %]
168 <h2>[% desc.$desclang.short %]</h2>
169 <p>[% desc.$desclang.long %]
172 <p>This is a <em>virtual package</em>. See the <a href="[% policy_url %]">Debian policy</a> for a <a href="[% policy_url %]ch-binary.html#s-virtual_pkg">definition of virtual packages</a>.</p>
174 </div> <!-- end pdesc -->
176 [% FOREACH tag IN tags %]
179 <a href="[% tags_url %]edit.html?pkg=[% pkg | uri %]">Tags</a>:
182 facet_name = debtags_voc.$facet;
183 tag_id = "$tag.0::$tag.1";
184 tag_name = debtags_voc.$tag_id;
186 [% facet_name _ ': ' UNLESS old_facet && facet == old_facet %]
188 <a href="/about/debtags#[% string2id(tag_id) %]">[% tag_name %]</a>[% ', ' UNLESS loop.last %]
190 [% tag_id %][% ', ' UNLESS loop.last %]
192 [% old_facet = facet %]
195 </div> <!-- end ptags -->
199 [% FOREACH providers %]
200 [% IF loop.first %]<div id="pdeps"><h2>Packages providing [% pkg %]</h2><dl>[% END %]
201 <dt>[% IF available %]<a href="[% make_url(name,'','source','') %]">[% name %]</a>[% ELSE %][% name %][% END %]</dt>
203 [% '</dl></div>' IF loop.last %]
205 </div> <!-- pdesctab -->
208 [% FOREACH binaries %]
209 [% IF loop.first %]<div id="pbinaries">The following binary packages are built from this source package:<dl>[% END %]
210 <dt>[% IF available %]<a href="[% make_url(name,'','source','') %]">[% name %]</a>[% ELSE %][% name %][% END %]</dt>
212 [% '</dl></div>' IF loop.last %]
215 [% FOREACH relations %]
218 <h2>Other Packages Related to [% pkg %]</h2>
220 <table id="pdeplegend" class="visual" summary="legend"><tr>
222 <td><ul class="uladep"><li>build-depends</li></ul></td>
223 <td><ul class="ulidep"><li>build-depends-indep</li></ul></td>
225 <td><ul class="uldep"><li>depends</li></ul></td>
226 <td><ul class="ulrec"><li>recommends</li></ul></td>
227 <td><ul class="ulsug"><li>suggests</li></ul></td>
232 <ul class="ul[% id %]">
234 [% '<li>' UNLESS is_old_pkgs %]
235 [% FOREACH alternatives %]
236 [% '<dl>' IF loop.first %]
237 <dt>[% IF loop.first %]<span class="nonvisual">[% id %]:</span>[% ELSE %]or [% END %]
238 [% IF suite %]<a href="[% make_url(name,'','suite',suite,'source','') %]">[% name %]</a>[% ELSE %][% name %][% END %]
239 [% ' (' _ version _ ')' IF version %]
240 [% ' [' _ arch_str _ ']' IF arch_str %]</dt>
241 [%- IF !is_old_pkgs -%]
243 [%- IF providers.pkgs.size > 0 -%]
244 [% '<br>also a ' IF providers.also %]virtual package provided by
246 <span id="js_[% js_id %]" class="p_js_elem"></span> <span id="html_[% js_id %]">[% FOREACH provider IN providers.pkgs %]<a href="[% make_url(provider,'','suite',suite,'source','') %]">[% provider %]</a>[% ', ' UNLESS loop.last %][% END %]</span>
247 [% IF providers.pkgs.size > 10 %]
248 <script type="text/javascript">init_toggle_elem("[% js_id %]","[% providers.pkgs.size %] providing packages")</script>
253 [% '</dl>' IF loop.last %]
259 </div> <!-- end pdeps -->
263 [% FOREACH d IN downloads %]
266 <h2>Download [% pkg %]</h2>
268 <table summary="The download table links to the download of the package and a file overview. In addition it gives information about the package size and the installed size.">
269 <caption class="hidecss">Download for all available architectures</caption>
270 <tr><th>Architecture</th>[% '<th>Version</th>' IF versions.multiple %]<th>Package Size</th><th>Installed Size</th><th>Files</th></tr>
274 [% download_url = pkg _ '/' _ d.arch _ '/download'
275 filelist_url = pkg _ '/' _ d.arch _ '/filelist' %]
276 <th><a href="[% make_url(download_url) | uri %]">[% d.arch %]</a>
277 [%- SET a = d.archive; IF mirrors.$a.unofficial_port %] <strong>(unofficial port)</strong>[% END %]</th>
278 [% vnorm = d.version.replace( '\+b\d+$', '' ); vlatest = version.replace( '\+b\d+$', '' );
279 vup = vnorm.replace( '-[^-]+$', '' ); vuplatest = vlatest.replace( '-[^-]+$', '' );
281 version_class = 'vcurrent';
282 ELSIF vup == vuplatest;
283 version_class = 'volder';
285 version_class = 'vold';
287 [% "<td class='$version_class'>$d.version</td>" IF versions.multiple %]
288 <td class="size">[% d.pkgsize %] kB</td><td class="size">[% d.instsize %] kB</td>
290 [% IF d.contents_avail %]
291 [<a href="[% make_url(filelist_url) | uri %]">list of files</a>]
293 no current information
301 </div> <!-- end pdownload -->
305 [% FOREACH srcfiles %]
308 <h2>Download [% pkg %]</h2>
310 <table summary="Download information for the files of this source package">
311 <tr><th>File</th><th>Size (in kB)</th><th>md5sum</th></tr>
315 <td><a href="[% server _ path %]">[% filename %]</a></td>
317 <td class="md5sum">[% md5sum %]</td>
323 [% FOREACH vcs IN known_vcs;
324 vcs_id = vcs.0; vcs_name = vcs.1; vcs_pkg = vcs.2;
325 vcs_info = page.get_newest("vcs-$vcs_id");
326 SET vcs_info = page.get_newest("x-vcs-$vcs_id") UNLESS vcs_info;
329 <dt>Debian Package Source Repository (<acronym title="Version Control System">VCS</acronym>: <a href="[% make_url(vcs_pkg,'','source','') %]">[% vcs_name %]</a>)</dt>
330 <dd><a href="[% vcs_info %]" class="pvcslink">[% vcs_info %]</a></dd>
332 <dt>Debian Package Source Repository (Browsable)</dt><dd><a href="[% vcs_link %]" class="pvcslink">[% vcs_link %]</a></dd>
337 </div> <!-- end pdownload -->
341 [%# <script type="text/javascript">init_tab_list("ptablist")</script> %]
343 [%- PROCESS 'html/foot.tmpl' -%]