# path to private ftp directory
#ftproot=/org/ftp.root
-ftpsite=http://ftp.de.debian.org/debian
-security_ftpsite=http://security.debian.org/debian-security
-volatile_ftpsite=http://volatile.debian.org/debian-volatile
-backports_ftpsite=http://backports.org/debian
-amd64_ftpsite=http://amd64.debian.net/debian
-debports_ftpsite=http://ftp.debian-ports.org/debian
-ddtp_ftpsite=http://ddtp.debian.net/debian
+ftpsite=http://archive.ubuntu.com/ubuntu
+security_ftpsite=http://archive.ubuntu.com/ubuntu
+#ddtp_ftpsite=http://archive.ubuntu.com/ubuntu
- wget_cmd="wget --no-verbose --tries=2 --timeout=60"
+ wget_cmd="wget --no-verbose --tries=2 --timeout=60"
+ check_release_cmd="perl -I${libdir} ${bindir}/check-release --verbose --ignoremissing --keyring ${configdir}/trusted.gpg"
+ # URLs that need to be known in the code (as opposed to the templates)
root=""
+ search_url="/search"
# Architectures
#
polangs="de fi fr hu ja nl ru sv uk zh-cn"
-ddtplangs="ca cs da de eo es fi fr hu it ja km-kh ko nl pl pt pt-br ru sk sv uk zh-cn zh-tw"
-archives="us security amd64 debports backports volatile"
-sections="main contrib non-free"
+ddtplangs="ca cs da de eo es fi fr hu it ja ko nl pl pt pt-br ru sk sv uk zh-cn zh-tw"
+archives="us security"
+sections="main multiverse restricted universe"
parts="$sections"
-suites="sarge sarge-volatile sarge-backports etch etch-m68k etch-volatile etch-backports lenny sid experimental"
-priorities="required important standard optional extra"
+suites="dapper dapper-updates dapper-backports edgy edgy-updates edgy-backports feisty feisty-updates feisty-backports gutsy gutsy-updates gutsy-backports hardy hardy-updates hardy-backports intrepid"
dists="$suites"
-architectures="alpha amd64 arm armel hppa hurd-i386 i386 ia64 kfreebsd-i386 kfreebsd-amd64 m68k mips mipsel powerpc s390 sparc"
-arch_sarge="alpha amd64 arm hppa i386 ia64 m68k mips mipsel powerpc s390 sparc"
-arch_etch="alpha amd64 arm hppa i386 ia64 mips mipsel powerpc s390 sparc"
-arch_lenny="${arch_etch} armel"
-arch_sid="${arch_sarge} armel hurd-i386 kfreebsd-i386 kfreebsd-amd64"
-arch_experimental="${arch_sid}"
-arch_lenny_proposed_updates="${arch_lenny}"
-arch_etch_proposed_updates="${arch_etch}"
+priorities="required important standard optional extra"
+architectures="i386 amd64 powerpc"
+arch_dapper="i386 amd64 powerpc"
+arch_dapper_updates="${arch_dapper}"
+arch_dapper_backports="${arch_dapper}"
+arch_edgy="${arch_dapper}"
+arch_edgy_updates="${arch_edgy}"
+arch_edgy_backports="${arch_edgy}"
+arch_feisty="${arch_edgy}"
+arch_feisty_updates="${arch_feisty}"
+arch_feisty_backports="${arch_feisty}"
+arch_gutsy="${arch_feisty}"
+arch_gutsy_updates="${arch_gutsy}"
+arch_gutsy_backports="${arch_gutsy}"
+arch_hardy="i386 amd64"
+arch_hardy_updates="${arch_hardy}"
+arch_hardy_backports="${arch_hardy}"
+arch_intrepid="${arch_hardy}"
+arch_intrepid_updates="${arch_intrepid}"
+arch_intrepid_backports="${arch_intrepid}"
# Miscellaneous
#
foo=\$arch_${dist//-/_}
for arch in `eval echo $foo`
do
- test ! "$arch" = "kfreebsd-i386" || continue
- test ! "$arch" = "kfreebsd-amd64" || continue
for part in ${parts}
do
echo retrieve Packages $dist/$part/$arch
(cd us/${dist}/${part}/binary-${arch} &&
$wget_cmd -N ${ftpsite}/dists/${dist}/${part}/binary-${arch}/Packages.gz)
done
- #FIXME: no Contents files for p-u
- test ! "$dist" = "experimental" || continue
echo retrieve Contents $dist/$arch
(cd us/${dist} &&
$wget_cmd -N ${ftpsite}/dists/${dist}/Contents-${arch}.gz)
(cd us/${dist}/${part}/source &&
$wget_cmd -N ${ftpsite}/dists/${dist}/${part}/source/Sources.gz)
done
+
+ $check_release_cmd $archivedir/us/${dist}/Release
done
else
echo using local mirror
foo=\$arch_${dist//-/_}
for arch in `eval echo $foo`
do
- test ! "$arch" = "kfreebsd-i386" || continue
- test ! "$arch" = "kfreebsd-amd64" || continue
for part in ${parts}
do
echo retrieve Packages $dist/$part/$arch
rsync -t ${localdir}/dists/${dist}/${part}/binary-${arch}/Packages.gz \
us/${dist}/${part}/binary-${arch}/Packages.gz
done
- #FIXME: no Contents files for p-u
- test ! "$dist" = "experimental" || continue
echo retrieve Contents $dist/$arch
rsync -t ${localdir}/dists/${dist}/Contents-${arch}.gz \
us/${dist}/Contents-${arch}.gz
rsync -t ${localdir}/dists/${dist}/${part}/source/Sources.gz \
us/${dist}/${part}/source/Sources.gz
done
+
+ $check_release_cmd $archivedir/us/${dist}/Release
done
fi
# security archive
#
-for dist in sarge etch lenny
+for dist in $dists
do
echo "retrieve Release(.gpg) $dist"
test -d security/${dist} || mkdir -p security/${dist}
(cd security/${dist} &&
- $wget_cmd -N ${security_ftpsite}/dists/${dist}/updates/Release &&
- $wget_cmd -N ${security_ftpsite}/dists/${dist}/updates/Release.gpg )
+ $wget_cmd -N ${security_ftpsite}/dists/${dist}-security/Release &&
+ $wget_cmd -N ${security_ftpsite}/dists/${dist}-security/Release.gpg )
foo=\$arch_${dist//-/_}
for arch in `eval echo $foo`
do
for part in ${parts}
do
- echo retrieve Packages $dist/$part/security/$arch
+ echo retrieve Packages $dist-security/$part/$arch
test -d security/${dist}/${part}/binary-${arch} || mkdir -p security/${dist}/${part}/binary-${arch}
(cd security/${dist}/${part}/binary-${arch} &&
- $wget_cmd -N ${security_ftpsite}/dists/${dist}/updates/${part}/binary-${arch}/Packages.gz)
+ $wget_cmd -N ${security_ftpsite}/dists/${dist}-security/${part}/binary-${arch}/Packages.gz)
done
done
for part in ${parts}
echo retrieve Sources $dist/$part/security
test -d security/${dist}/${part}/source || mkdir -p security/${dist}/${part}/source
(cd security/${dist}/${part}/source &&
- $wget_cmd -N ${security_ftpsite}/dists/${dist}/updates/${part}/source/Sources.gz)
+ $wget_cmd -N ${security_ftpsite}/dists/${dist}-security/${part}/source/Sources.gz)
done
+
+ $check_release_cmd $archivedir/security/${dist}/Release
done
po_lang = 'en'
ddtp_lang = 'en'
- organisation = 'Debian'
- project_homepage = 'http://www.debian.org/'
- packages_homepage = 'http://packages.debian.net/'
+ organisation = 'Ubuntu'
+ project_homepage = 'http://www.ubuntu.com/'
+ packages_homepage = 'http://packages.ubuntu.com/'
searchformurl = packages_homepage
- search_url = '/'
+ search_url = '/search'
tags_url = 'http://debtags.alioth.debian.org/'
bugs_url = 'http://bugs.debian.org/'
+ launchpad_url = 'https://launchpad.net/distros/ubuntu/+source/'
pts_url = 'http://packages.qa.debian.org/'
ddpo_url = 'http://qa.debian.org/developer.php?login='
src_bugs_url = bugs_url _ 'src:'
- mirror_url = 'http://ftp.debian.org/'
- security_mirror = 'security.debian.org'
- security_mirror_url = security_mirror _ '/debian-security'
- security_suite_suffix = '/updates'
- changelogs_url = 'http://packages.debian.org/changelogs/'
+ mirror_url = 'http://archive.ubuntu.com/'
+ security_mirror = 'security.ubuntu.com'
+ security_mirror_url = security_mirror _ '/ubuntu'
+ security_suite_suffix = '-security'
+ changelogs_url = 'http://changelogs.ubuntu.com/changelogs/'
policy_url = 'http://www.debian.org/doc/debian-policy/'
- cn_help_url = project_homepage _ 'intro/cn'
+# cn_help_url = project_homepage _ 'intro/cn'
logo = {
url => project_homepage,
src => '/Pics/openlogo-nd-25.png',
alt => organisation,
}
copyright = {
- url => 'http://www.spi-inc.org/',
- name => 'SPI Inc.',
- years => '1997 - ' _ timestamp.year,
+ url => 'http://www.canonical.com/',
+ name => 'Canonical Ltd.',
+ years => timestamp.year,
}
license = {
- url => project_homepage _ 'license'
+ url => project_homepage _ 'legal'
}
trademark = {
name => copyright.name,
url => project_homepage _ 'trademark'
}
contact = {
- name => g('Debian Web Mailinglist'),
- mail => 'debian-www@lists.debian.org',
- url => project_homepage _ 'contact',
+ name => 'Frank Lichtenheld',
+ mail => 'frank@lichtenheld.de',
+ url => project_homepage _ 'support',
}
admin = {
- name => g('%s Webmaster', organisation),
- mail => 'webmaster@debian.org',
+ name => 'Frank Lichtenheld',
+ mail => 'frank@lichtenheld.de',
}
trademarknotes = g('%s is a <a href="%s">trademark</a> of %s', organisation, trademark.url, trademark.name)
-%]
[%-
# possible values for importance: high, normal, low
- sitewidemsg = { importance => "high",
- txt => g('Please note that this is an experimental version of <a href="http://%s/">%s</a>. Errors and obsolete information should be expected', 'packages.debian.org', 'packages.debian.org') }
+# sitewidemsg = { importance => "high",
+# txt => g('Please note that this is an experimental version of <a href="http://%s/">%s</a>. Errors and obsolete information should be expected', 'packages.ubuntu.com', 'packages.ubuntu.com') }
-%]
[%# @translators: . = decimal_point , = thousands_sep, see Number::Format %]
[%- USE num = Number.Format( decimal_point => g('.'),
<p>[% g('You can download the requested file from the <tt>%s</tt> subdirectory at any of these sites:',
filename.directory) %]</p>
<div class="cardleft">
- [% FOREACH continent IN [ 'north_america', 'south_america', 'asia', 'africa' ] %]
+ [% FOREACH continent IN [ 'north_america', 'south_america', 'asia', 'africa', 'australia' ] %]
[% IF a.$continent %]
<p><em>[% continents.$continent %]</em></p>
<ul>
[% END %]
[% END %]
</div><div class="cardright">
- [% FOREACH continent IN [ 'europa','australia' ] %]
+ [% FOREACH continent IN [ 'europa' ] %]
[% IF a.$continent %]
<p><em>[% continents.$continent %]</em></p>
<ul>
<tr><th>[% g('SHA256 checksum') %]</th> <td><tt>[% sha256 || g('Not Available') %]</tt></td>
</table>
- [%- PROCESS 'html/foot.tmpl' -%]
+ [%- PROCESS 'html/foot.tmpl' page_name="$pkg/download" -%]
[%- IF benchmark && debug -%]
Total page evaluation took [% benchmark %]<br>
[%- END -%]
-</div> <!-- end inner -->
+</div></div></div>
+<div class=\"clear mozclear\"></div><div id=\"prefooter\">
<div id="footer">
[% IF langs.size > 0 %]
<a href="[% IF keyword_esc;
make_search_url('',"keywords=$keyword_esc",'lang',l.lang);
ELSE;
- "$page_name?lang=$l.lang";
+ make_url(page_name,"",'lang',l.lang);
END %]" title="[% l.tooltip %]" hreflang="[% l.lang %]" lang="[% l.lang %]" rel="alternate">[% l.selfname %]
[%- IF l.transliteration %] ([% l.transliteration %])[% END %]</a>
[% END %]
</p>
+[% IF cn_help_url %]
<p>[% g('How to set <a href="%s">the default document language</a>', cn_help_url) %]</p>
+[% END %]
<!--/UdmComment-->
[% END %]
<p><a href="/about/">[% g('Learn more about this site') %]</a>.</p>
</div> <!-- end fineprint -->
</div> <!-- end footer -->
-</div> <!-- end outer -->
+</div> <!-- end pageWrapper -->
</body>
</html>
<link href="/debian.css" rel="stylesheet" type="text/css" media="all">
<link href="/packages.css" rel="stylesheet" type="text/css" media="all">
<link href="/packages-site.css" rel="stylesheet" type="text/css" media="all">
+<link href="/ubuntu/ubuntu.css" rel="stylesheet" type="text/css" media="all">
+<link href="/ubuntu/masthead.css" rel="stylesheet" type="text/css" media="all">
[% IF rss_alternate %]
<link rel="alternate" type="application/rss+xml" title="RSS" href="[% rss_alternate %]">
[% END %]
[% sitewidemsg.txt %]
</div>
[%- END -%]
-<div id="header">
- <div id="upperheader">
+ <div id="pageWrapper">
+ <div id="mastWrapper">
+ <div id="masthead">
+ <a class="imageLink"
+ href="[% homepage %]"> </a>
- <div id="logo">
- <!-- very Debian specific use of the logo stuff -->
- <a href="[% logo.url %]"><img src="[% logo.src %]" alt=""></a>
- <a href="[% logo.url %]"><img src="/Pics/debian-small.png" alt="[% logo.alt %]" width="90" height="31"></a>
-</div> <!-- end logo -->
+ <a class="hiddenStructure"
+ href="[% homepage %]/#documentContent">Skip
+ to content</a>
[%- IF print_search_field %]
[% checked = 'checked="checked"'
selected = 'selected="selected"' %]
- <form method="GET" action="/search">
+<div id="search">
+ <form method="GET" action="[% search_url %]">
<div id="hpacketsearch">
[% IF search_field_values.mode %]<input type="hidden" name="mode" value="[% search_field_values.mode %]">[% END %]
[% IF search_field_values.sort_by %]<input type="hidden" name="sort_by" value="[% search_field_values.sort_by %]">[% END %]
<span style="font-size: 60%"><a href="[% searchformurl %]">[% g('all options') %]</a></span>
</div> <!-- end hpacketsearch -->
</form>
+</div>
[% END %]
-</div> <!-- end upperheader -->
+ <!-- masthead content begin -->
+ <h5 class="hiddenStructure">Sections</h5>
+ <div id="nav">
+ <ul>
+ </ul>
+ </div> <!-- nav -->
+ <!-- masthead content end -->
+ </div> <!-- masthead -->
+ </div> <!-- mastWrapper -->
-<p class="hidecss"><a href="#inner">[% g('skip the navigation') %]</a></p>
+<div class="visualClear"></div>
<div id="pnavbar">
>> <a href="[% project_homepage %]" title="[% g('%s Homepage', organisation) %]">[% organisation %]</a>
>> <a href="[% packages_homepage %]" title="[% g('%s Packages Homepage', organisation) %]">[% g('Packages') %]</a>
[% END %]
</div> <!-- end navbar -->
-</div> <!-- end header -->
-<div id="outer">
-<div id="inner">
+<div class="inside">
+<div id="content" class="">
+<div class="documentContent" id="region-content">
[%- IF page_title %]
- <h1>[% page_title %]</h1>
+ <h1 class="documentFirstHeading">[% page_title %]</h1>
[%- PROCESS 'html/messages.tmpl' -%]
[% END -%]
<h2>[% g('Links for %s', pkg) %]</h2>
<h3>[% g('%s Resources:', organisation) %]</h3>
<ul>
-<li><a href="[% (is_source ? src_bugs_url : bugs_url) _ pkg %]">[% g('Bug Reports') %]</a></li>
-
-[% IF src.pkg -%]
-<li><a href="[% pts_url _ src.pkg %]">[% g('Developer Information (PTS)') %]</a></li>
-[% ELSIF is_source %]
-<li><a href="[% pts_url _ pkg %]">[% g('Developer Information (PTS)') %]</a></li>
-[%- END %]
+<li><a href="[% launchpad_url _ (is_source ? pkg : src.pkg) _ '/+bugs' %]">[% g('Bug Reports') %]</a></li>
[% IF files && (!archive or archive == main_archive or archive == 'security') %]
<li><a href="[% changelogs_url _ files.changelog.path %]">[% g('%s Changelog', organisation) %]</a></li>
[% END %]
[% END %]
-[% IF maintainers.size == 1 -%]
- <h3>[% g('Maintainer:') %]</h3>
-[%- ELSE -%]
- <h3>[% g('Maintainers:') %]</h3>
-[%- END %]
-[%- FOREACH maintainers;
+[%- BLOCK handle_maintainer;
mailarchiveurl = '';
IF (matches = mail.match('^(.*)@lists\.debian\.org$'));
mailarchiveurl = 'http://lists.debian.org/' _ uri_escape(matches.0) _ '/';
ELSIF (matches = mail.match('^(.*)@lists\.ubuntu\.com$'));
mailarchiveurl = 'http://lists.ubuntu.com/archives/' _ uri_escape(matches.0) _ '/';
END -%]
- [%- '<ul>' IF loop.first -%]
+ [% IF hide_mail %]
+ <li>[% name | html %]
+ [% ELSE %]
<li><a href="mailto:[% mail | html %]">[% name | html %]</a>
- (<a href="[% ddpo_url %][% uri_escape(mail) %]" title="[% g("An overview over the maintainer's packages and uploads") %]">[% g('QA Page') %]</a>
- [%- IF mailarchiveurl %], <a href="[% mailarchiveurl %]" title="[% g('Archive of the Maintainer Mailinglist') %]">[% g('Mail Archive') %]</a>[% END %])
+ [% END %]
+ [%- IF mailarchiveurl %] (<a href="[% mailarchiveurl %]" title="[% g('Archive of the Maintainer Mailinglist') %]">[% g('Mail Archive') %]</a>)[% END %]
</li>
- [%- '</ul>' IF loop.last -%]
+[% END -%]
+
+[%- IF maintainers.size -%]
+[% IF maintainers.size == 1 -%]
+ <h3>[% g('Maintainer:') %]</h3>
+[%- ELSE -%]
+ <h3>[% g('Maintainers:') %]</h3>
+[%- END %]
+[%- FOREACH m IN maintainers;
+ '<ul>' IF loop.first;
+ PROCESS handle_maintainer name=m.name mail=m.mail;
+ '</ul>' IF loop.last;
+ END -%]
+<p>[% g('Please consider <a href="%s">filing a bug</a> or <a href="%s">asking a question</a> via Launchpad before contacting the maintainer directly.',
+ "https://bugs.launchpad.net/ubuntu/+source/$src.pkg/+filebug",
+ "https://answers.launchpad.net/ubuntu/+source/$src.pkg/+addquestion") %]</p>
+[%- END -%]
+
+[%- IF original_maintainers.size -%]
+[% IF original_maintainers.size == 1 -%]
+ <h3>[% g('Original Maintainer (usually from Debian):') %]</h3>
+[%- ELSE -%]
+ <h3>[% g('Original Maintainers (usually from Debian):') %]</h3>
+[%- END %]
+[%- FOREACH m IN original_maintainers;
+ '<ul>' IF loop.first;
+ PROCESS handle_maintainer name=m.name mail=m.mail hide_mail=1;
+ '</ul>' IF loop.last;
+ END -%]
+<p>[% g('It should generally not be necessary for users to contact the original maintainer.') %]</p>
[%- END -%]
[% url = page.get_newest('url');
[%# <script type="text/javascript">init_tab_list("ptablist")</script> %]
- [%- PROCESS 'html/foot.tmpl' -%]
+ [%- PROCESS 'html/foot.tmpl' page_name=pkg -%]