summaryrefslogtreecommitdiff
path: root/mail/sendmail
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2001-06-25 23:22:51 +0000
committerwiz <wiz@pkgsrc.org>2001-06-25 23:22:51 +0000
commit1466e3f198f47af9eae14b3ab69b7d4cc9e4dfb8 (patch)
treed66b89ccb297807a279fa9441828aea1d97ec34d /mail/sendmail
parent44d63611e7506036c46ee36ce88ba068550aa9fd (diff)
downloadpkgsrc-1466e3f198f47af9eae14b3ab69b7d4cc9e4dfb8.tar.gz
In some cases, SIGHUP may kill sendmail instead of restarting it.
Avoid this by using http://www.sendmail.org/~ca/email/patches/daemon.c.8.401.4.62 as proposed by Wolfgang Rupprecht in pkg/13267. (Added as patch-zz, should be removed on next update.)
Diffstat (limited to 'mail/sendmail')
-rw-r--r--mail/sendmail/distinfo3
-rw-r--r--mail/sendmail/patches/patch-zz15
2 files changed, 17 insertions, 1 deletions
diff --git a/mail/sendmail/distinfo b/mail/sendmail/distinfo
index b844cc1f088..44b7d77ed26 100644
--- a/mail/sendmail/distinfo
+++ b/mail/sendmail/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.3 2001/05/29 03:31:26 itojun Exp $
+$NetBSD: distinfo,v 1.4 2001/06/25 23:22:51 wiz Exp $
SHA1 (sendmail.8.11.4.tar.gz) = 81f586ef7ddcf3e55029742532694501e768b040
Size (sendmail.8.11.4.tar.gz) = 1356543 bytes
@@ -8,3 +8,4 @@ SHA1 (patch-ac) = bfb83dbd4209879f58b95f0328d68bb8e56ac119
SHA1 (patch-ad) = 93408922c222d5fe6a14cdd8a00060230a9195b9
SHA1 (patch-ae) = 5e3efecc7ac7ffed40278b3c29dd1152990f3b33
SHA1 (patch-af) = db9e5d94b1b1f4cd7e5c9f25b36772e90e2987fe
+SHA1 (patch-zz) = 85f3362fdb7175b9a4e31ea0e953c4dcb9f161e0
diff --git a/mail/sendmail/patches/patch-zz b/mail/sendmail/patches/patch-zz
new file mode 100644
index 00000000000..f3def2c35b2
--- /dev/null
+++ b/mail/sendmail/patches/patch-zz
@@ -0,0 +1,15 @@
+$NetBSD: patch-zz,v 1.1 2001/06/25 23:22:52 wiz Exp $
+
+From http://www.sendmail.org/~ca/email/patches/daemon.c.8.401.4.62,
+see pkg/13267.
+
+--- sendmail/daemon.c.orig Mon May 28 00:14:40 2001
++++ sendmail/daemon.c
+@@ -2528,6 +2528,7 @@
+ }
+
+ /* need to allow signals before execve() so make them harmless */
++ clear_events();
+ oalrm = setsignal(SIGALRM, SIG_DFL);
+ ochld = setsignal(SIGCHLD, SIG_DFL);
+ ohup = setsignal(SIGHUP, SIG_DFL);