diff options
author | tron <tron@pkgsrc.org> | 2001-10-18 08:04:25 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2001-10-18 08:04:25 +0000 |
commit | 0fe62447701f0f2b88e9a9413cff09a55fb0774a (patch) | |
tree | 5b374c4db8223cfcba954f7131af3059b146ac94 | |
parent | 6ea6e3b42397c7c5073621ef53246b69136a4908 (diff) | |
download | pkgsrc-0fe62447701f0f2b88e9a9413cff09a55fb0774a.tar.gz |
Add fix for mutt bug#828 (mail transport agent invoked without stdout and
stderr) to proactively avoid error messages with sendmail 8.12.x.
-rw-r--r-- | mail/mutt-devel/distinfo | 3 | ||||
-rw-r--r-- | mail/mutt-devel/patches/patch-ad | 18 | ||||
-rw-r--r-- | mail/mutt/distinfo | 3 | ||||
-rw-r--r-- | mail/mutt/patches/patch-al | 18 |
4 files changed, 40 insertions, 2 deletions
diff --git a/mail/mutt-devel/distinfo b/mail/mutt-devel/distinfo index 39bbb8927ff..0eeaccce6de 100644 --- a/mail/mutt-devel/distinfo +++ b/mail/mutt-devel/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.5 2001/09/21 12:25:59 tron Exp $ +$NetBSD: distinfo,v 1.6 2001/10/18 08:04:26 tron Exp $ SHA1 (mutt-1.3.21i.tar.gz) = 4bf617c5fb8606841d0ffeb4dd5b6dfad9843d1f Size (mutt-1.3.21i.tar.gz) = 2475281 bytes SHA1 (patch-aa) = 8325c09e6ab9b43786571548359fa0be4f94d14c SHA1 (patch-ab) = 24984804280b5db991a2a471eba39506369add70 SHA1 (patch-ac) = 19225ed3e60de9772de5e7092f2cc67b804f0f86 +SHA1 (patch-ad) = 6516789c92fcbf11a8cb0da17cc67d4698e5f3ad diff --git a/mail/mutt-devel/patches/patch-ad b/mail/mutt-devel/patches/patch-ad new file mode 100644 index 00000000000..c383a5ea875 --- /dev/null +++ b/mail/mutt-devel/patches/patch-ad @@ -0,0 +1,18 @@ +$NetBSD: patch-ad,v 1.1 2001/10/18 08:04:26 tron Exp $ + +--- sendlib.c 2001/10/11 07:58:26 2.88 ++++ sendlib.c 2001/10/17 16:22:48 2.89 +@@ -1831,6 +1831,13 @@ + if (dup (1) < 0) + _exit (S_ERR); + } ++ else ++ { ++ if (open ("/dev/null", O_WRONLY | O_APPEND) < 0) /* stdout */ ++ _exit (S_ERR); ++ if (open ("/dev/null", O_RDWR | O_APPEND) < 0) /* stderr */ ++ _exit (S_ERR); ++ } + + execv (path, args); + _exit (S_ERR); diff --git a/mail/mutt/distinfo b/mail/mutt/distinfo index 39336fce37c..eee6a3cc0f2 100644 --- a/mail/mutt/distinfo +++ b/mail/mutt/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.4 2001/06/20 07:07:23 jlam Exp $ +$NetBSD: distinfo,v 1.5 2001/10/18 08:04:25 tron Exp $ SHA1 (mutt-1.2.5i.tar.gz) = a8eceff4693120da1d39f042f04668caa34deaa9 Size (mutt-1.2.5i.tar.gz) = 1973923 bytes @@ -13,3 +13,4 @@ SHA1 (patch-ah) = 36004ff9b20a3cf119c6163467f587c51a1d1e36 SHA1 (patch-ai) = f1a3c47666dd308e4d8938939a50a5553220f736 SHA1 (patch-aj) = 36f20c476b695bb88378aa02326bfdef77695111 SHA1 (patch-ak) = c71e21bdd2e5c194ee2f8f619737d3cc0b4c4d5c +SHA1 (patch-al) = 6516789c92fcbf11a8cb0da17cc67d4698e5f3ad diff --git a/mail/mutt/patches/patch-al b/mail/mutt/patches/patch-al new file mode 100644 index 00000000000..d52bb22e55c --- /dev/null +++ b/mail/mutt/patches/patch-al @@ -0,0 +1,18 @@ +$NetBSD: patch-al,v 1.3 2001/10/18 08:04:25 tron Exp $ + +--- sendlib.c 2001/10/11 07:58:26 2.88 ++++ sendlib.c 2001/10/17 16:22:48 2.89 +@@ -1831,6 +1831,13 @@ + if (dup (1) < 0) + _exit (S_ERR); + } ++ else ++ { ++ if (open ("/dev/null", O_WRONLY | O_APPEND) < 0) /* stdout */ ++ _exit (S_ERR); ++ if (open ("/dev/null", O_RDWR | O_APPEND) < 0) /* stderr */ ++ _exit (S_ERR); ++ } + + execv (path, args); + _exit (S_ERR); |