From: Frank Lichtenheld Date: Sat, 8 Sep 2007 20:40:06 +0000 (+0000) Subject: Merge commit 'origin/master' into debian-master X-Git-Url: https://git.deb.at/?a=commitdiff_plain;h=6d049bd100a65f8aab957442243991f632381279;hp=-c;p=deb%2Fpackages.git Merge commit 'origin/master' into debian-master --- 6d049bd100a65f8aab957442243991f632381279 diff --combined config.sh.sed.in index 7db02b6,aecefa9..1c8658e --- a/config.sh.sed.in +++ b/config.sh.sed.in @@@ -20,13 -20,12 +20,12 @@@ cachedir=${topdir}/cach # 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 ftpsite=http://ftp.de.debian.org/debian - nonus_ftpsite=http://ftp.uk.debian.org/debian-non-US security_ftpsite=http://security.debian.org/debian-security volatile_ftpsite=http://volatile.debian.org/debian-volatile backports_ftpsite=http://backports.org/debian diff --combined lib/Packages/Dispatcher.pm index 9639e92,aad1d57..440b159 --- a/lib/Packages/Dispatcher.pm +++ b/lib/Packages/Dispatcher.pm @@@ -138,7 -138,7 +138,7 @@@ sub do_dispatch 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; @@@ -205,8 -205,6 +205,6 @@@ set_param_once( $input, \%params_set, 'archive', $_); } elsif (!$need_pkg && $sections_descs{$_}) { set_param_once( $input, \%params_set, 'subsection', $_); - } elsif (!$need_pkg && ($_ eq 'non-us')) { # non-US hack - set_param_once( $input, \%params_set, 'subsection', 'non-US'); } elsif (!$need_pkg && ($_ eq 'source')) { set_param_once( $input, \%params_set, 'source', 1); } elsif ($ARCHITECTURES{$_}) { diff --combined templates/html/show.tmpl index a9ed93b,7107d53..b524d47 --- a/templates/html/show.tmpl +++ b/templates/html/show.tmpl @@@ -45,7 -45,6 +45,6 @@@

Package: [% pkg %] ([% versions.short %]) [% END %] [%- PROCESS marker text=archive IF archive && archive != main_archive %] - [%- PROCESS marker text=subsection IF subsection == 'non-US' and archive != 'non-US' %] [%- PROCESS marker text=section IF section && section != main_section %] [%- PROCESS marker text='essential' IF page.get_newest('essential') == 'yes' %]

@@@ -322,6 -321,6 +321,6 @@@ Do not install it on a normal Debian sy [%- END %] [% END %] - +[%# %] [%- PROCESS 'html/foot.tmpl' -%]