Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Jul 2024 04:39:46 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 37f419975087 - main - mail/libspf2: Use TXT RR type rather than deprecated SPF RR type
Message-ID:  <202407030439.4634dk3X060787@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202407030439.4634dk3X060787>