mirror of
https://git.freebsd.org/ports.git
synced 2026-06-02 11:08:52 +00:00
mail/sendmail-devel: update to 8.19.0.0
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
PORTNAME= sendmail
|
||||
PORTVERSION= 8.18.1.16
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 8.19.0.0
|
||||
PORTREVISION= 0
|
||||
CATEGORIES= mail
|
||||
MASTER_SITES= ftp://ftp.sendmail.org/pub/sendmail/snapshots/
|
||||
PKGNAMESUFFIX?= -devel${PKGNAMESUFFIX2}
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1764492137
|
||||
SHA256 (sendmail.8.18.1.16.tar.gz) = a55ea1ab12f5f62081feae3adf911f119fb0437930da603d2b91324d0d1c61b9
|
||||
SIZE (sendmail.8.18.1.16.tar.gz) = 2372700
|
||||
TIMESTAMP = 1774941699
|
||||
SHA256 (sendmail.8.19.0.0.tar.gz) = 6f5137a447994c6a95c060d7b059f5370eaab75c935c351b86a37c81feb2868c
|
||||
SIZE (sendmail.8.19.0.0.tar.gz) = 2379422
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
--- sendmail/daemon.c.orig 2023-10-27 05:47:26 UTC
|
||||
--- sendmail/daemon.c.orig 2026-03-09 16:19:10 UTC
|
||||
+++ sendmail/daemon.c
|
||||
@@ -782,6 +782,8 @@ getrequests(e)
|
||||
@@ -781,6 +781,8 @@ getrequests(ENVELOPE *e)
|
||||
anynet_ntoa(&RealHostAddr));
|
||||
}
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
--- mail.local/mail.local.c.orig 2025-06-27 17:57:30 UTC
|
||||
--- mail.local/mail.local.c.orig 2026-03-09 16:19:10 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 */
|
||||
|
||||
@@ -237,12 +239,12 @@ main(argc, argv)
|
||||
@@ -234,12 +236,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 */
|
||||
{
|
||||
@@ -252,6 +254,10 @@ main(argc, argv)
|
||||
@@ -249,6 +251,10 @@ main(int argc, char *argv[])
|
||||
EightBitMime = false;
|
||||
break;
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
case 'b': /* bounce mail when over quota. */
|
||||
BounceQuota = true;
|
||||
break;
|
||||
@@ -361,6 +367,10 @@ main(argc, argv)
|
||||
@@ -358,6 +364,10 @@ main(int argc, char *argv[])
|
||||
#endif
|
||||
break;
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
case '?':
|
||||
default:
|
||||
usage();
|
||||
@@ -370,7 +380,8 @@ main(argc, argv)
|
||||
@@ -367,7 +377,8 @@ main(int argc, char *argv[])
|
||||
argv += optind;
|
||||
|
||||
/* initialize biff structures */
|
||||
@@ -57,7 +57,7 @@
|
||||
|
||||
err = sm_mbdb_initialize(mbdbname);
|
||||
if (err != EX_OK)
|
||||
@@ -1300,6 +1311,7 @@ tryagain:
|
||||
@@ -1290,6 +1301,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);
|
||||
|
||||
@@ -1362,7 +1374,7 @@ tryagain:
|
||||
@@ -1352,7 +1364,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:
|
||||
@@ -1433,7 +1445,7 @@ err0:
|
||||
@@ -1423,7 +1435,7 @@ err0:
|
||||
/* Attempt to truncate back to pre-write size */
|
||||
goto err3;
|
||||
}
|
||||
@@ -83,7 +83,7 @@
|
||||
notifybiff(biffmsg);
|
||||
|
||||
if (
|
||||
@@ -1617,9 +1629,9 @@ usage()
|
||||
@@ -1604,9 +1616,9 @@ usage(void)
|
||||
{
|
||||
/* XXX add U to options for USE_EAI */
|
||||
#if _FFR_SPOOL_PATH
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
--- sendmail/readcf.c.orig 2025-10-23 19:33:31 UTC
|
||||
--- sendmail/readcf.c.orig 2026-03-09 16:19:10 UTC
|
||||
+++ sendmail/readcf.c
|
||||
@@ -3213,6 +3213,11 @@ static struct optioninfo
|
||||
@@ -3175,6 +3175,11 @@ static struct optioninfo
|
||||
{ "SameDomainOnly", O_SAMEDOMAINONLY, OI_NONE },
|
||||
#endif
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
{ NULL, '\0', OI_NONE }
|
||||
};
|
||||
|
||||
@@ -4944,6 +4948,12 @@ setoption(opt, val, safe, sticky, e)
|
||||
@@ -4901,6 +4906,12 @@ setoption(int opt, char *val, bool safe, bool sticky,
|
||||
#if _FFR_MTA_STS
|
||||
case O_MTASTS:
|
||||
StrictTransportSecurity = atobool(val);
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
--- rmail/rmail.c.orig 2014-03-05 00:59:45 UTC
|
||||
--- rmail/rmail.c.orig 2026-03-09 16:19:10 UTC
|
||||
+++ rmail/rmail.c
|
||||
@@ -276,7 +276,11 @@ main(argc, argv)
|
||||
@@ -273,7 +273,11 @@ main(int argc, char *argv[])
|
||||
args[i++] = _PATH_SENDMAIL; /* Build sendmail's argument list. */
|
||||
args[i++] = "-G"; /* relay submission */
|
||||
args[i++] = "-oee"; /* No errors, just status. */
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
--- sendmail/sendmail.h.orig 2025-10-23 19:33:31 UTC
|
||||
--- sendmail/sendmail.h.orig 2025-11-26 16:02:45 UTC
|
||||
+++ sendmail/sendmail.h
|
||||
@@ -73,6 +73,10 @@ SM_UNUSED(static char SmailId[]) = "@(#)$Id: sendmail.
|
||||
@@ -79,6 +79,10 @@ SM_UNUSED(static char SmailId[]) = "@(#)$Id: sendmail.
|
||||
#endif
|
||||
|
||||
#include "bf.h"
|
||||
@@ -11,7 +11,7 @@
|
||||
#include "timers.h"
|
||||
#include <sm/exc.h>
|
||||
#include <sm/gen.h>
|
||||
@@ -2807,6 +2811,10 @@ EXTERN int ConnectionRateWindowSize;
|
||||
@@ -2809,6 +2813,10 @@ EXTERN int ConnectionRateWindowSize;
|
||||
#endif
|
||||
|
||||
EXTERN int ConnectionRateWindowSize;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
--- sendmail/srvrsmtp.c.orig 2025-10-20 19:09:43 UTC
|
||||
--- sendmail/srvrsmtp.c.orig 2026-03-09 16:19:10 UTC
|
||||
+++ sendmail/srvrsmtp.c
|
||||
@@ -953,6 +953,9 @@ do \
|
||||
@@ -932,6 +932,9 @@ do \
|
||||
# define SHOWCMDINREPLY(inp) inp
|
||||
# define SHOWSHRTCMDINREPLY(inp) shortenstring(inp, MAXSHORTSTR)
|
||||
#endif
|
||||
@@ -9,8 +9,8 @@
|
||||
+#endif
|
||||
|
||||
void
|
||||
smtp(nullserver, d_flags, e)
|
||||
@@ -1546,6 +1549,8 @@ smtp(nullserver, d_flags, e)
|
||||
smtp(char *volatile nullserver, BITMAP256 d_flags,
|
||||
@@ -1523,6 +1526,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,
|
||||
@@ -1555,6 +1560,8 @@ smtp(nullserver, d_flags, e)
|
||||
@@ -1532,6 +1537,8 @@ smtp(char *volatile nullserver, BITMAP256 d_flags,
|
||||
(int) tp->tv_sec +
|
||||
(tp->tv_usec >= 500000 ? 1 : 0)
|
||||
);
|
||||
@@ -28,7 +28,7 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1674,6 +1681,10 @@ smtp(nullserver, d_flags, e)
|
||||
@@ -1651,6 +1658,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,
|
||||
@@ -1989,8 +2000,11 @@ smtp(nullserver, d_flags, e)
|
||||
@@ -1966,8 +1977,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", \
|
||||
@@ -2089,6 +2103,13 @@ smtp(nullserver, d_flags, e)
|
||||
@@ -2066,6 +2080,13 @@ smtp(char *volatile nullserver, BITMAP256 d_flags,
|
||||
case CMDEHLO:
|
||||
case CMDNOOP:
|
||||
case CMDRSET:
|
||||
@@ -65,7 +65,7 @@
|
||||
case CMDERROR:
|
||||
/* process normally */
|
||||
break;
|
||||
@@ -2116,6 +2137,11 @@ smtp(nullserver, d_flags, e)
|
||||
@@ -2093,6 +2114,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 */
|
||||
@@ -2140,6 +2166,9 @@ smtp(nullserver, d_flags, e)
|
||||
@@ -2117,6 +2143,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;
|
||||
}
|
||||
@@ -3929,10 +3958,17 @@ smtp(nullserver, d_flags, e)
|
||||
@@ -3906,10 +3935,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 */
|
||||
@@ -4014,7 +4050,10 @@ smtp(nullserver, d_flags, e)
|
||||
@@ -3991,7 +4027,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);
|
||||
|
||||
@@ -4068,6 +4107,9 @@ smtp(nullserver, d_flags, e)
|
||||
@@ -4045,6 +4084,9 @@ smtp(char *volatile nullserver, BITMAP256 d_flags,
|
||||
}
|
||||
#if SASL
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
--- sendmail/usersmtp.c.orig 2025-10-27 17:06:50 UTC
|
||||
--- sendmail/usersmtp.c.orig 2026-03-09 16:19:10 UTC
|
||||
+++ sendmail/usersmtp.c
|
||||
@@ -1946,6 +1946,9 @@ attemptauth(m, mci, e, sai)
|
||||
@@ -1894,6 +1894,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),
|
||||
@@ -2091,9 +2094,11 @@ smtpauth(m, mci, e)
|
||||
@@ -2036,9 +2039,11 @@ smtpauth(MAILER *m, MCI *mci, ENVELOPE *e)
|
||||
do
|
||||
{
|
||||
result = attemptauth(m, mci, e, &(mci->mci_sai));
|
||||
|
||||
Reference in New Issue
Block a user