X-Git-Url: https://git.deb.at/?a=blobdiff_plain;f=lib%2FPackages%2FDoShow.pm;h=9f59690589d59ec1745a27dc937fd24ee2bda1b3;hb=c8000dac9ac2059ffe41951ff5376dadcf8eb2b2;hp=f210e04d1cbae966e16d5f27d704365d3053fbda;hpb=c07373545abf3b82a742fccf4484886a2707ef58;p=deb%2Fpackages.git diff --git a/lib/Packages/DoShow.pm b/lib/Packages/DoShow.pm index f210e04..9f59690 100644 --- a/lib/Packages/DoShow.pm +++ b/lib/Packages/DoShow.pm @@ -241,11 +241,13 @@ sub do_show { # # more information # + my $changesandcopy = 0; + $changesandcopy = 1 if suites_cmp($suite, "woody") >= 0; moreinfo( name => $pkg, data => $page, vars => \%contents, opts => $opts, env => \%FTP_SITES, bugreports => 1, sourcedownload => 1, - changesandcopy => 1, maintainers => 1, + changesandcopy => $changesandcopy, maintainers => 1, search => 1 ); } else { # unless $page->is_virtual $contents{is_virtual} = 1; @@ -321,11 +323,13 @@ sub do_show { # # more information # + my $changesandcopy = 0; + $changesandcopy = 1 if suites_cmp($suite, "woody") >= 0; moreinfo( name => $pkg, data => $page, vars => \%contents, opts => $opts, env => \%FTP_SITES, bugreports => 1, - changesandcopy => 1, maintainers => 1, + changesandcopy => $changesandcopy, maintainers => 1, search => 1, is_source => 1 ); } # else (unless $opts->{source}) @@ -356,6 +360,7 @@ sub moreinfo { if ($info{sourcedownload}) { $contents->{src}{url} = make_url($source,'',{source=>'source'}); $contents->{src}{pkg} = $source; + $contents->{src}{version} = $source_version; my @downloads; my $files = $page->get_src( 'files' );