diff options
author | dinoex <dinoex@FreeBSD.org> | 2003-01-02 12:10:20 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2003-01-02 12:10:20 +0800 |
commit | 6bcc8ae28c4307dfae7f417ca5ac072bff55d755 (patch) | |
tree | 24778a61e85a28360983384e11df5c85ef135ae1 /mail/sendmail | |
parent | c0d6bce6225afbcf98a28d2dffbe6cc9337e3022 (diff) | |
download | freebsd-ports-gnome-6bcc8ae28c4307dfae7f417ca5ac072bff55d755.tar.gz freebsd-ports-gnome-6bcc8ae28c4307dfae7f417ca5ac072bff55d755.tar.zst freebsd-ports-gnome-6bcc8ae28c4307dfae7f417ca5ac072bff55d755.zip |
- remove libsm.a libsmutil.a libsmdb.a
- add some patches submitted by Stephane Lentz,
from http://www.sendmail.org/~ca/email/sm-812.html
- If you use Cyrus-SASLv2 and DIGEST-MD5 then transferring larger messages
- MSP might complain during a queue run about "MX list for ... points back to ...".
Diffstat (limited to 'mail/sendmail')
-rw-r--r-- | mail/sendmail/Makefile | 5 | ||||
-rw-r--r-- | mail/sendmail/files/patch-recipient.c | 11 | ||||
-rw-r--r-- | mail/sendmail/files/patch-sfsasl.c | 23 | ||||
-rw-r--r-- | mail/sendmail/files/pkg-milter | 3 |
4 files changed, 35 insertions, 7 deletions
diff --git a/mail/sendmail/Makefile b/mail/sendmail/Makefile index 0526b5ec91e9..5d3a8dfd1c97 100644 --- a/mail/sendmail/Makefile +++ b/mail/sendmail/Makefile @@ -7,7 +7,7 @@ PORTNAME= sendmail PORTVERSION= 8.12.6 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= mail ipv6 MASTER_SITES= ftp://ftp.sendmail.org/pub/sendmail/ \ ${MASTER_SITE_RINGSERVER:S,%SUBDIR%,net/mail/sendmail/&,} @@ -148,9 +148,6 @@ post-install: ${PREFIX}/include/libmilter/ ${INSTALL_DATA} \ ${WRKSRC}/obj.`${WRKSRC}/devtools/bin/Build -A`/libmilter/libmilter.a \ - ${WRKSRC}/obj.`${WRKSRC}/devtools/bin/Build -A`/libsm/libsm.a \ - ${WRKSRC}/obj.`${WRKSRC}/devtools/bin/Build -A`/libsmutil/libsmutil.a \ - ${WRKSRC}/obj.`${WRKSRC}/devtools/bin/Build -A`/libsmdb/libsmdb.a \ ${PREFIX}/lib/ .endif .if exists(${DESTDIR}/etc/mail/mailer.conf) diff --git a/mail/sendmail/files/patch-recipient.c b/mail/sendmail/files/patch-recipient.c new file mode 100644 index 000000000000..bad745c91557 --- /dev/null +++ b/mail/sendmail/files/patch-recipient.c @@ -0,0 +1,11 @@ +--- sendmail/recipient.c 29 May 2002 18:20:03 -0000 8.330 ++++ sendmail/recipient.c 27 Aug 2002 20:21:02 -0000 8.330.2.1 +@@ -679,7 +679,7 @@ + ** the current recipient is marked expensive. + */ + +- if (WILL_BE_QUEUED(e->e_sendmode) || ++ if (UseMSP || WILL_BE_QUEUED(e->e_sendmode) || + (!bitset(EF_SPLIT, e->e_flags) && e->e_ntries == 0 && + FastSplit > 0)) + sortfn = sorthost; diff --git a/mail/sendmail/files/patch-sfsasl.c b/mail/sendmail/files/patch-sfsasl.c new file mode 100644 index 000000000000..7cd5d0b29c16 --- /dev/null +++ b/mail/sendmail/files/patch-sfsasl.c @@ -0,0 +1,23 @@ +--- sendmail/sfsasl.c 27 Aug 2002 01:35:17 -0000 8.91.2.1 ++++ sendmail/sfsasl.c 12 Sep 2002 21:07:50 -0000 8.91.2.2 +@@ -182,7 +182,7 @@ + int result; + ssize_t len; + # if SASL >= 20000 +- const char *outbuf = NULL; ++ static const char *outbuf = NULL; + # else /* SASL >= 20000 */ + static char *outbuf = NULL; + # endif /* SASL >= 20000 */ +@@ -199,7 +199,11 @@ + ** if necessary. + */ + ++# if SASL >= 20000 ++ while (outlen == 0) ++# else /* SASL >= 20000 */ + while (outbuf == NULL && outlen == 0) ++# endif /* SASL >= 20000 */ + { + len = sm_io_read(so->fp, SM_TIME_DEFAULT, buf, size); + if (len <= 0) diff --git a/mail/sendmail/files/pkg-milter b/mail/sendmail/files/pkg-milter index 7e4bab67915c..374de6278e90 100644 --- a/mail/sendmail/files/pkg-milter +++ b/mail/sendmail/files/pkg-milter @@ -1,9 +1,6 @@ include/libmilter/mfapi.h include/libmilter/mfdef.h lib/libmilter.a -lib/libsm.a -lib/libsmutil.a -lib/libsmdb.a @dirrm include/libmilter %%PORTDOCS%%share/doc/sendmail/MILTER %%PORTDOCS%%share/doc/sendmail/libmilter/api.html |