]> git.deb.at Git - deb/packages.git/blobdiff - lib/Packages/DoShow.pm
Merge branch 'master' into archive-master
[deb/packages.git] / lib / Packages / DoShow.pm
index 422ca7aada6071c445cc31f147bb4e9670f32686..9f59690589d59ec1745a27dc937fd24ee2bda1b3 100644 (file)
@@ -230,7 +230,8 @@ sub do_show {
 
                            $d{version} = $versions->{$a} if $multiple_versions;
                            $d{archive} = $archives->{$a};
-                           if ($subsection ne 'debian-installer') {
+                           if ( ($suite ne "woody") && ($suite ne "bo")
+                                && ($subsection ne 'debian-installer')) {
                                $d{contents_avail} = 1;
                            }
                            push @downloads, \%d;
@@ -240,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;
@@ -320,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})