FreeBSD Bugzilla – Attachment 249768 Details for
Bug 278201
[PATCH] mail/libspf2: New option to ignore SPF RR
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
a patch to add ports option "TXT_ONLY"
mail_libspf2-ignore_spf-rr-patch.txt (text/plain), 1.32 KB, created by
Yasuhito FUTATSUKI
on 2024-04-06 17:54:21 UTC
(
hide
)
Description:
a patch to add ports option "TXT_ONLY"
Filename:
MIME Type:
Creator:
Yasuhito FUTATSUKI
Created:
2024-04-06 17:54:21 UTC
Size:
1.32 KB
patch
obsolete
>diff --git a/mail/libspf2/Makefile b/mail/libspf2/Makefile >index 7b46a40a4082..cef0bda331f8 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 >@@ -21,6 +21,12 @@ USE_GITHUB= yes > GH_ACCOUNT= shevek > GH_TAGNAME= d14abff > >+OPTIONS_DEFINE= TXT_ONLY >+OPTIONS_DEFAULT= >+ >+TXT_ONLY_DESC= Refer TXT RR only and ignore SPF RR >+TXT_ONLY_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-src_libspf2_spf__server.c >+ > post-patch: > @${REINPLACE_CMD} -e '/__VA_ARGS__/ s|format, ||g' ${WRKSRC}/src/include/spf_log.h > >diff --git a/mail/libspf2/files/extra-patch-src_libspf2_spf__server.c b/mail/libspf2/files/extra-patch-src_libspf2_spf__server.c >new file mode 100644 >index 000000000000..a5d67b7e1f02 >--- /dev/null >+++ b/mail/libspf2/files/extra-patch-src_libspf2_spf__server.c >@@ -0,0 +1,11 @@ >+--- ./src/libspf2/spf_server.c.orig 2023-10-05 01:34:06.000000000 +0900 >++++ ./src/libspf2/spf_server.c 2024-04-07 02:04:19.560351000 +0900 >+@@ -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); >+
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 278201
: 249768