[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: A list of broken mirrors (fwd)



On Thu, Jun 30, 2005 at 11:30:31PM +0100, MJ Ray wrote:
> Matt Kraii wrote:
> > MJ Ray wrote:
> > > Would someone in the debwww group apply a patch (I'll write)
> > > to the submit-mirror cgi to make it open a wishlist bug on
> > > mirrors instead of emailing mirrors@ please? Let me know.
> > 
> > I'll do so.
> 
> Here's a minimal patch. Can you test it once patched, please?
> 
> Many thanks.
> 
> --- submit_mirror.pl	2005-06-29 21:53:49.000000000 +0100
> +++ submit_mirror.pl	2005-06-29 22:10:25.000000000 +0100
> @@ -6,7 +6,7 @@
>  
>  require 5.001;
>  
> -my $to = 'mirrors@debian.org';
> +my $to = 'submit@bugs.debian.org';
>  
>  # $debug=0;
>  use CGI;
> @@ -147,10 +147,12 @@
>  
>    $text = "From: $from\n"
>           ."To: $to\n"
> -         ."Mail-Followup-To: $from, $to\n"
>           ."Subject: New Debian mirror submission\n"
>           ."X-Sender: unauthenticated web user of submit_mirror.pl, by $to\n"
>           ."\n"
> +	 ."Package: mirrors"
> +	 ."Severity: wishlist"
> +	 ."\n"
>           .$body;
>    @command = ("/usr/sbin/sendmail", "-f", $from, $to);

Applied, with newlines added to the Package and Severity lines.  See

 http://bugs.debian.org/316469

for the test evidence.

-- 
Matt

Attachment: signature.asc
Description: Digital signature


Reply to: