# 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
+ftpsite=http://archive.ubuntu.com/ubuntu
+security_ftpsite=$ftpsite
ddtp_ftpsite=http://ddtp.debian.net/debian
+ wget_cmd="wget --no-verbose --tries=2 --timeout=60"
+
root=""
# Architectures
#
- polangs="de fi fr hu ja nl uk"
- ddtplangs="ca cs da de eo es fi fr go hu it ja km_KH ko nl pl pt pt_BR ru sk sv uk zh zh_CN zh_TW"
+ 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"
+archives="us security"
+sections="main multiverse restricted universe"
- parts="${sections}"
+ 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"
- dists="${suites}"
+ 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}"
-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="${arch_gutsy}"
+arch_hardy_updates="${arch_hardy}"
+arch_hardy_backports="${arch_hardy}"
# Miscellaneous
#
echo retrieve Packages $dist/$part/$arch
test -d us/${dist}/${part}/binary-${arch} || mkdir -p us/${dist}/${part}/binary-${arch}
(cd us/${dist}/${part}/binary-${arch} &&
- wget -q -N ${ftpsite}/dists/${dist}/${part}/binary-${arch}/Packages.gz)
+ $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 -q -N ${ftpsite}/dists/${dist}/Contents-${arch}.gz)
+ $wget_cmd -N ${ftpsite}/dists/${dist}/Contents-${arch}.gz)
done
for part in ${parts}
do
echo "retrieve Release(.gpg) $dist"
test -d security/${dist} || mkdir -p security/${dist}
(cd security/${dist} &&
- wget -q -N ${security_ftpsite}/dists/${dist}-security/Release &&
- wget -q -N ${security_ftpsite}/dists/${dist}-security/Release.gpg )
- $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 -q -N ${security_ftpsite}/dists/${dist}-security/${part}/binary-${arch}/Packages.gz)
- $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 -q -N ${security_ftpsite}/dists/${dist}-security/${part}/source/Sources.gz)
- $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
done
--- /dev/null
-topdir=/srv/packages.debian.org
-site=packages.debian.net
++topdir=/srv/packages.ubuntu.com-new
++site=packages2.ubuntu.lichtenheld.net
padding-top: 3px;
bottom: 0;
text-align: center;
- margin: 0px;
+ margin: 1em 0 0 0;
- border-top: 1px solid #BFC3DC;
+ border-top: 1px solid #000;
}
#fineprint {
padding-left: 1em;
padding-top: 6px;
padding-bottom: 4px;
- width: auto;
height: auto;
text-align: left;
- background: #DF0451;
- color: yellow;
+ background-color: white;
+ color: #5B4832;
+ border-bottom: thin solid #5B4832;
font-size: smaller;
font-weight: bold;
}
[%- DEFAULT
charset = 'UTF-8'
- lang = 'en'
+ po_lang = 'en'
+ ddtp_lang = 'en'
- organisation = 'Debian'
- homepage = 'http://www.debian.org/'
- packages_homepage = 'http://packages.debian.net/'
+ organisation = 'Ubuntu'
+ homepage = 'http://www.ubuntu.com/'
+ packages_homepage = 'http://packages.ubuntu.lichtenheld.net/'
searchformurl = packages_homepage
search_url = '/'
tags_url = 'http://debtags.alioth.debian.org/'
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 = homepage _ 'intro/cn'
+# cn_help_url = homepage _ 'intro/cn'
logo = {
url => homepage,
src => '/Pics/openlogo-nd-25.png',
[%-
# possible values for importance: high, normal, low
sitewidemsg = { importance => "high",
- txt => g('Please note that this is an experimental version of <a href="http://packages.debian.org/">packages.debian.org</a>. Errors and obsolete information should be expected') }
+ txt => g('Please note that this is an experimental version of <a href="http://packages.ubuntu.com/">packages.ubuntu.com</a>. Errors and obsolete information should be expected') }
-%]
+ [%# @translators: . = decimal_point , = thousands_sep, see Number::Format %]
+ [%- USE num = Number.Format( decimal_point => g('.'),
+ thousands_sep => g(','),
+ decimal_fill => 1 ) -%]
<h2>[% g('Links for %s', pkg) %]</h2>
<h3>[% g('Debian Resources:') %]</h3>
<ul>
- <li><a href="[% launchpad_url _ (is_source ? pkg : src.pkg) _ '/+bugs' | uri %]">[% g('Bug Reports') %]</a></li>
-<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>
[%- ELSE -%]
<h3>[% g('Maintainers:') %]</h3>
[%- END %]
- [%- FOREACH maintainers -%]
+ [%- FOREACH maintainers;
+ mailarchiveurl = '';
+ IF (matches = mail.match('^(.*)@lists\.debian\.org$'));
+ mailarchiveurl = 'http://lists.debian.org/' _ matches.0 _ '/';
+ ELSIF (matches = mail.match('^(.*)@lists\.alioth\.debian\.org$'));
+ mailarchiveurl = 'http://lists.alioth.debian.org/pipermail/' _ matches.0 _ '/';
+ END -%]
[%- '<ul>' IF loop.first -%]
- <li><a href="mailto:[% mail %]">[% name | html %]</a></li>
+ <li><a href="mailto:[% mail %]">[% name | html %]</a>
- (<a href="[% ddpo_url _ 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 %])
++ [%- IF mailarchiveurl %](<a href="[% mailarchiveurl %]" title="[% g('Archive of the Maintainer Mailinglist') %]">[% g('Mail Archive') %]</a>)[% END %]
+ </li>
[%- '</ul>' IF loop.last -%]
[%- END -%]