git: f350971a0c93 - main - mail/meta1: fix potential CNAME mishandling
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 10 Dec 2025 12:35:36 UTC
The branch main has been updated by dinoex:
URL: https://cgit.FreeBSD.org/ports/commit/?id=f350971a0c9321e165ff136c0e2e2a946860f84d
commit f350971a0c9321e165ff136c0e2e2a946860f84d
Author: Dirk Meyer <dinoex@FreeBSD.org>
AuthorDate: 2025-12-10 12:34:33 +0000
Commit: Dirk Meyer <dinoex@FreeBSD.org>
CommitDate: 2025-12-10 12:35:18 +0000
mail/meta1: fix potential CNAME mishandling
---
mail/meta1/Makefile | 2 +-
mail/meta1/files/patch-dnsdecode.c | 12 ++++++++++++
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/mail/meta1/Makefile b/mail/meta1/Makefile
index 712a2b556f18..375548034b57 100644
--- a/mail/meta1/Makefile
+++ b/mail/meta1/Makefile
@@ -1,6 +1,6 @@
PORTNAME= meta1
PORTVERSION= 1.1.1a.21.0
-PORTREVISION= 0
+PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= http://www.MeTA1.org/download/.alpha/bdconf/
DISTNAME= ${PORTNAME}-1.1.Alpha21.0
diff --git a/mail/meta1/files/patch-dnsdecode.c b/mail/meta1/files/patch-dnsdecode.c
new file mode 100644
index 000000000000..30a986924260
--- /dev/null
+++ b/mail/meta1/files/patch-dnsdecode.c
@@ -0,0 +1,12 @@
+--- libdns/dnsdecode.c Sun Jun 11 07:09:35 2023
++++ libdns/dnsdecode.c
+@@ -457,6 +457,8 @@
+ dns_rese = dns_rese_next)
+ {
+ dns_rese_next = DRESL_NEXT(dns_rese);
++ if (T_MX != dns_rese->dnsrese_type)
++ continue;
+ if (strcasecmp((const char *) mxhost,
+ (const char *) sm_cstr_data(dns_rese->dnsrese_val.dnsresu_name))
+ == 0)
+