aboutsummaryrefslogtreecommitdiffstats
path: root/mail/sendmail
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2002-06-04 02:44:16 +0800
committerdinoex <dinoex@FreeBSD.org>2002-06-04 02:44:16 +0800
commit7a6b835d2ebf0076a6731250277494be03eaea21 (patch)
tree3a31a42dc231dd958219b76e89ab7772f70cc5b2 /mail/sendmail
parent58fded252518f38d16b573aca271515f0562e645 (diff)
downloadfreebsd-ports-gnome-7a6b835d2ebf0076a6731250277494be03eaea21.tar.gz
freebsd-ports-gnome-7a6b835d2ebf0076a6731250277494be03eaea21.tar.zst
freebsd-ports-gnome-7a6b835d2ebf0076a6731250277494be03eaea21.zip
- Update to: sendmail.8.12.4
- patch-stable is now in distribution
Diffstat (limited to 'mail/sendmail')
-rw-r--r--mail/sendmail/Makefile3
-rw-r--r--mail/sendmail/distinfo2
-rw-r--r--mail/sendmail/files/patch-stable135
-rw-r--r--mail/sendmail/files/site.config.m4.tls1
4 files changed, 3 insertions, 138 deletions
diff --git a/mail/sendmail/Makefile b/mail/sendmail/Makefile
index 68c930b64d97..fb9f76c417c0 100644
--- a/mail/sendmail/Makefile
+++ b/mail/sendmail/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= sendmail
-PORTVERSION= 8.12.3
-PORTREVISION= 1
+PORTVERSION= 8.12.4
CATEGORIES= mail ipv6
MASTER_SITES= ftp://ftp.sendmail.org/pub/sendmail/ \
${MASTER_SITE_RINGSERVER:S,%SUBDIR%,net/mail/sendmail/&,}
diff --git a/mail/sendmail/distinfo b/mail/sendmail/distinfo
index 363717bc73bb..167de62de4d8 100644
--- a/mail/sendmail/distinfo
+++ b/mail/sendmail/distinfo
@@ -1 +1 @@
-MD5 (sendmail.8.12.3.tar.gz) = 5f376123cf75b51d95b9ca4caf386fdb
+MD5 (sendmail.8.12.4.tar.gz) = 74121c90862fecafb3db69dc144fc910
diff --git a/mail/sendmail/files/patch-stable b/mail/sendmail/files/patch-stable
deleted file mode 100644
index f077974ae0e4..000000000000
--- a/mail/sendmail/files/patch-stable
+++ /dev/null
@@ -1,135 +0,0 @@
---- cf/m4/proto.m4 2002/04/02 23:42:42 8.639
-+++ cf/m4/proto.m4 2002/04/16 21:21:26 8.640
-@@ -1204,6 +1204,7 @@
- R$+ $| $| $: $(macro {Host} $@ $) $1 no h or {Host}
- R$+ $| $| $+ $: $1 h not set, {Host} set
- R$+ $| +$* $| $* $: $1 h is +detail, {Host} set
-+R$+ $| $* @ $+ $| $* $: $(macro {Host} $@ @$3 $) $1 set {Host} to host in h
- R$+ $| $+ $| $* $: $(macro {Host} $@ @$2 $) $1 set {Host} to h
- ')dnl
-
---- include/sm/os/sm_os_freebsd.h 2002/03/10 22:41:03 1.10
-+++ include/sm/os/sm_os_freebsd.h 2002/04/15 17:17:05 1.11
-@@ -31,11 +31,7 @@
- #endif
-
- #ifndef SM_CONF_SHM
--# ifdef __sparc64__
--# define SM_CONF_SHM 0
--# else /* __sparc64__ */
--# define SM_CONF_SHM 1
--# endif /* __sparc64__ */
-+# define SM_CONF_SHM 1
- #endif /* SM_CONF_SHM */
- #ifndef SM_CONF_SEM
- # define SM_CONF_SEM 1
---- sendmail/mailq.1 2000/12/23 19:37:48 8.18
-+++ sendmail/mailq.1 2002/04/12 05:07:58 8.19
-@@ -18,5 +18,6 @@
- .SH SYNOPSIS
- .B mailq
-+.RB [ \-Ac ]
- .RB [ \-v ]
- .SH DESCRIPTION
- .B Mailq
-@@ -45,7 +46,13 @@
- .B Mailq
- is identical to ``sendmail -bp''.
- .PP
--The options are as follows:
-+The relevant options are as follows:
-+.TP
-+.B \-Ac
-+Show the mail submission queue specified in
-+.I /etc/mail/submit.cf
-+instead of the MTA queue specified in
-+.IR /etc/mail/sendmail.cf .
- .TP
- .B \-v
- Print verbose information.
---- sendmail/main.c 2002/02/27 23:49:52 8.876
-+++ sendmail/main.c 2002/04/11 02:51:38 8.877
-@@ -726,6 +726,8 @@
- (void) sm_signal(SIGPIPE, SIG_IGN);
- OldUmask = umask(022);
- FullName = getextenv("NAME");
-+ if (FullName != NULL)
-+ FullName = newstr(FullName);
-
- /*
- ** Initialize name server if it is going to be used.
---- sendmail/milter.c 2002/03/05 00:23:47 8.194
-+++ sendmail/milter.c 2002/04/14 03:55:07 8.196
-@@ -1737,6 +1737,7 @@
- int mid;
- char *v;
- char *buf, *bp;
-+ char exp[MAXLINE];
- ssize_t s;
-
- /* sanity check */
-@@ -1753,7 +1754,8 @@
- v = macvalue(mid, e);
- if (v == NULL)
- continue;
-- s += strlen(macros[i]) + 1 + strlen(v) + 1;
-+ expand(v, exp, sizeof(exp), e);
-+ s += strlen(macros[i]) + 1 + strlen(exp) + 1;
- }
-
- if (s < 0)
-@@ -1770,14 +1772,15 @@
- v = macvalue(mid, e);
- if (v == NULL)
- continue;
-+ expand(v, exp, sizeof(exp), e);
-
- if (tTd(64, 10))
- sm_dprintf("milter_send_macros(%s, %c): %s=%s\n",
-- m->mf_name, cmd, macros[i], v);
-+ m->mf_name, cmd, macros[i], exp);
-
- (void) sm_strlcpy(bp, macros[i], s - (bp - buf));
- bp += strlen(bp) + 1;
-- (void) sm_strlcpy(bp, v, s - (bp - buf));
-+ (void) sm_strlcpy(bp, exp, s - (bp - buf));
- bp += strlen(bp) + 1;
- }
- (void) milter_write(m, SMFIC_MACRO, buf, s,
-@@ -2900,8 +2903,6 @@
- {
- int err;
-
--# if NOFTRUNCATE
-- /* XXX: Not much we can do except rewind it */
- err = sm_io_error(e->e_dfp);
- (void) sm_io_flush(e->e_dfp, SM_TIME_DEFAULT);
-
-@@ -2917,16 +2918,26 @@
- /* errno is set implicitly by fseek() before return */
- err = sm_io_seek(e->e_dfp, SM_TIME_DEFAULT,
- 0, SEEK_SET);
-+ if (err < 0)
-+ {
-+ MILTER_DF_ERROR("milter_replbody: sm_io_seek %s: %s");
-+ return -1;
-+ }
-+# if NOFTRUNCATE
-+ /* XXX: Not much we can do except rewind it */
-+ errno = EINVAL;
-+ MILTER_DF_ERROR("milter_replbody: ftruncate not available on this platform (%s:%s)");
-+ return -1;
- # else /* NOFTRUNCATE */
- err = ftruncate(sm_io_getinfo(e->e_dfp,
- SM_IO_WHAT_FD, NULL),
- 0);
--# endif /* NOFTRUNCATE */
- if (err < 0)
- {
- MILTER_DF_ERROR("milter_replbody: sm_io ftruncate %s: %s");
- return -1;
- }
-+# endif /* NOFTRUNCATE */
- }
-
- if (prevsize > e->e_msgsize)
diff --git a/mail/sendmail/files/site.config.m4.tls b/mail/sendmail/files/site.config.m4.tls
index e310d3fc3601..16e2e2b2301a 100644
--- a/mail/sendmail/files/site.config.m4.tls
+++ b/mail/sendmail/files/site.config.m4.tls
@@ -1,3 +1,4 @@
APPENDDEF(`conf_sendmail_ENVDEF', `-DSTARTTLS')
APPENDDEF(`conf_sendmail_ENVDEF', `-D_FFR_TLS_1')
+APPENDDEF(`conf_sendmail_ENVDEF', `-D_FFR_SSL')
APPENDDEF(`conf_sendmail_LIBS', `-lssl -lcrypto')