diff options
author | phantom <phantom@FreeBSD.org> | 2001-12-20 17:55:20 +0000 |
---|---|---|
committer | phantom <phantom@FreeBSD.org> | 2001-12-20 17:55:20 +0000 |
commit | 85fc508328bc0f23b1b6df87c24fa145574e2a7c (patch) | |
tree | 29fbd3ef3bf488df05f57bfbd0365227ea72d5b1 /devel/bugzilla3/files | |
parent | 9aac19e71818faea802941360bb913d240ef9d76 (diff) | |
download | FreeBSD-ports-85fc508328bc0f23b1b6df87c24fa145574e2a7c.zip FreeBSD-ports-85fc508328bc0f23b1b6df87c24fa145574e2a7c.tar.gz |
Use perl expression to fix path to sendmail rather than using
plain patches for each case.
Also fix some whitespace.
Suggested by: nectar, lioux
Diffstat (limited to 'devel/bugzilla3/files')
-rw-r--r-- | devel/bugzilla3/files/patch-ab | 11 | ||||
-rw-r--r-- | devel/bugzilla3/files/patch-ac | 12 | ||||
-rw-r--r-- | devel/bugzilla3/files/patch-ad | 21 | ||||
-rw-r--r-- | devel/bugzilla3/files/patch-ae | 12 | ||||
-rw-r--r-- | devel/bugzilla3/files/patch-af | 12 | ||||
-rw-r--r-- | devel/bugzilla3/files/patch-ag | 12 | ||||
-rw-r--r-- | devel/bugzilla3/files/patch-ah | 12 | ||||
-rw-r--r-- | devel/bugzilla3/files/patch-ai | 12 |
8 files changed, 0 insertions, 104 deletions
diff --git a/devel/bugzilla3/files/patch-ab b/devel/bugzilla3/files/patch-ab deleted file mode 100644 index 8ba2476..0000000 --- a/devel/bugzilla3/files/patch-ab +++ /dev/null @@ -1,11 +0,0 @@ ---- 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 deleted file mode 100644 index 80adea0..0000000 --- a/devel/bugzilla3/files/patch-ac +++ /dev/null @@ -1,12 +0,0 @@ -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 deleted file mode 100644 index 10f939b..0000000 --- a/devel/bugzilla3/files/patch-ad +++ /dev/null @@ -1,21 +0,0 @@ -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 deleted file mode 100644 index 4efd370..0000000 --- a/devel/bugzilla3/files/patch-ae +++ /dev/null @@ -1,12 +0,0 @@ -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 deleted file mode 100644 index c0a75c2..0000000 --- a/devel/bugzilla3/files/patch-af +++ /dev/null @@ -1,12 +0,0 @@ -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 deleted file mode 100644 index 47a4e02..0000000 --- a/devel/bugzilla3/files/patch-ag +++ /dev/null @@ -1,12 +0,0 @@ -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 deleted file mode 100644 index 8fa58c7..0000000 --- a/devel/bugzilla3/files/patch-ah +++ /dev/null @@ -1,12 +0,0 @@ -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 deleted file mode 100644 index 67ad928..0000000 --- a/devel/bugzilla3/files/patch-ai +++ /dev/null @@ -1,12 +0,0 @@ -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"; |