Your message dated Sat, 11 Feb 2023 22:39:39 +0000
with message-id <e1pqywx-008gbt...@fasolo.debian.org>
and subject line Bug#1031067: Removed package(s) from unstable
has caused the Debian Bug report #799097,
regarding mrtg-rrd: Regression after the fix for bug #787608.
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
799097: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=799097
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: mrtg-rrd
Version: 0.7-5.1
Severity: grave
Tags: patch
Justification: renders package unusable
Dear Maintainer,
The fix for bug #787608 has left the package in an unusable state (the result
of the execution of mrtg-rrd.cgi is a blank page).
The cause is the blind removal of the defined function. At least in 3 of the 4
instances it should be replaced with exists. I don't know about the fourth
instance since I am not a Perl expert.
Please, see the proposed patch below. It should be applied instead of
no-defined-hash-array.patch, i.e. against the original source.
--- a/mrtg-rrd.cgi
+++ b/mrtg-rrd.cgi
@@ -496,7 +496,7 @@ sub common_args($$$)
{
my ($name, $target, $q) = @_;
- return @{$target->{args}} if defined @{$target->{args}};
+ return @{$target->{args}} if exists $target->{args};
my $noi = 1 if $target->{options}{noi};
my $noo = 1 if $target->{options}{noo};
@@ -521,7 +521,7 @@ sub common_args($$$)
$target->{rrd} = $dir . '/' . $tdir . $name . '.rrd';
%{$target->{options}} = ()
- unless defined %{$target->{options}};
+ unless %{$target->{options}};
$dir = $cfg->{workdir};
$dir = $cfg->{imagedir}
@@ -908,7 +908,7 @@ EOF
print $directories{$dir}{bodytag};
my $subdirs_printed;
- if (defined @{$directories{$dir}{subdir}}) {
+ if (exists $directories{$dir}{subdir}) {
$subdirs_printed = 1;
print <<EOF;
<H1>MRTG subdirectories in the directory $dir1</H1>
@@ -921,7 +921,7 @@ EOF
print "</UL>\n";
}
- if (defined @{$directories{$dir}{target}}) {
+ if (exists $directories{$dir}{target}) {
print "<HR>\n" if defined $subdirs_printed;
print <<EOF;
<H1>MRTG graphs in the directory $dir1</H1>
--- End Message ---
--- Begin Message ---
Version: 0.7-5.1+rm
Dear submitter,
as the package mrtg-rrd has just been removed from the Debian archive
unstable we hereby close the associated bug reports. We are sorry
that we couldn't deal with your issue properly.
For details on the removal, please see https://bugs.debian.org/1031067
The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.
Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.
This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmas...@ftp-master.debian.org.
Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)
--- End Message ---