X-Git-Url: https://git.deb.at/?a=blobdiff_plain;f=templates%2Fhtml%2Fdownload.tmpl;h=4a405f24da53a63ee079e1d9a5b79120b4714891;hb=e454ca3e9cd32ded30b5ee29302119ccd28d71ee;hp=c59a6e5d88517c3d1d58e90a71c936793761b093;hpb=2ec757bb58907b15c43548be5601d4f2b8c7caac;p=deb%2Fpackages.git diff --git a/templates/html/download.tmpl b/templates/html/download.tmpl index c59a6e5..4a405f2 100644 --- a/templates/html/download.tmpl +++ b/templates/html/download.tmpl @@ -1,5 +1,5 @@ [%- PROCESS 'html/head.tmpl' - title_tag = 'Package Download Selection' + title_tag = "Package Download Selection -- $filename.file" description = desc keywords = "$suite, $archive, $section, $subsection, $version" navigation = [ { prefix=>'Distribution:', title=>'Overview over this suite', url=>make_url('/'), name=>suite }, @@ -8,6 +8,7 @@ { name => 'Download' }, ] -%] +[%- PROCESS 'config/archive_layout.tmpl' -%] [%- PROCESS 'config/mirrors.tmpl' -%] [%- PROCESS 'config/architectures.tmpl' -%] [%- PROCESS 'html/messages.tmpl' -%] @@ -23,6 +24,18 @@ package manager like aptitude or synaptic to download and install packages, instead of doing so manually via this website.

+

You should be able to use any of the listed mirrors by adding a +line to your /etc/apt/sources.list like this:

+[% IF archive != "security" %] +
+deb http://[% mirrors.$archive.europa.0 %] [% suite %] main [% section IF section != main_section %]
+
+

Replacing [% mirrors.$archive.europa.0 %] with the mirror in question. +[% ELSE %] +

+deb http://security.debian.org/debian-security [% suite _ "/updates" %] main [% section IF section != main_section %]
+
+[%- END %] [% IF suite == "experimental" %]

Experimental package

Warning: This package is from the experimental distribution. @@ -79,10 +92,13 @@ please see our complete mirror list.

[% END %] [% IF a.unofficial_port %] -[% SET port = a.unofficial_port %] +[% SET port = a.unofficial_port.$architecture %] +[% IF port.url_name; + SET port.url = ports_url _ port.url_name _ '/'; + END -%]

Note that [% port.name %] is not officially included in the [% organisation %] archive yet, but the [% port.name %] porter group keeps their archive in sync with the official archive as close as possible. -See the [% port.name %] ports page for current information.

+See the [% port.name %] ports page for current information.

[% END %]

Note that in some browsers you will need to tell your browser you want the file saved to a file. @@ -97,3 +113,5 @@ For example, in Firefox or Mozilla, you should hold the Shift key when you click SHA1 checksum [% sha1 || 'Not Available' %] SHA256 checksum [% sha256 || 'Not Available' %] + +[%- PROCESS 'html/foot.tmpl' -%]