Skip to content

Commit

Permalink
mail/libspf2: bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
laffer1 committed Jan 24, 2025
1 parent 8b16dc3 commit d2f71ed
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion mail/libspf2/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
PORTNAME= libspf2
PORTVERSION= 1.2.11
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= mail

MAINTAINER= ports@MidnightBSD.org
Expand Down
13 changes: 13 additions & 0 deletions mail/libspf2/files/patch-src_libspf2_spf__server.c
Original file line number Diff line number Diff line change
@@ -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);

0 comments on commit d2f71ed

Please sign in to comment.