diff -ru D:/home/nb/project/p4dti/version/1.5/code/bugzilla-2.14.3/Bug.pm D:\Apache Group\Apache\htdocs\bugzilla-2.14.3/Bug.pm --- D:/home/nb/project/p4dti/version/1.5/code/bugzilla-2.14.3/Bug.pm 2002-10-24 12:52:16.000000000 +0100 +++ D:\Apache Group\Apache\htdocs\bugzilla-2.14.3/Bug.pm 2002-09-17 20:08:10.000000000 +0100 @@ -1,4 +1,4 @@ -#!/usr/bonsaitools/bin/perl -w +#!d:/perl/bin/perl.exe -w # -*- Mode: perl; indent-tabs-mode: nil -*- # # The contents of this file are subject to the Mozilla Public diff -ru D:/home/nb/project/p4dti/version/1.5/code/bugzilla-2.14.3/CGI.pl D:\Apache Group\Apache\htdocs\bugzilla-2.14.3/CGI.pl --- D:/home/nb/project/p4dti/version/1.5/code/bugzilla-2.14.3/CGI.pl 2002-10-24 12:52:16.000000000 +0100 +++ D:\Apache Group\Apache\htdocs\bugzilla-2.14.3/CGI.pl 2002-10-25 14:27:29.000000000 +0100 @@ -732,9 +732,8 @@ "login" => $login, "password" => $password}); - open SENDMAIL, "|/usr/lib/sendmail -t"; - print SENDMAIL $msg; - close SENDMAIL; +# Win32 sendmail functionality +ntsendmail($login . Param('emailsuffix'), $msg); print "The password for the e-mail address\n"; print "$login has been e-mailed to that address.\n"; @@ -1185,7 +1184,7 @@ AppendComment($id, DBID_to_name($who), "*** This bug has been confirmed by popular vote. ***"); print "
Bug $id has been confirmed by votes.\n"; - system("./processmail", $id); + system ("D:\\perl\\bin\\perl", "processmail.pl", $id); print " | Go To BUG# $id |
Attachment $attachid to bug $id created\n"; - system("./processmail", $id, $::COOKIE{'Bugzilla_login'}); + system ("D:\\perl\\bin\\perl", "processmail.pl", $id, $::COOKIE{'Bugzilla_login'}); print " | Go Back to BUG# $id |
Create another attachment to bug $id
\n"; } diff -ru D:/home/nb/project/p4dti/version/1.5/code/bugzilla-2.14.3/describecomponents.cgi D:\Apache Group\Apache\htdocs\bugzilla-2.14.3/describecomponents.cgi --- D:/home/nb/project/p4dti/version/1.5/code/bugzilla-2.14.3/describecomponents.cgi 2002-10-24 12:52:18.000000000 +0100 +++ D:\Apache Group\Apache\htdocs\bugzilla-2.14.3/describecomponents.cgi 2002-09-17 20:08:10.000000000 +0100 @@ -1,4 +1,4 @@ -#!/usr/bonsaitools/bin/perl -w +#!d:/perl/bin/perl.exe -w # -*- Mode: perl; indent-tabs-mode: nil -*- # # The contents of this file are subject to the Mozilla Public diff -ru D:/home/nb/project/p4dti/version/1.5/code/bugzilla-2.14.3/describekeywords.cgi D:\Apache Group\Apache\htdocs\bugzilla-2.14.3/describekeywords.cgi --- D:/home/nb/project/p4dti/version/1.5/code/bugzilla-2.14.3/describekeywords.cgi 2002-10-24 12:52:18.000000000 +0100 +++ D:\Apache Group\Apache\htdocs\bugzilla-2.14.3/describekeywords.cgi 2002-09-17 20:08:10.000000000 +0100 @@ -1,4 +1,4 @@ -#!/usr/bonsaitools/bin/perl -w +#!d:/perl/bin/perl.exe -w # -*- Mode: perl; indent-tabs-mode: nil -*- # # The contents of this file are subject to the Mozilla Public diff -ru D:/home/nb/project/p4dti/version/1.5/code/bugzilla-2.14.3/doeditparams.cgi D:\Apache Group\Apache\htdocs\bugzilla-2.14.3/doeditparams.cgi --- D:/home/nb/project/p4dti/version/1.5/code/bugzilla-2.14.3/doeditparams.cgi 2002-10-24 12:52:21.000000000 +0100 +++ D:\Apache Group\Apache\htdocs\bugzilla-2.14.3/doeditparams.cgi 2002-09-19 17:54:21.000000000 +0100 @@ -1,4 +1,4 @@ -#!/usr/bonsaitools/bin/perl -w +#!d:/perl/bin/perl.exe -w # -*- Mode: perl; indent-tabs-mode: nil -*- # # The contents of this file are subject to the Mozilla Public @@ -111,7 +111,7 @@ unlink "data/versioncache"; print "";
-system("./syncshadowdb", "-v");
+system("d:\\perl\\bin\\perl", "syncshadowdb", "-v");
print "";
print "OK, done.\n"; diff -ru D:/home/nb/project/p4dti/version/1.5/code/bugzilla-2.14.3/doeditvotes.cgi D:\Apache Group\Apache\htdocs\bugzilla-2.14.3/doeditvotes.cgi --- D:/home/nb/project/p4dti/version/1.5/code/bugzilla-2.14.3/doeditvotes.cgi 2002-10-24 12:52:21.000000000 +0100 +++ D:\Apache Group\Apache\htdocs\bugzilla-2.14.3/doeditvotes.cgi 2002-09-17 20:08:10.000000000 +0100 @@ -1,4 +1,4 @@ -#!/usr/bonsaitools/bin/perl -w +#!d:/perl/bin/perl.exe -w # -*- Mode: perl; indent-tabs-mode: nil -*- # # The contents of this file are subject to the Mozilla Public diff -ru D:/home/nb/project/p4dti/version/1.5/code/bugzilla-2.14.3/duplicates.cgi D:\Apache Group\Apache\htdocs\bugzilla-2.14.3/duplicates.cgi --- D:/home/nb/project/p4dti/version/1.5/code/bugzilla-2.14.3/duplicates.cgi 2002-10-24 12:52:21.000000000 +0100 +++ D:\Apache Group\Apache\htdocs\bugzilla-2.14.3/duplicates.cgi 2002-09-17 20:08:10.000000000 +0100 @@ -1,4 +1,4 @@ -#!/usr/bonsaitools/bin/perl -w +#!d:/perl/bin/perl.exe -w # -*- Mode: perl; indent-tabs-mode: nil -*- # # The contents of this file are subject to the Mozilla Public diff -ru D:/home/nb/project/p4dti/version/1.5/code/bugzilla-2.14.3/editcomponents.cgi D:\Apache Group\Apache\htdocs\bugzilla-2.14.3/editcomponents.cgi --- D:/home/nb/project/p4dti/version/1.5/code/bugzilla-2.14.3/editcomponents.cgi 2002-10-24 12:52:21.000000000 +0100 +++ D:\Apache Group\Apache\htdocs\bugzilla-2.14.3/editcomponents.cgi 2002-09-17 20:08:10.000000000 +0100 @@ -1,4 +1,4 @@ -#!/usr/bonsaitools/bin/perl -w +#!d:/perl/bin/perl.exe -w # -*- Mode: perl; indent-tabs-mode: nil -*- # # The contents of this file are subject to the Mozilla Public diff -ru D:/home/nb/project/p4dti/version/1.5/code/bugzilla-2.14.3/editgroups.cgi D:\Apache Group\Apache\htdocs\bugzilla-2.14.3/editgroups.cgi --- D:/home/nb/project/p4dti/version/1.5/code/bugzilla-2.14.3/editgroups.cgi 2002-10-24 12:52:21.000000000 +0100 +++ D:\Apache Group\Apache\htdocs\bugzilla-2.14.3/editgroups.cgi 2002-09-17 20:08:10.000000000 +0100 @@ -1,4 +1,4 @@ -#!/usr/bonsaitools/bin/perl -w +#!d:/perl/bin/perl.exe -w # -*- Mode: perl; indent-tabs-mode: nil -*- # # The contents of this file are subject to the Mozilla Public diff -ru D:/home/nb/project/p4dti/version/1.5/code/bugzilla-2.14.3/editkeywords.cgi D:\Apache Group\Apache\htdocs\bugzilla-2.14.3/editkeywords.cgi --- D:/home/nb/project/p4dti/version/1.5/code/bugzilla-2.14.3/editkeywords.cgi 2002-10-24 12:52:21.000000000 +0100 +++ D:\Apache Group\Apache\htdocs\bugzilla-2.14.3/editkeywords.cgi 2002-09-17 20:08:10.000000000 +0100 @@ -1,4 +1,4 @@ -#!/usr/bonsaitools/bin/perl -w +#!d:/perl/bin/perl.exe -w # -*- Mode: perl; indent-tabs-mode: nil -*- # # The contents of this file are subject to the Mozilla Public diff -ru D:/home/nb/project/p4dti/version/1.5/code/bugzilla-2.14.3/editmilestones.cgi D:\Apache Group\Apache\htdocs\bugzilla-2.14.3/editmilestones.cgi --- D:/home/nb/project/p4dti/version/1.5/code/bugzilla-2.14.3/editmilestones.cgi 2002-10-24 12:52:21.000000000 +0100 +++ D:\Apache Group\Apache\htdocs\bugzilla-2.14.3/editmilestones.cgi 2002-09-17 20:08:10.000000000 +0100 @@ -1,4 +1,4 @@ -#!/usr/bonsaitools/bin/perl -w +#!d:/perl/bin/perl.exe -w # -*- Mode: perl; indent-tabs-mode: nil -*- # diff -ru D:/home/nb/project/p4dti/version/1.5/code/bugzilla-2.14.3/editparams.cgi D:\Apache Group\Apache\htdocs\bugzilla-2.14.3/editparams.cgi --- D:/home/nb/project/p4dti/version/1.5/code/bugzilla-2.14.3/editparams.cgi 2002-10-24 12:52:21.000000000 +0100 +++ D:\Apache Group\Apache\htdocs\bugzilla-2.14.3/editparams.cgi 2002-09-17 20:08:10.000000000 +0100 @@ -1,4 +1,4 @@ -#!/usr/bonsaitools/bin/perl -w +#!d:/perl/bin/perl.exe -w # -*- Mode: perl; indent-tabs-mode: nil -*- # # The contents of this file are subject to the Mozilla Public diff -ru D:/home/nb/project/p4dti/version/1.5/code/bugzilla-2.14.3/editproducts.cgi D:\Apache Group\Apache\htdocs\bugzilla-2.14.3/editproducts.cgi --- D:/home/nb/project/p4dti/version/1.5/code/bugzilla-2.14.3/editproducts.cgi 2002-10-24 12:52:21.000000000 +0100 +++ D:\Apache Group\Apache\htdocs\bugzilla-2.14.3/editproducts.cgi 2002-09-17 20:08:10.000000000 +0100 @@ -1,4 +1,4 @@ -#!/usr/bonsaitools/bin/perl -w +#!d:/perl/bin/perl.exe -w # -*- Mode: perl; indent-tabs-mode: nil -*- # # The contents of this file are subject to the Mozilla Public diff -ru D:/home/nb/project/p4dti/version/1.5/code/bugzilla-2.14.3/editusers.cgi D:\Apache Group\Apache\htdocs\bugzilla-2.14.3/editusers.cgi --- D:/home/nb/project/p4dti/version/1.5/code/bugzilla-2.14.3/editusers.cgi 2002-10-24 12:52:21.000000000 +0100 +++ D:\Apache Group\Apache\htdocs\bugzilla-2.14.3/editusers.cgi 2002-09-17 20:08:10.000000000 +0100 @@ -1,4 +1,4 @@ -#!/usr/bonsaitools/bin/perl -w +#!d:/perl/bin/perl.exe -w # -*- Mode: perl; indent-tabs-mode: nil -*- # # The contents of this file are subject to the Mozilla Public diff -ru D:/home/nb/project/p4dti/version/1.5/code/bugzilla-2.14.3/editversions.cgi D:\Apache Group\Apache\htdocs\bugzilla-2.14.3/editversions.cgi --- D:/home/nb/project/p4dti/version/1.5/code/bugzilla-2.14.3/editversions.cgi 2002-10-24 12:52:21.000000000 +0100 +++ D:\Apache Group\Apache\htdocs\bugzilla-2.14.3/editversions.cgi 2002-09-17 20:08:10.000000000 +0100 @@ -1,4 +1,4 @@ -#!/usr/bonsaitools/bin/perl -w +#!d:/perl/bin/perl.exe -w # -*- Mode: perl; indent-tabs-mode: nil -*- # # The contents of this file are subject to the Mozilla Public diff -ru D:/home/nb/project/p4dti/version/1.5/code/bugzilla-2.14.3/enter_bug.cgi D:\Apache Group\Apache\htdocs\bugzilla-2.14.3/enter_bug.cgi --- D:/home/nb/project/p4dti/version/1.5/code/bugzilla-2.14.3/enter_bug.cgi 2002-10-24 12:52:21.000000000 +0100 +++ D:\Apache Group\Apache\htdocs\bugzilla-2.14.3/enter_bug.cgi 2002-09-17 20:08:10.000000000 +0100 @@ -1,4 +1,4 @@ -#!/usr/bonsaitools/bin/perl -w +#!d:/perl/bin/perl.exe -w # -*- Mode: perl; indent-tabs-mode: nil -*- # # The contents of this file are subject to the Mozilla Public diff -ru D:/home/nb/project/p4dti/version/1.5/code/bugzilla-2.14.3/globals.pl D:\Apache Group\Apache\htdocs\bugzilla-2.14.3/globals.pl --- D:/home/nb/project/p4dti/version/1.5/code/bugzilla-2.14.3/globals.pl 2002-10-24 12:52:21.000000000 +0100 +++ D:\Apache Group\Apache\htdocs\bugzilla-2.14.3/globals.pl 2002-10-25 14:34:30.000000000 +0100 @@ -88,6 +88,18 @@ # Joe Robins, 7/5/00 $::superusergroupset = "9223372036854775807"; +# Added by Francis 17 Sep 2002 process +use NTsendmail; +$ENV{"NTsendmail"}="smtp.ravenbrook.com"; +$ENV{"NTsendmail_bug"}=1; +$ENV{"NTsendmail_max_tried"}=5; +sub ntsendmail +{ + my ($to, $msg) = @_; + my $mail=new NTsendmail; + $mail->send("bugzilla-daemon\@ravenbrook.com",$to,"",$msg); +} + #sub die_with_dignity { # my ($err_msg) = @_; # print $err_msg; @@ -1270,7 +1282,6 @@ if (Param('sendmailnow')) { $sendmailparm = ''; } - if (open(SENDMAIL, "|/usr/lib/sendmail $sendmailparm -t")) { my %substs; $substs{"to"} = $name; @@ -1289,9 +1300,10 @@ my $msg = PerformSubsts(Param("voteremovedmail"), \%substs); - print SENDMAIL $msg; - close SENDMAIL; - } + + # NT sendmail functionality + ntsendmail($name, $msg); + } SendSQL("SELECT SUM(count) FROM votes WHERE bug_id = $id"); my $v = FetchOneColumn(); diff -ru D:/home/nb/project/p4dti/version/1.5/code/bugzilla-2.14.3/importxml.pl D:\Apache Group\Apache\htdocs\bugzilla-2.14.3/importxml.pl --- D:/home/nb/project/p4dti/version/1.5/code/bugzilla-2.14.3/importxml.pl 2002-10-24 12:52:21.000000000 +0100 +++ D:\Apache Group\Apache\htdocs\bugzilla-2.14.3/importxml.pl 2002-10-25 14:34:41.000000000 +0100 @@ -1,4 +1,4 @@ -#!/usr/bonsaitools/bin/perl -w +#!d:/perl/bin/perl.exe -w # -*- Mode: perl; indent-tabs-mode: nil -*- # # The contents of this file are subject to the Mozilla Public @@ -107,11 +107,8 @@ $header.= "From: Bugzilla <$from>\n"; $header.= "Subject: $subject\n\n"; - open(SENDMAIL, - "|/usr/lib/sendmail -ODeliveryMode=background -t") || - die "Can't open sendmail"; - print SENDMAIL $header . $message . "\n"; - close SENDMAIL; + # NT sendmail functionality + ntsendmail($to, $head . $message); Log($subject . " sent to: $to"); } @@ -630,7 +627,7 @@ $log .= "\n\n\n"; } - system("./processmail", $id, $exporter); + system ("D:\\perl\\bin\\perl", "processmail.pl", $id, $exporter); } my $subject = "$bugqty bug(s) successfully moved from $urlbase to " diff -ru D:/home/nb/project/p4dti/version/1.5/code/bugzilla-2.14.3/long_list.cgi D:\Apache Group\Apache\htdocs\bugzilla-2.14.3/long_list.cgi --- D:/home/nb/project/p4dti/version/1.5/code/bugzilla-2.14.3/long_list.cgi 2002-10-24 12:52:21.000000000 +0100 +++ D:\Apache Group\Apache\htdocs\bugzilla-2.14.3/long_list.cgi 2002-09-17 20:08:10.000000000 +0100 @@ -1,4 +1,4 @@ -#!/usr/bonsaitools/bin/perl -w +#!d:/perl/bin/perl.exe -w # -*- Mode: perl; indent-tabs-mode: nil -*- # # The contents of this file are subject to the Mozilla Public diff -ru D:/home/nb/project/p4dti/version/1.5/code/bugzilla-2.14.3/move.pl D:\Apache Group\Apache\htdocs\bugzilla-2.14.3/move.pl --- D:/home/nb/project/p4dti/version/1.5/code/bugzilla-2.14.3/move.pl 2002-10-24 12:52:21.000000000 +0100 +++ D:\Apache Group\Apache\htdocs\bugzilla-2.14.3/move.pl 2002-10-25 14:35:04.000000000 +0100 @@ -1,4 +1,4 @@ -#!/usr/bonsaitools/bin/perl -w +#!d:/perl/bin/perl.exe -w # -*- Mode: perl; indent-tabs-mode: nil -*- # # The contents of this file are subject to the Mozilla Public @@ -123,7 +123,7 @@ "($id, $exporterid, now(), " . SqlQuote($comment) . ")"); print "
Bug $id moved to " . Param("move-to-url") . ".
\n";
- system("./processmail", $id, $exporter);
+ system ("D:\\perl\\bin\\perl", "processmail.pl", $id, $exporter);
}
}
print "
\n"; @@ -142,11 +142,8 @@ $msg .= "Subject: Moving bug(s) $buglist\n\n"; $msg .= $xml . "\n"; -open(SENDMAIL, - "|/usr/lib/sendmail -ODeliveryMode=background -t") || - die "Can't open sendmail"; -print SENDMAIL $msg; -close SENDMAIL; +# NT sendmail functionality +ntsendmail($to, $msg); my $logstr = "XML: bugs $buglist sent to $to"; Log($logstr); diff -ru D:/home/nb/project/p4dti/version/1.5/code/bugzilla-2.14.3/new_comment.cgi D:\Apache Group\Apache\htdocs\bugzilla-2.14.3/new_comment.cgi --- D:/home/nb/project/p4dti/version/1.5/code/bugzilla-2.14.3/new_comment.cgi 2002-10-24 12:52:21.000000000 +0100 +++ D:\Apache Group\Apache\htdocs\bugzilla-2.14.3/new_comment.cgi 2002-09-17 20:08:10.000000000 +0100 @@ -1,4 +1,4 @@ -#!/usr/bonsaitools/bin/perl +#!d:/perl/bin/perl.exe # -*- Mode: perl; indent-tabs-mode: nil -*- # # The contents of this file are subject to the Mozilla Public diff -ru D:/home/nb/project/p4dti/version/1.5/code/bugzilla-2.14.3/post_bug.cgi D:\Apache Group\Apache\htdocs\bugzilla-2.14.3/post_bug.cgi --- D:/home/nb/project/p4dti/version/1.5/code/bugzilla-2.14.3/post_bug.cgi 2002-10-24 12:52:21.000000000 +0100 +++ D:\Apache Group\Apache\htdocs\bugzilla-2.14.3/post_bug.cgi 2002-09-17 23:24:24.000000000 +0100 @@ -1,4 +1,4 @@ -#!/usr/bonsaitools/bin/perl -w +#!d:/perl/bin/perl.exe -w # -*- Mode: perl; indent-tabs-mode: nil -*- # # The contents of this file are subject to the Mozilla Public @@ -253,7 +253,7 @@ } print "
Bug $id posted\n"; -system("./processmail", $id, $::COOKIE{'Bugzilla_login'}); +system ("D:\\perl\\bin\\perl", "processmail.pl", $id, $::COOKIE{'Bugzilla_login'}); print " | Back To BUG# $id |
Duplicate notation added to bug $duplicate\n"; - system("./processmail", $duplicate, $::COOKIE{'Bugzilla_login'}); + system ("D:\\perl\\bin\\perl", "processmail.pl", $duplicate, $::COOKIE{'Bugzilla_login'}); print " | Go To BUG# $duplicate |
Checking for dependency changes on bug $k\n"; - system("./processmail", $k, $::COOKIE{'Bugzilla_login'}); + system ("D:\\perl\\bin\\perl", "processmail.pl", $k, $::COOKIE{'Bugzilla_login'}); print " | Go To BUG# $k |