ports/mail/libspf2/files/patch-src_libspf2_spf__server.c
Po-Chuan Hsieh 37f4199750
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
2024-07-03 12:37:40 +08:00

13 lines
457 B
C

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