git: f2e3d004be79 - main - mail/sendmail-devel: update to 8.19.0.1
Dirk Meyer <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.cvs.ports |
|---|---|
| Message-ID | <[email protected]> |
The branch main has been updated by dinoex: URL: https://cgit.FreeBSD.org/ports/commit/?id=f2e3d004be79fd85dfbaf636aec60fc1c3138567 commit f2e3d004be79fd85dfbaf636aec60fc1c3138567 Author: Dirk Meyer <[email protected]> AuthorDate: 2026-08-14 10:15:51 +0000 Commit: Dirk Meyer <[email protected]> CommitDate: 2026-08-14 10:15:51 +0000 mail/sendmail-devel: update to 8.19.0.1 --- mail/sendmail-devel/Makefile | 2 +- mail/sendmail-devel/distinfo | 6 +++--- mail/sendmail-devel/files/patch-daemon.c | 4 ++-- mail/sendmail-devel/files/patch-mail.local.c | 18 +++++++++--------- mail/sendmail-devel/files/patch-readcf.c | 6 +++--- mail/sendmail-devel/files/patch-srvrsmtp.c | 24 ++++++++++++------------ mail/sendmail-devel/files/patch-usersmtp.c | 6 +++--- 7 files changed, 33 insertions(+), 33 deletions(-) diff --git a/mail/sendmail-devel/Makefile b/mail/sendmail-devel/Makefile index cc2d15d535f5..e0365a42f894 100644 --- a/mail/sendmail-devel/Makefile +++ b/mail/sendmail-devel/Makefile @@ -1,5 +1,5 @@ PORTNAME= sendmail -PORTVERSION= 8.19.0.0 +PORTVERSION= 8.19.0.1 PORTREVISION= 0 CATEGORIES= mail MASTER_SITES= ftp://ftp.sendmail.org/pub/sendmail/snapshots/ diff --git a/mail/sendmail-devel/distinfo b/mail/sendmail-devel/distinfo index 6eeb076fd8dd..d8bc53005677 100644 --- a/mail/sendmail-devel/distinfo +++ b/mail/sendmail-devel/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1774941699 -SHA256 (sendmail.8.19.0.0.tar.gz) = 6f5137a447994c6a95c060d7b059f5370eaab75c935c351b86a37c81feb2868c -SIZE (sendmail.8.19.0.0.tar.gz) = 2379422 +TIMESTAMP = 1777224776 +SHA256 (sendmail.8.19.0.1.tar.gz) = 95a4eff7a0c63167db9504b7d986c732406dfa421ef4d6de3fab5baea79fa931 +SIZE (sendmail.8.19.0.1.tar.gz) = 2373351 diff --git a/mail/sendmail-devel/files/patch-daemon.c b/mail/sendmail-devel/files/patch-daemon.c index e54ebba2b960..a41e501d5b1c 100644 --- a/mail/sendmail-devel/files/patch-daemon.c +++ b/mail/sendmail-devel/files/patch-daemon.c @@ -1,6 +1,6 @@ ---- sendmail/daemon.c.orig 2026-03-09 16:19:10 UTC +--- sendmail/daemon.c.orig 2026-04-20 17:18:50 UTC +++ sendmail/daemon.c -@@ -781,6 +781,8 @@ getrequests(ENVELOPE *e) +@@ -776,6 +776,8 @@ getrequests(ENVELOPE *e) anynet_ntoa(&RealHostAddr)); } diff --git a/mail/sendmail-devel/files/patch-mail.local.c b/mail/sendmail-devel/files/patch-mail.local.c index 95201e1c8725..7e7059177f59 100644 --- a/mail/sendmail-devel/files/patch-mail.local.c +++ b/mail/sendmail-devel/files/patch-mail.local.c @@ -1,4 +1,4 @@ ---- mail.local/mail.local.c.orig 2026-03-09 16:19:10 UTC +--- mail.local/mail.local.c.orig 2026-03-17 06:40:58 UTC +++ mail.local/mail.local.c @@ -154,6 +154,8 @@ bool BounceQuota = false; /* permanent error when ove bool HoldErrs = false; /* Hold errors in ErrBuf */ @@ -9,7 +9,7 @@ bool CloseMBDB = false; char *HomeMailFile = NULL; /* store mail in homedir */ -@@ -234,12 +236,12 @@ main(int argc, char *argv[]) +@@ -232,12 +234,12 @@ main(int argc, char *argv[]) /* HACK: add U to all options - this should be only for USE_EAI */ #if HASHSPOOL @@ -25,7 +25,7 @@ # endif #endif /* HASHSPOOL */ { -@@ -249,6 +251,10 @@ main(int argc, char *argv[]) +@@ -247,6 +249,10 @@ main(int argc, char *argv[]) EightBitMime = false; break; @@ -36,7 +36,7 @@ case 'b': /* bounce mail when over quota. */ BounceQuota = true; break; -@@ -358,6 +364,10 @@ main(int argc, char *argv[]) +@@ -356,6 +362,10 @@ main(int argc, char *argv[]) #endif break; @@ -47,7 +47,7 @@ case '?': default: usage(); -@@ -367,7 +377,8 @@ main(int argc, char *argv[]) +@@ -365,7 +375,8 @@ main(int argc, char *argv[]) argv += optind; /* initialize biff structures */ @@ -57,7 +57,7 @@ err = sm_mbdb_initialize(mbdbname); if (err != EX_OK) -@@ -1290,6 +1301,7 @@ tryagain: +@@ -1288,6 +1299,7 @@ tryagain: /* Get the starting offset of the new message */ curoff = lseek(mbfd, (off_t) 0, SEEK_END); @@ -65,7 +65,7 @@ (void) sm_snprintf(biffmsg, sizeof(biffmsg), "%s@%lld\n", name, (LONGLONG_T) curoff); -@@ -1352,7 +1364,7 @@ tryagain: +@@ -1350,7 +1362,7 @@ tryagain: } /* Flush to disk, don't wait for update. */ @@ -74,7 +74,7 @@ { mailerr("450 4.2.0", "Sync %s: %s", path, sm_errstring(errno)); err3: -@@ -1423,7 +1435,7 @@ err0: +@@ -1421,7 +1433,7 @@ err0: /* Attempt to truncate back to pre-write size */ goto err3; } @@ -83,7 +83,7 @@ notifybiff(biffmsg); if ( -@@ -1604,9 +1616,9 @@ usage(void) +@@ -1602,9 +1614,9 @@ usage(void) { /* XXX add U to options for USE_EAI */ #if _FFR_SPOOL_PATH diff --git a/mail/sendmail-devel/files/patch-readcf.c b/mail/sendmail-devel/files/patch-readcf.c index 396ce1e53f42..d4af9ce93a13 100644 --- a/mail/sendmail-devel/files/patch-readcf.c +++ b/mail/sendmail-devel/files/patch-readcf.c @@ -1,6 +1,6 @@ ---- sendmail/readcf.c.orig 2026-03-09 16:19:10 UTC +--- sendmail/readcf.c.orig 2026-04-20 17:18:50 UTC +++ sendmail/readcf.c -@@ -3175,6 +3175,11 @@ static struct optioninfo +@@ -3172,6 +3172,11 @@ static struct optioninfo { "SameDomainOnly", O_SAMEDOMAINONLY, OI_NONE }, #endif @@ -12,7 +12,7 @@ { NULL, '\0', OI_NONE } }; -@@ -4901,6 +4906,12 @@ setoption(int opt, char *val, bool safe, bool sticky, +@@ -4898,6 +4903,12 @@ setoption(int opt, char *val, bool safe, bool sticky, #if _FFR_MTA_STS case O_MTASTS: StrictTransportSecurity = atobool(val); diff --git a/mail/sendmail-devel/files/patch-srvrsmtp.c b/mail/sendmail-devel/files/patch-srvrsmtp.c index bac80896f9c9..3069a5333691 100644 --- a/mail/sendmail-devel/files/patch-srvrsmtp.c +++ b/mail/sendmail-devel/files/patch-srvrsmtp.c @@ -1,6 +1,6 @@ ---- sendmail/srvrsmtp.c.orig 2026-03-09 16:19:10 UTC +--- sendmail/srvrsmtp.c.orig 2026-04-20 17:18:50 UTC +++ sendmail/srvrsmtp.c -@@ -932,6 +932,9 @@ do \ +@@ -930,6 +930,9 @@ do \ # define SHOWCMDINREPLY(inp) inp # define SHOWSHRTCMDINREPLY(inp) shortenstring(inp, MAXSHORTSTR) #endif @@ -10,7 +10,7 @@ void smtp(char *volatile nullserver, BITMAP256 d_flags, -@@ -1523,6 +1526,8 @@ smtp(char *volatile nullserver, BITMAP256 d_flags, +@@ -1521,6 +1524,8 @@ smtp(char *volatile nullserver, BITMAP256 d_flags, /* check if data is on the socket during the pause */ if ((tp = channel_readable(InChannel, msecs)) != NULL) { @@ -19,7 +19,7 @@ greetcode = "554"; nullserver = "Command rejected"; sm_syslog(LOG_INFO, e->e_id, -@@ -1532,6 +1537,8 @@ smtp(char *volatile nullserver, BITMAP256 d_flags, +@@ -1530,6 +1535,8 @@ smtp(char *volatile nullserver, BITMAP256 d_flags, (int) tp->tv_sec + (tp->tv_usec >= 500000 ? 1 : 0) ); @@ -28,7 +28,7 @@ } } } -@@ -1651,6 +1658,10 @@ smtp(char *volatile nullserver, BITMAP256 d_flags, +@@ -1649,6 +1656,10 @@ smtp(char *volatile nullserver, BITMAP256 d_flags, SmtpPhase = "server cmd read"; sm_setproctitle(true, e, "server %s cmd read", CurSmtpClient); @@ -39,7 +39,7 @@ /* handle errors */ if (sm_io_error(OutChannel) || (p = sfgets(inp, sizeof(inp), InChannel, -@@ -1966,8 +1977,11 @@ smtp(char *volatile nullserver, BITMAP256 d_flags, +@@ -1964,8 +1975,11 @@ smtp(char *volatile nullserver, BITMAP256 d_flags, #define LOGAUTHFAIL \ do \ { \ @@ -51,7 +51,7 @@ if (LogLevel >= 9) \ sm_syslog(LOG_WARNING, e->e_id, \ "AUTH failure (%s): %s (%d) %s%s%.*s, relay=%.100s", \ -@@ -2066,6 +2080,13 @@ smtp(char *volatile nullserver, BITMAP256 d_flags, +@@ -2064,6 +2078,13 @@ smtp(char *volatile nullserver, BITMAP256 d_flags, case CMDEHLO: case CMDNOOP: case CMDRSET: @@ -65,7 +65,7 @@ case CMDERROR: /* process normally */ break; -@@ -2093,6 +2114,11 @@ smtp(char *volatile nullserver, BITMAP256 d_flags, +@@ -2091,6 +2112,11 @@ smtp(char *volatile nullserver, BITMAP256 d_flags, #endif /* MAXBADCOMMANDS > 0 */ if (nullserver != NULL) { @@ -77,7 +77,7 @@ if (ISSMTPREPLY(nullserver)) { /* Can't use ("%s", ...) due to usrerr() requirements */ -@@ -2117,6 +2143,9 @@ smtp(char *volatile nullserver, BITMAP256 d_flags, +@@ -2115,6 +2141,9 @@ smtp(char *volatile nullserver, BITMAP256 d_flags, DELAY_CONN("AUTH"); if (!sasl_ok || n_mechs <= 0) { @@ -87,7 +87,7 @@ message("503 5.3.3 AUTH not available"); break; } -@@ -3906,10 +3935,17 @@ smtp(char *volatile nullserver, BITMAP256 d_flags, +@@ -3904,10 +3933,17 @@ smtp(char *volatile nullserver, BITMAP256 d_flags, ** timeouts for the same connection. */ @@ -105,7 +105,7 @@ if (tTd(93, 100)) { /* return to handle next connection */ -@@ -3991,7 +4027,10 @@ smtp(char *volatile nullserver, BITMAP256 d_flags, +@@ -3989,7 +4025,10 @@ smtp(char *volatile nullserver, BITMAP256 d_flags, #if MAXBADCOMMANDS > 0 if (++n_badcmds > MAXBADCOMMANDS) { @@ -116,7 +116,7 @@ message("421 4.7.0 %s Too many bad commands; closing connection", MyHostName); -@@ -4045,6 +4084,9 @@ smtp(char *volatile nullserver, BITMAP256 d_flags, +@@ -4043,6 +4082,9 @@ smtp(char *volatile nullserver, BITMAP256 d_flags, } #if SASL } diff --git a/mail/sendmail-devel/files/patch-usersmtp.c b/mail/sendmail-devel/files/patch-usersmtp.c index 6794c0534c09..421bdb9c6053 100644 --- a/mail/sendmail-devel/files/patch-usersmtp.c +++ b/mail/sendmail-devel/files/patch-usersmtp.c @@ -1,6 +1,6 @@ ---- sendmail/usersmtp.c.orig 2026-03-09 16:19:10 UTC +--- sendmail/usersmtp.c.orig 2026-04-20 17:18:50 UTC +++ sendmail/usersmtp.c -@@ -1894,6 +1894,9 @@ attemptauth(MAILER *m, MCI *mci, ENVELOPE *e, SASL_AI_ +@@ -1881,6 +1881,9 @@ attemptauth(MAILER *m, MCI *mci, ENVELOPE *e, SASL_AI_ if (saslresult != SASL_OK && saslresult != SASL_CONTINUE) { @@ -10,7 +10,7 @@ if (tTd(95, 5)) sm_dprintf("AUTH FAIL=%s (%d)\n", sasl_errstring(saslresult, NULL, NULL), -@@ -2036,9 +2039,11 @@ smtpauth(MAILER *m, MCI *mci, ENVELOPE *e) +@@ -2023,9 +2026,11 @@ smtpauth(MAILER *m, MCI *mci, ENVELOPE *e) do { result = attemptauth(m, mci, e, &(mci->mci_sai));