diff options
author | Alexey Zelkin <phantom@FreeBSD.org> | 2001-12-17 18:53:25 +0000 |
---|---|---|
committer | Alexey Zelkin <phantom@FreeBSD.org> | 2001-12-17 18:53:25 +0000 |
commit | d64a41cc7fef04b6451ec152c4d498806739bbc7 (patch) | |
tree | 1cb3be7724b57b9d4b58ecca747b3165995e22c0 /devel | |
parent | Update to 5.0.1. (diff) |
Fix default location of sendmail binary
Noticed by: Jamie Flournoy <jamie@white-mountain.org>
Diffstat (limited to 'devel')
24 files changed, 312 insertions, 0 deletions
diff --git a/devel/bugzilla/files/patch-ab b/devel/bugzilla/files/patch-ab new file mode 100644 index 000000000000..8ba2476cf295 --- /dev/null +++ b/devel/bugzilla/files/patch-ab @@ -0,0 +1,11 @@ +--- contrib/mysqld-watcher.pl~ Mon Dec 17 20:38:32 2001 ++++ contrib/mysqld-watcher.pl Mon Dec 17 20:38:41 2001 +@@ -40,7 +40,7 @@ + # + # mail transfer agent. this should probably really be converted to a Param(). + # +-my $mta_program = "/usr/lib/sendmail -t -ODeliveryMode=deferred"; ++my $mta_program = "/usr/sbin/sendmail -t -ODeliveryMode=deferred"; + + # and STDIN is where we get the info about running threads + # diff --git a/devel/bugzilla/files/patch-ac b/devel/bugzilla/files/patch-ac new file mode 100644 index 000000000000..80adea038bd0 --- /dev/null +++ b/devel/bugzilla/files/patch-ac @@ -0,0 +1,12 @@ +diff -u CGI.pl~ CGI.pl +--- CGI.pl~ Mon Dec 17 20:32:31 2001 ++++ CGI.pl Mon Dec 17 20:33:02 2001 +@@ -735,7 +735,7 @@ + "login" => $login, + "password" => $password}); + +- open SENDMAIL, "|/usr/lib/sendmail -t"; ++ open SENDMAIL, "|/usr/sbin/sendmail -t"; + print SENDMAIL $msg; + close SENDMAIL; + diff --git a/devel/bugzilla/files/patch-ad b/devel/bugzilla/files/patch-ad new file mode 100644 index 000000000000..10f939b593b3 --- /dev/null +++ b/devel/bugzilla/files/patch-ad @@ -0,0 +1,21 @@ +diff -u Token.pm~ Token.pm +--- Token.pm~ Mon Dec 17 20:32:32 2001 ++++ Token.pm Mon Dec 17 20:34:20 2001 +@@ -102,7 +102,7 @@ + my $emailsuffix = &::Param('emailsuffix'); + $token = &::url_quote($token); + +- open SENDMAIL, "|/usr/lib/sendmail -t"; ++ open SENDMAIL, "|/usr/sbin/sendmail -t"; + + print SENDMAIL qq|From: bugzilla-daemon + To: $emailaddress$emailsuffix +@@ -145,7 +145,7 @@ + my $username = $realname ? $realname . " <" . $loginname . ">" : $loginname; + + # Notify the user via email about the cancellation. +- open SENDMAIL, "|/usr/lib/sendmail -t"; ++ open SENDMAIL, "|/usr/sbin/sendmail -t"; + print SENDMAIL qq|From: bugzilla-daemon + To: $username + Subject: "$tokentype" token cancelled diff --git a/devel/bugzilla/files/patch-ae b/devel/bugzilla/files/patch-ae new file mode 100644 index 000000000000..4efd3707c51b --- /dev/null +++ b/devel/bugzilla/files/patch-ae @@ -0,0 +1,12 @@ +diff -u globals.pl~ globals.pl +--- globals.pl~ Mon Dec 17 20:32:32 2001 ++++ globals.pl Mon Dec 17 20:34:30 2001 +@@ -1243,7 +1243,7 @@ + if (Param('sendmailnow')) { + $sendmailparm = ''; + } +- if (open(SENDMAIL, "|/usr/lib/sendmail $sendmailparm -t")) { ++ if (open(SENDMAIL, "|/usr/sbin/sendmail $sendmailparm -t")) { + my %substs; + + $substs{"to"} = $name; diff --git a/devel/bugzilla/files/patch-af b/devel/bugzilla/files/patch-af new file mode 100644 index 000000000000..c0a75c2507ce --- /dev/null +++ b/devel/bugzilla/files/patch-af @@ -0,0 +1,12 @@ +diff -u importxml.pl~ importxml.pl +--- importxml.pl~ Mon Dec 17 20:32:32 2001 ++++ importxml.pl Mon Dec 17 20:34:34 2001 +@@ -108,7 +108,7 @@ + $header.= "Subject: $subject\n\n"; + + open(SENDMAIL, +- "|/usr/lib/sendmail -ODeliveryMode=background -t") || ++ "|/usr/sbin/sendmail -ODeliveryMode=background -t") || + die "Can't open sendmail"; + print SENDMAIL $header . $message . "\n"; + close SENDMAIL; diff --git a/devel/bugzilla/files/patch-ag b/devel/bugzilla/files/patch-ag new file mode 100644 index 000000000000..47a4e02977da --- /dev/null +++ b/devel/bugzilla/files/patch-ag @@ -0,0 +1,12 @@ +diff -u move.pl~ move.pl +--- move.pl~ Mon Dec 17 20:32:32 2001 ++++ move.pl Mon Dec 17 20:34:43 2001 +@@ -147,7 +147,7 @@ + $msg .= $xml . "\n"; + + open(SENDMAIL, +- "|/usr/lib/sendmail -ODeliveryMode=background -t") || ++ "|/usr/sbin/sendmail -ODeliveryMode=background -t") || + die "Can't open sendmail"; + print SENDMAIL $msg; + close SENDMAIL; diff --git a/devel/bugzilla/files/patch-ah b/devel/bugzilla/files/patch-ah new file mode 100644 index 000000000000..8fa58c7dcddc --- /dev/null +++ b/devel/bugzilla/files/patch-ah @@ -0,0 +1,12 @@ +diff -u processmail~ processmail +--- processmail~ Mon Dec 17 20:32:32 2001 ++++ processmail Mon Dec 17 20:34:47 2001 +@@ -742,7 +742,7 @@ + } + + if ($enableSendMail == 1) { +- open(SENDMAIL, "|/usr/lib/sendmail $sendmailparam -t") || ++ open(SENDMAIL, "|/usr/sbin/sendmail $sendmailparam -t") || + die "Can't open sendmail"; + + print SENDMAIL trim($msg) . "\n"; diff --git a/devel/bugzilla/files/patch-ai b/devel/bugzilla/files/patch-ai new file mode 100644 index 000000000000..67ad92845cea --- /dev/null +++ b/devel/bugzilla/files/patch-ai @@ -0,0 +1,12 @@ +diff -u whineatnews.pl~ whineatnews.pl +--- whineatnews.pl~ Mon Dec 17 20:32:33 2001 ++++ whineatnews.pl Mon Dec 17 20:33:18 2001 +@@ -62,7 +62,7 @@ + foreach my $i (@{$bugs{$email}}) { + $msg .= " ${urlbase}show_bug.cgi?id=$i\n" + } +- open(SENDMAIL, "|/usr/lib/sendmail -t") || die "Can't open sendmail"; ++ open(SENDMAIL, "|/usr/sbin/sendmail -t") || die "Can't open sendmail"; + print SENDMAIL $msg; + close SENDMAIL; + print "$email " . join(" ", @{$bugs{$email}}) . "\n"; diff --git a/devel/bugzilla2/files/patch-ab b/devel/bugzilla2/files/patch-ab new file mode 100644 index 000000000000..8ba2476cf295 --- /dev/null +++ b/devel/bugzilla2/files/patch-ab @@ -0,0 +1,11 @@ +--- contrib/mysqld-watcher.pl~ Mon Dec 17 20:38:32 2001 ++++ contrib/mysqld-watcher.pl Mon Dec 17 20:38:41 2001 +@@ -40,7 +40,7 @@ + # + # mail transfer agent. this should probably really be converted to a Param(). + # +-my $mta_program = "/usr/lib/sendmail -t -ODeliveryMode=deferred"; ++my $mta_program = "/usr/sbin/sendmail -t -ODeliveryMode=deferred"; + + # and STDIN is where we get the info about running threads + # diff --git a/devel/bugzilla2/files/patch-ac b/devel/bugzilla2/files/patch-ac new file mode 100644 index 000000000000..80adea038bd0 --- /dev/null +++ b/devel/bugzilla2/files/patch-ac @@ -0,0 +1,12 @@ +diff -u CGI.pl~ CGI.pl +--- CGI.pl~ Mon Dec 17 20:32:31 2001 ++++ CGI.pl Mon Dec 17 20:33:02 2001 +@@ -735,7 +735,7 @@ + "login" => $login, + "password" => $password}); + +- open SENDMAIL, "|/usr/lib/sendmail -t"; ++ open SENDMAIL, "|/usr/sbin/sendmail -t"; + print SENDMAIL $msg; + close SENDMAIL; + diff --git a/devel/bugzilla2/files/patch-ad b/devel/bugzilla2/files/patch-ad new file mode 100644 index 000000000000..10f939b593b3 --- /dev/null +++ b/devel/bugzilla2/files/patch-ad @@ -0,0 +1,21 @@ +diff -u Token.pm~ Token.pm +--- Token.pm~ Mon Dec 17 20:32:32 2001 ++++ Token.pm Mon Dec 17 20:34:20 2001 +@@ -102,7 +102,7 @@ + my $emailsuffix = &::Param('emailsuffix'); + $token = &::url_quote($token); + +- open SENDMAIL, "|/usr/lib/sendmail -t"; ++ open SENDMAIL, "|/usr/sbin/sendmail -t"; + + print SENDMAIL qq|From: bugzilla-daemon + To: $emailaddress$emailsuffix +@@ -145,7 +145,7 @@ + my $username = $realname ? $realname . " <" . $loginname . ">" : $loginname; + + # Notify the user via email about the cancellation. +- open SENDMAIL, "|/usr/lib/sendmail -t"; ++ open SENDMAIL, "|/usr/sbin/sendmail -t"; + print SENDMAIL qq|From: bugzilla-daemon + To: $username + Subject: "$tokentype" token cancelled diff --git a/devel/bugzilla2/files/patch-ae b/devel/bugzilla2/files/patch-ae new file mode 100644 index 000000000000..4efd3707c51b --- /dev/null +++ b/devel/bugzilla2/files/patch-ae @@ -0,0 +1,12 @@ +diff -u globals.pl~ globals.pl +--- globals.pl~ Mon Dec 17 20:32:32 2001 ++++ globals.pl Mon Dec 17 20:34:30 2001 +@@ -1243,7 +1243,7 @@ + if (Param('sendmailnow')) { + $sendmailparm = ''; + } +- if (open(SENDMAIL, "|/usr/lib/sendmail $sendmailparm -t")) { ++ if (open(SENDMAIL, "|/usr/sbin/sendmail $sendmailparm -t")) { + my %substs; + + $substs{"to"} = $name; diff --git a/devel/bugzilla2/files/patch-af b/devel/bugzilla2/files/patch-af new file mode 100644 index 000000000000..c0a75c2507ce --- /dev/null +++ b/devel/bugzilla2/files/patch-af @@ -0,0 +1,12 @@ +diff -u importxml.pl~ importxml.pl +--- importxml.pl~ Mon Dec 17 20:32:32 2001 ++++ importxml.pl Mon Dec 17 20:34:34 2001 +@@ -108,7 +108,7 @@ + $header.= "Subject: $subject\n\n"; + + open(SENDMAIL, +- "|/usr/lib/sendmail -ODeliveryMode=background -t") || ++ "|/usr/sbin/sendmail -ODeliveryMode=background -t") || + die "Can't open sendmail"; + print SENDMAIL $header . $message . "\n"; + close SENDMAIL; diff --git a/devel/bugzilla2/files/patch-ag b/devel/bugzilla2/files/patch-ag new file mode 100644 index 000000000000..47a4e02977da --- /dev/null +++ b/devel/bugzilla2/files/patch-ag @@ -0,0 +1,12 @@ +diff -u move.pl~ move.pl +--- move.pl~ Mon Dec 17 20:32:32 2001 ++++ move.pl Mon Dec 17 20:34:43 2001 +@@ -147,7 +147,7 @@ + $msg .= $xml . "\n"; + + open(SENDMAIL, +- "|/usr/lib/sendmail -ODeliveryMode=background -t") || ++ "|/usr/sbin/sendmail -ODeliveryMode=background -t") || + die "Can't open sendmail"; + print SENDMAIL $msg; + close SENDMAIL; diff --git a/devel/bugzilla2/files/patch-ah b/devel/bugzilla2/files/patch-ah new file mode 100644 index 000000000000..8fa58c7dcddc --- /dev/null +++ b/devel/bugzilla2/files/patch-ah @@ -0,0 +1,12 @@ +diff -u processmail~ processmail +--- processmail~ Mon Dec 17 20:32:32 2001 ++++ processmail Mon Dec 17 20:34:47 2001 +@@ -742,7 +742,7 @@ + } + + if ($enableSendMail == 1) { +- open(SENDMAIL, "|/usr/lib/sendmail $sendmailparam -t") || ++ open(SENDMAIL, "|/usr/sbin/sendmail $sendmailparam -t") || + die "Can't open sendmail"; + + print SENDMAIL trim($msg) . "\n"; diff --git a/devel/bugzilla2/files/patch-ai b/devel/bugzilla2/files/patch-ai new file mode 100644 index 000000000000..67ad92845cea --- /dev/null +++ b/devel/bugzilla2/files/patch-ai @@ -0,0 +1,12 @@ +diff -u whineatnews.pl~ whineatnews.pl +--- whineatnews.pl~ Mon Dec 17 20:32:33 2001 ++++ whineatnews.pl Mon Dec 17 20:33:18 2001 +@@ -62,7 +62,7 @@ + foreach my $i (@{$bugs{$email}}) { + $msg .= " ${urlbase}show_bug.cgi?id=$i\n" + } +- open(SENDMAIL, "|/usr/lib/sendmail -t") || die "Can't open sendmail"; ++ open(SENDMAIL, "|/usr/sbin/sendmail -t") || die "Can't open sendmail"; + print SENDMAIL $msg; + close SENDMAIL; + print "$email " . join(" ", @{$bugs{$email}}) . "\n"; diff --git a/devel/bugzilla3/files/patch-ab b/devel/bugzilla3/files/patch-ab new file mode 100644 index 000000000000..8ba2476cf295 --- /dev/null +++ b/devel/bugzilla3/files/patch-ab @@ -0,0 +1,11 @@ +--- contrib/mysqld-watcher.pl~ Mon Dec 17 20:38:32 2001 ++++ contrib/mysqld-watcher.pl Mon Dec 17 20:38:41 2001 +@@ -40,7 +40,7 @@ + # + # mail transfer agent. this should probably really be converted to a Param(). + # +-my $mta_program = "/usr/lib/sendmail -t -ODeliveryMode=deferred"; ++my $mta_program = "/usr/sbin/sendmail -t -ODeliveryMode=deferred"; + + # and STDIN is where we get the info about running threads + # diff --git a/devel/bugzilla3/files/patch-ac b/devel/bugzilla3/files/patch-ac new file mode 100644 index 000000000000..80adea038bd0 --- /dev/null +++ b/devel/bugzilla3/files/patch-ac @@ -0,0 +1,12 @@ +diff -u CGI.pl~ CGI.pl +--- CGI.pl~ Mon Dec 17 20:32:31 2001 ++++ CGI.pl Mon Dec 17 20:33:02 2001 +@@ -735,7 +735,7 @@ + "login" => $login, + "password" => $password}); + +- open SENDMAIL, "|/usr/lib/sendmail -t"; ++ open SENDMAIL, "|/usr/sbin/sendmail -t"; + print SENDMAIL $msg; + close SENDMAIL; + diff --git a/devel/bugzilla3/files/patch-ad b/devel/bugzilla3/files/patch-ad new file mode 100644 index 000000000000..10f939b593b3 --- /dev/null +++ b/devel/bugzilla3/files/patch-ad @@ -0,0 +1,21 @@ +diff -u Token.pm~ Token.pm +--- Token.pm~ Mon Dec 17 20:32:32 2001 ++++ Token.pm Mon Dec 17 20:34:20 2001 +@@ -102,7 +102,7 @@ + my $emailsuffix = &::Param('emailsuffix'); + $token = &::url_quote($token); + +- open SENDMAIL, "|/usr/lib/sendmail -t"; ++ open SENDMAIL, "|/usr/sbin/sendmail -t"; + + print SENDMAIL qq|From: bugzilla-daemon + To: $emailaddress$emailsuffix +@@ -145,7 +145,7 @@ + my $username = $realname ? $realname . " <" . $loginname . ">" : $loginname; + + # Notify the user via email about the cancellation. +- open SENDMAIL, "|/usr/lib/sendmail -t"; ++ open SENDMAIL, "|/usr/sbin/sendmail -t"; + print SENDMAIL qq|From: bugzilla-daemon + To: $username + Subject: "$tokentype" token cancelled diff --git a/devel/bugzilla3/files/patch-ae b/devel/bugzilla3/files/patch-ae new file mode 100644 index 000000000000..4efd3707c51b --- /dev/null +++ b/devel/bugzilla3/files/patch-ae @@ -0,0 +1,12 @@ +diff -u globals.pl~ globals.pl +--- globals.pl~ Mon Dec 17 20:32:32 2001 ++++ globals.pl Mon Dec 17 20:34:30 2001 +@@ -1243,7 +1243,7 @@ + if (Param('sendmailnow')) { + $sendmailparm = ''; + } +- if (open(SENDMAIL, "|/usr/lib/sendmail $sendmailparm -t")) { ++ if (open(SENDMAIL, "|/usr/sbin/sendmail $sendmailparm -t")) { + my %substs; + + $substs{"to"} = $name; diff --git a/devel/bugzilla3/files/patch-af b/devel/bugzilla3/files/patch-af new file mode 100644 index 000000000000..c0a75c2507ce --- /dev/null +++ b/devel/bugzilla3/files/patch-af @@ -0,0 +1,12 @@ +diff -u importxml.pl~ importxml.pl +--- importxml.pl~ Mon Dec 17 20:32:32 2001 ++++ importxml.pl Mon Dec 17 20:34:34 2001 +@@ -108,7 +108,7 @@ + $header.= "Subject: $subject\n\n"; + + open(SENDMAIL, +- "|/usr/lib/sendmail -ODeliveryMode=background -t") || ++ "|/usr/sbin/sendmail -ODeliveryMode=background -t") || + die "Can't open sendmail"; + print SENDMAIL $header . $message . "\n"; + close SENDMAIL; diff --git a/devel/bugzilla3/files/patch-ag b/devel/bugzilla3/files/patch-ag new file mode 100644 index 000000000000..47a4e02977da --- /dev/null +++ b/devel/bugzilla3/files/patch-ag @@ -0,0 +1,12 @@ +diff -u move.pl~ move.pl +--- move.pl~ Mon Dec 17 20:32:32 2001 ++++ move.pl Mon Dec 17 20:34:43 2001 +@@ -147,7 +147,7 @@ + $msg .= $xml . "\n"; + + open(SENDMAIL, +- "|/usr/lib/sendmail -ODeliveryMode=background -t") || ++ "|/usr/sbin/sendmail -ODeliveryMode=background -t") || + die "Can't open sendmail"; + print SENDMAIL $msg; + close SENDMAIL; diff --git a/devel/bugzilla3/files/patch-ah b/devel/bugzilla3/files/patch-ah new file mode 100644 index 000000000000..8fa58c7dcddc --- /dev/null +++ b/devel/bugzilla3/files/patch-ah @@ -0,0 +1,12 @@ +diff -u processmail~ processmail +--- processmail~ Mon Dec 17 20:32:32 2001 ++++ processmail Mon Dec 17 20:34:47 2001 +@@ -742,7 +742,7 @@ + } + + if ($enableSendMail == 1) { +- open(SENDMAIL, "|/usr/lib/sendmail $sendmailparam -t") || ++ open(SENDMAIL, "|/usr/sbin/sendmail $sendmailparam -t") || + die "Can't open sendmail"; + + print SENDMAIL trim($msg) . "\n"; diff --git a/devel/bugzilla3/files/patch-ai b/devel/bugzilla3/files/patch-ai new file mode 100644 index 000000000000..67ad92845cea --- /dev/null +++ b/devel/bugzilla3/files/patch-ai @@ -0,0 +1,12 @@ +diff -u whineatnews.pl~ whineatnews.pl +--- whineatnews.pl~ Mon Dec 17 20:32:33 2001 ++++ whineatnews.pl Mon Dec 17 20:33:18 2001 +@@ -62,7 +62,7 @@ + foreach my $i (@{$bugs{$email}}) { + $msg .= " ${urlbase}show_bug.cgi?id=$i\n" + } +- open(SENDMAIL, "|/usr/lib/sendmail -t") || die "Can't open sendmail"; ++ open(SENDMAIL, "|/usr/sbin/sendmail -t") || die "Can't open sendmail"; + print SENDMAIL $msg; + close SENDMAIL; + print "$email " . join(" ", @{$bugs{$email}}) . "\n"; |