diff options
author | tv <tv> | 2006-09-05 20:01:37 +0000 |
---|---|---|
committer | tv <tv> | 2006-09-05 20:01:37 +0000 |
commit | d26132d11c899f5824c2e9947d9b3dfe42273a38 (patch) | |
tree | bbf68ed7004c58df077b5192844f4555bd034417 /mail | |
parent | b4383224059b048e670e365d3173c8488dd9c3fa (diff) | |
download | pkgsrc-d26132d11c899f5824c2e9947d9b3dfe42273a38.tar.gz |
nb1: Add patch at http://www.sendmail.org/patches/client_name.assert.p0.
Non-critical, but could cause problems if "sendmail -bs" is used in
conjunction with milters.
Diffstat (limited to 'mail')
-rw-r--r-- | mail/sendmail/Makefile | 3 | ||||
-rw-r--r-- | mail/sendmail/distinfo | 3 | ||||
-rw-r--r-- | mail/sendmail/patches/patch-ak | 23 |
3 files changed, 27 insertions, 2 deletions
diff --git a/mail/sendmail/Makefile b/mail/sendmail/Makefile index 72007f3a1ec..09002acda9c 100644 --- a/mail/sendmail/Makefile +++ b/mail/sendmail/Makefile @@ -1,8 +1,9 @@ -# $NetBSD: Makefile,v 1.91 2006/07/07 18:06:27 tv Exp $ +# $NetBSD: Makefile,v 1.92 2006/09/05 20:01:37 tv Exp $ .include "../../mail/sendmail/Makefile.common" PKGNAME= sendmail-${DIST_VERS} +PKGREVISION= 1 COMMENT= The well known Mail Transport Agent CONFLICTS+= courier-mta-[0-9]* fastforward>=0.51nb2 postfix-[0-9]* diff --git a/mail/sendmail/distinfo b/mail/sendmail/distinfo index 0eeb9c7ee6f..7ab2af0d2e4 100644 --- a/mail/sendmail/distinfo +++ b/mail/sendmail/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.32 2006/08/09 21:23:00 tv Exp $ +$NetBSD: distinfo,v 1.33 2006/09/05 20:01:37 tv Exp $ SHA1 (sendmail.8.13.8.tar.gz) = 8e97c10f52efe5204c08f6cb3f90c08e077ac505 RMD160 (sendmail.8.13.8.tar.gz) = a5d333b073d681f056421e836df4067f331a8ac8 @@ -13,3 +13,4 @@ SHA1 (patch-ag) = 672c3e8a0c897f2c721d45393d85d4ea819d55a6 SHA1 (patch-ah) = e6be09008b9230ffdd1560aaacbdbb2ee4fb8028 SHA1 (patch-ai) = 8ade5888074ad9a328f87d66836c04eacf7785d5 SHA1 (patch-aj) = e65e6fe44380de2f9c397c1a97677eb4ad285433 +SHA1 (patch-ak) = 43b26ff1c78d4360909455124a382f65394377b3 diff --git a/mail/sendmail/patches/patch-ak b/mail/sendmail/patches/patch-ak new file mode 100644 index 00000000000..5a6e15b3976 --- /dev/null +++ b/mail/sendmail/patches/patch-ak @@ -0,0 +1,23 @@ +$NetBSD: patch-ak,v 1.5 2006/09/05 20:01:37 tv Exp $ + +From: http://www.sendmail.org/patches/client_name.assert.p0 +(file path fixed to be relative to source top) + +Index: srvrsmtp.c +=================================================================== +RCS file: /cvs/sendmail/srvrsmtp.c,v +retrieving revision 8.948 +diff -u -r8.948 srvrsmtp.c +--- sendmail/srvrsmtp.c 15 Aug 2006 23:24:58 -0000 8.948 ++++ sendmail/srvrsmtp.c 24 Aug 2006 16:47:19 -0000 +@@ -945,7 +945,9 @@ + char *response; + + q = macvalue(macid("{client_name}"), e); +- SM_ASSERT(q != NULL); ++ SM_ASSERT(q != NULL || OpMode == MD_SMTP); ++ if (q == NULL) ++ q = "localhost"; + response = milter_connect(q, RealHostAddr, e, &state); + switch (state) + { |