From: Don Armstrong
No maintainer for $showpkg. Please do not report new bugs against this package.
\n"; + print {$output} "There is no maintainer for $showpkg. ". + "Please do not report new bugs against this package.
\n"; } my @pkgs = getsrcpkgs($srcforpkg); @pkgs = grep( !/^\Q$package\E$/, @pkgs ); @@ -132,6 +133,11 @@ sub generate_package_info{ push @references, "to the ". "list of other pseudo-packages"; } + elsif (not defined $maint and not @{$param{bugs}}) { + print {$output} "There is no record of the " . html_escape($package) . + ($param{binary} ? " package" : " source package") . + ", and no bugs have been filed against it.
"; + } else { if ($package and defined $config{package_pages} and length $config{package_pages}) { push @references, sprintf "to the %s package page", @@ -160,11 +166,6 @@ sub generate_package_info{ printf {$output} "report it.\n", html_escape("http://$config{web_domain}/Reporting$config{html_suffix}"); } - if (not defined $maint and not @{$param{bugs}}) { - print {$output} "There is no record of the " . html_escape($package) . - ($param{binary} ? " package" : " source package") . - ", and no bugs have been filed against it.
"; - } return $output_scalar; } diff --git a/debian/changelog b/debian/changelog index 7330bc7..5114cda 100644 --- a/debian/changelog +++ b/debian/changelog @@ -228,6 +228,8 @@ debbugs (2.4.2) UNRELEASED; urgency=low * No longer hard-code paths in age-1 (closes: #499682) * Change how maybelink links links (closes: #501757) * Use bug_subscription_domain in process (closes: #499680) + * Clean up links when there is no information about a package (closes: + #452905) -- Colin Watson