# unset this if %SITE% moves somewhere where the packages files
# cannot be obtained locally
#
-localdir=/org/ftp.debian.org/debian
+localdir=/org/ftp.root/debian
# path to private ftp directory
#ftproot=/org/ftp.root
backports_ftpsite=http://backports.org/debian
amd64_ftpsite=http://amd64.debian.net/debian
gnuab_ftpsite=http://kfreebsd-gnu.debian.net/debian
+ ddtp_ftpsite=http://ddtp.debian.net/debian
root=""
# Architectures
#
polangs="de fi nl fr uk"
- ddtplangs="de cs da eo es fi fr hu it ja nl pl pt_BR pt_PT ru sk sv_SE 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"
archives="us security amd64 gnuab backports volatile"
sections="main contrib non-free"
parts="$sections"
my $what_to_do = 'show';
my $source = 0;
- if (my $path = $input->path_info() || $input->param('PATH_INFO')) {
+ if (my $path = $ENV{'PATH_INFO'} || $input->param('PATH_INFO')) {
my @components = grep { $_ } map { lc $_ } split /\/+/, $path;
debug( "PATH_INFO=$path components=@components", 3) if DEBUG;
debug => ( DEBUG ? $opts{debug} : 0 ) },
( $CACHEDIR ? { COMPILE_DIR => $CACHEDIR } : {} ) );
- unless (-e "$TEMPLATEDIR/$opts{format}/${what_to_do}.tmpl") {
+ #FIXME: ugly hack
+ unless (($what_to_do eq 'allpackages' and $opts{format} =~ /^(html|txt\.gz)/)
+ || -e "$TEMPLATEDIR/$opts{format}/${what_to_do}.tmpl") {
fatal_error( "requested format not available for this document",
"406 requested format not available");
}