summaryrefslogtreecommitdiff
path: root/mail/exim-old
diff options
context:
space:
mode:
authorSheldon Hearn <sheldonh@FreeBSD.org>2001-11-02 17:11:14 +0000
committerSheldon Hearn <sheldonh@FreeBSD.org>2001-11-02 17:11:14 +0000
commit34323bd7e010dbd9c534ddfa821dfcc48d54c7fe (patch)
treee8a1783aee2ffd9575a3b786890b2357988802ee /mail/exim-old
parentAdd pyPgSQL, a Python DB-API 2 compliant library for using PostgreSQL (diff)
Add the author's patch to fix a failure to reap children on BSD systems,
where SIG_IGN as the signal handler for SIGCHLD is bad. This is only an issue when a significant number of messages is received via pipe (e.g. with -bS) at a faster rate than they can be dealt with by parallel delivery agents (e.g. -odqs). Bump PORTREVISION to reflect the change. Obtained from: exim-users@exim.org Message-Id: Pine.SOL.4.33.0111021349170.19636-100000@virgo.cus.cam.ac.uk
Notes
Notes: svn path=/head/; revision=49513
Diffstat (limited to 'mail/exim-old')
-rw-r--r--mail/exim-old/Makefile2
-rw-r--r--mail/exim-old/files/patch-src::exim.c8
2 files changed, 9 insertions, 1 deletions
diff --git a/mail/exim-old/Makefile b/mail/exim-old/Makefile
index cd425afabe5d..9edb7afae006 100644
--- a/mail/exim-old/Makefile
+++ b/mail/exim-old/Makefile
@@ -7,7 +7,7 @@
PORTNAME= exim
PORTVERSION= 3.33
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= mail
MASTER_SITES= ftp://ftp.csx.cam.ac.uk/pub/software/email/exim/ \
http://www.exim.org/ftp/ \
diff --git a/mail/exim-old/files/patch-src::exim.c b/mail/exim-old/files/patch-src::exim.c
index e84e06bcff84..c16f4a861e8e 100644
--- a/mail/exim-old/files/patch-src::exim.c
+++ b/mail/exim-old/files/patch-src::exim.c
@@ -10,3 +10,11 @@
(list_queue && queue_list_requires_admin) ||
(queue_interval >= 0 && prod_requires_admin))
{
+@@ -3462,6 +3463,7 @@
+ }
+
+ /* The loop will repeat if more is TRUE. */
++ while (waitpid(-1, NULL, WNOHANG) > 0);
+ }
+
+ exim_exit(EXIT_SUCCESS); /* Never returns */