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
This commit is contained in:
Po-Chuan Hsieh 2024-07-03 12:37:40 +08:00
parent 20096671ac
commit 37f4199750
No known key found for this signature in database
GPG key ID: 9A4BD10F002DD04B
2 changed files with 14 additions and 1 deletions

View file

@ -1,6 +1,6 @@
PORTNAME= libspf2
PORTVERSION= 1.2.11
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= mail
MAINTAINER= sunpoet@FreeBSD.org

View file

@ -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);