diff --git a/mail/meta1/Makefile b/mail/meta1/Makefile index 74feb2a3993d..790560f0973e 100644 --- a/mail/meta1/Makefile +++ b/mail/meta1/Makefile @@ -2,6 +2,7 @@ PORTNAME= meta1 PORTVERSION= 1.1.0a.15.2 +PORTREVISION= 1 CATEGORIES= mail MASTER_SITES= http://www.MeTA1.org/download/.alpha/3rdt/ DISTNAME= ${PORTNAME}-1.1.Alpha15.2 diff --git a/mail/meta1/files/patch-smtpch.c b/mail/meta1/files/patch-smtpch.c new file mode 100644 index 000000000000..4f7090bee76e --- /dev/null +++ b/mail/meta1/files/patch-smtpch.c @@ -0,0 +1,12 @@ +--- smtpc/smtpch.c Sat Jun 20 09:00:11 2020 ++++ sm-9/mta/smtpc/smtpch.c Thu Oct 1 10:52:53 2020 +@@ -1642,7 +1646,7 @@ + if (!IPADDR_EQ(*srvaddr, tdcnf->tlsdanecnf_ips[ui])) + continue; + tdcnf->tlsdanecnf_hn_idx = (int) ui; +- for (d = 0; d < tdcnf->tlsdanecnf_ips_n; d++) { ++ for (d = 0; d < SM_ARRAY_SIZE(tdcnf->tlsdanecnf_pubkey_fps); d++) { + if (NULL == tdcnf->tlsdanecnf_pubkey_fps[d]) + continue; + if (!tlsaapplies(d, tdcnf->tlsdanecnf_ip2pk[ui])) +