Bug#1090050: bugreport.tmpl link to missing bugspam.cgi

Don Armstrong <[email protected]> Sun, 15 Dec 2024 13:27:10 -0800
Newsgroups gmane.linux.debian.devel.debbugs
Message-ID <hplym4542h57uuwvatzy3gl7ykfqvorponjm6ffjkt4sr5rqyr__7298.9303431072$1734298230$gmane$org@v6jb5smxi6br>
On Sun, 15 Dec 2024, Bill Allombert wrote:\n
> debbugs-web ships the file 
> 
> /usr/share/debbugs/templates/en_US/cgi/bugreport.tmpl
> 
> which includes the line
> 
> <p class="msgreceived">Send a report that <a href="{$config{cgi_domain}}/bugspam.cgi?bug={$bug_num}">this bug log contains spam</a>.</p>
> 
> However bugspam.cgi is not provided by the package.
> It is in examples/debian/misc/bugspam.cgi in the source, but this is not
> included in any binary packages.
> 
> Should bugspam.cgi be moved to cgi and installed in ./var/lib/debbugs/www/cgi/ ?

It's super specific to Debian's debbugs configuration, so I wouldn't
install it.

Better to have a configuration switch which enables that message,
possibly defaulting to whether bugspam.cgi is present under the path.