Bug#686940: Patch against pkgindex.cgi, fixes internal webserver error

Mike Gabriel <[email protected]>
Newsgroups gmane.linux.debian.devel.debbugs
Message-ID <20120907133816.82925h9ip4kr7nag__47808.9233198718$1347018146$gmane$org@mail.das-netzwerkteam.de>
Package: debbugs
Severity: minor
Version 2.4.2~exp1

Hi,

attached to this mail you find a patch against pkgindex.cgi. The  
version in the package of the version named above is broken and let's  
apache2 react with an internal error.

Greets,
Mike

-- 

DAS-NETZWERKTEAM
mike gabriel, rothenstein 5, 24214 neudorf-bornstein
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: [email protected], http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
debbugs-pkgindex.patch (text/x-patch, 596 B)
--- a/cgi/pkgindex.cgi
+++ b/cgi/pkgindex.cgi
@@ -10,6 +10,7 @@ use Debbugs::CGI qw(:util :url :html);
 use Debbugs::Common qw(getmaintainers);
 use Debbugs::Bugs qw(count_bugs);
 use Debbugs::Status qw(:status);
+use Debbugs::Packages qw(getpkgsrc);
 
 nice(5);
 
@@ -103,7 +104,7 @@ if ($indexon eq "pkg") {
            } 
        } keys %count;
   }
-  %count = countbugs(function => sub {my %d=@_;
+  %count = count_bugs(function => sub {my %d=@_;
                           return map {
                             $pkgsrc->{$_} || $_
                           } splitpackages($d{"pkg"});
signature.asc (application/pgp-signature, 836 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQIcBAABAgAGBQJQSdyoAAoJEJr0azAldxsxSMMP/iSfDQaRgo0Ft6CITkZfhijS
NV7CKlQ2ZJlLivwSqQQSphPwNFlc4+KSi/frmn19VCymlOhl/JCcY3xuDiyURI1X
BzH3qdBf9W89Zc4C+N4YeyPe1/LKxTQZ7t22fOc01y90Wn8BC+ouihFwViUMXwt5
xnhZo0g5m+ZU8PWTIAQLeEhkGgmeF0agF0tZ1cCTGBgs5xRJYr0+z/GnbhO/+buC
cGho0EtEmQiaSpb3XGPTLL/9wDs4ox3by/p6ZOjyLh5J+Ux3TDahtcg2FFh0+nzC
3Dgw+mutp2EpHIyUpXdtKhHgDEaLvR4fKOO0/RMcW9n3g96bpUirTqM6ldQQbSyR
0fRqi5hzghcUffJtdvKWVbOuWIXHG0pf33xKrI3QGZWML8/GM6F9MR9KVmljih5x
hiwP94xycVuBRYGlEM0cplFbStoiWvizsl6TMuQzpGUaADKhFUeHpvk3srIa7+t5
AcIyB9T4iyzkFlt4LgVBCSadP990Smrh9yeLt6FdlQQlJztUy0TvGXA7ycawtgIe
UU1Io5FaQxwa5fDQ2aBbYPaUGrdUtzfdt2vhakgT/TgTFKgqhF5i0CN40azUq9Zm
qGDUtFTqLjQZSi2SwrDYJOrb0/f0yN0xhUUUAlk4Dn1M8n9FlmxNTA9QCQ22XYX/
JiefJMORXcEp+m8gyuE+
=OlVG
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.