mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
mail/sendmail: Fix aliases file continuation lines
PR: 259147
This commit is contained in:
parent
93566bfca3
commit
dec0174b5b
2 changed files with 18 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
PORTNAME= sendmail
|
PORTNAME= sendmail
|
||||||
PORTVERSION= 8.17.1
|
PORTVERSION= 8.17.1
|
||||||
PORTREVISION= 0
|
PORTREVISION= 1
|
||||||
CATEGORIES= mail
|
CATEGORIES= mail
|
||||||
MASTER_SITES= ftp://ftp.sendmail.org/pub/sendmail/
|
MASTER_SITES= ftp://ftp.sendmail.org/pub/sendmail/
|
||||||
DISTNAME= ${PORTNAME}.${PORTVERSION}
|
DISTNAME= ${PORTNAME}.${PORTVERSION}
|
||||||
|
|
17
mail/sendmail/files/patch-alias.c
Normal file
17
mail/sendmail/files/patch-alias.c
Normal file
|
@ -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++;
|
||||||
|
|
Loading…
Add table
Reference in a new issue