git: dec0174b5b38 - main - mail/sendmail: Fix aliases file continuation lines
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 17 Oct 2021 21:01:24 UTC
The branch main has been updated by dinoex: URL: https://cgit.FreeBSD.org/ports/commit/?id=dec0174b5b386318cf533e98ffbf0280f282aaee commit dec0174b5b386318cf533e98ffbf0280f282aaee Author: Dirk Meyer <dinoex@FreeBSD.org> AuthorDate: 2021-10-17 20:59:23 +0000 Commit: Dirk Meyer <dinoex@FreeBSD.org> 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++; +