git: 37f419975087 - main - mail/libspf2: Use TXT RR type rather than deprecated SPF RR type
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 03 Jul 2024 04:39:46 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=37f419975087f1cabe38995726815d6884f3624e
commit 37f419975087f1cabe38995726815d6884f3624e
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-07-03 04:37:40 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-07-03 04:37:40 +0000
mail/libspf2: Use TXT RR type rather than deprecated SPF RR type
- Bump PORTREVISION for package change
PR: 278201
Reported by: Yasuhito FUTATSUKI <freebsd-bug-report-yf@yf.bsdclub.org>
Obtained from: https://sources.debian.org/patches/libspf2/1.2.10-8.2/abolish-spf-rrtype.patch/
Reference: https://github.com/shevek/libspf2/pull/14#issuecomment-1747399288
---
mail/libspf2/Makefile | 2 +-
mail/libspf2/files/patch-src_libspf2_spf__server.c | 13 +++++++++++++
2 files changed, 14 insertions(+), 1 deletion(-)
diff --git a/mail/libspf2/Makefile b/mail/libspf2/Makefile
index 7b46a40a4082..a76d9ecfa553 100644
--- a/mail/libspf2/Makefile
+++ b/mail/libspf2/Makefile
@@ -1,6 +1,6 @@
PORTNAME= libspf2
PORTVERSION= 1.2.11
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= mail
MAINTAINER= sunpoet@FreeBSD.org
diff --git a/mail/libspf2/files/patch-src_libspf2_spf__server.c b/mail/libspf2/files/patch-src_libspf2_spf__server.c
new file mode 100644
index 000000000000..fb19862b77e8
--- /dev/null
+++ b/mail/libspf2/files/patch-src_libspf2_spf__server.c
@@ -0,0 +1,13 @@
+Obtained from: https://sources.debian.org/patches/libspf2/1.2.10-8.2/abolish-spf-rrtype.patch/
+
+--- src/libspf2/spf_server.c.orig 2023-10-04 16:34:06 UTC
++++ src/libspf2/spf_server.c
+@@ -346,7 +346,7 @@ SPF_server_get_record(SPF_server_t *spf_server,
+ spf_response, spf_recordp);
+
+ /* I am VERY, VERY sorry about the gotos. Shevek. */
+- rr_type = ns_t_spf;
++ rr_type = ns_t_txt;
+ retry:
+ rr_txt = SPF_dns_lookup(resolver, domain, rr_type, TRUE);
+