From nobody Sun Oct 17 21:01:24 2021 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id B9A221809B7D; Sun, 17 Oct 2021 21:01:24 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HXXVX2d6wz4Tdx; Sun, 17 Oct 2021 21:01:24 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3698C14264; Sun, 17 Oct 2021 21:01:24 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 19HL1O5m092556; Sun, 17 Oct 2021 21:01:24 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 19HL1OV7092555; Sun, 17 Oct 2021 21:01:24 GMT (envelope-from git) Date: Sun, 17 Oct 2021 21:01:24 GMT Message-Id: <202110172101.19HL1OV7092555@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dirk Meyer Subject: git: dec0174b5b38 - main - mail/sendmail: Fix aliases file continuation lines List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dinoex X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: dec0174b5b386318cf533e98ffbf0280f282aaee Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by dinoex: URL: https://cgit.FreeBSD.org/ports/commit/?id=dec0174b5b386318cf533e98ffbf0280f282aaee commit dec0174b5b386318cf533e98ffbf0280f282aaee Author: Dirk Meyer AuthorDate: 2021-10-17 20:59:23 +0000 Commit: Dirk Meyer CommitDate: 2021-10-17 20:59:23 +0000 mail/sendmail: Fix aliases file continuation lines PR: 259147 --- mail/sendmail/Makefile | 2 +- mail/sendmail/files/patch-alias.c | 17 +++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/mail/sendmail/Makefile b/mail/sendmail/Makefile index 9171d2df11d5..7646fd8b2bf0 100644 --- a/mail/sendmail/Makefile +++ b/mail/sendmail/Makefile @@ -1,6 +1,6 @@ PORTNAME= sendmail PORTVERSION= 8.17.1 -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= mail MASTER_SITES= ftp://ftp.sendmail.org/pub/sendmail/ DISTNAME= ${PORTNAME}.${PORTVERSION} diff --git a/mail/sendmail/files/patch-alias.c b/mail/sendmail/files/patch-alias.c new file mode 100644 index 000000000000..7f4a9a1f3dfd --- /dev/null +++ b/mail/sendmail/files/patch-alias.c @@ -0,0 +1,17 @@ +--- sendmail/alias.c.orig 2021-06-09 08:27:53 UTC ++++ sendmail/alias.c +@@ -817,10 +817,13 @@ readaliases(map, af, announcestats, logstats) + (void) sm_io_ungetc(af, SM_TIME_DEFAULT, c); + if (c != ' ' && c != '\t') + break; ++#if _FFR_8BITENVADDR ++ syserr("554 5.3.5 Continuation line currently not supported for USE_EAI nor _FFR_EIGHT_BIT_ADDR_OK"); ++#endif + + /* read continuation line */ + if (sm_io_fgets(af, SM_TIME_DEFAULT, p, +- sizeof(line) - (p-line)) < 0) ++ sizeof(lbuf) - (p-line)) < 0) + break; + LineNumber++; +