diff --git a/mail/libspf2/Makefile b/mail/libspf2/Makefile index 7b46a40a4082..a76d9ecfa553 100644 --- a/mail/libspf2/Makefile +++ b/mail/libspf2/Makefile @@ -1,27 +1,27 @@ PORTNAME= libspf2 PORTVERSION= 1.2.11 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= mail MAINTAINER= sunpoet@FreeBSD.org COMMENT= Sender Policy Framework 2 C Implementation WWW= https://www.libspf2.org/ \ https://github.com/shevek/libspf2 LICENSE= BSD2CLAUSE LGPL21 LGPL3 LICENSE_COMB= dual USES= autoreconf cpe libtool GNU_CONFIGURE= yes INSTALL_TARGET= install-strip USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= shevek GH_TAGNAME= d14abff post-patch: @${REINPLACE_CMD} -e '/__VA_ARGS__/ s|format, ||g' ${WRKSRC}/src/include/spf_log.h .include 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); +