Bug 278201

Summary: [PATCH] mail/libspf2: New option to ignore SPF RR
Product: Ports & Packages Reporter: Yasuhito FUTATSUKI <freebsd-bug-report-yf>
Component: Individual Port(s)Assignee: Po-Chuan Hsieh <sunpoet>
Status: Closed FIXED    
Severity: Affects Only Me Flags: bugzilla: maintainer-feedback? (sunpoet)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
a patch to add ports option "TXT_ONLY" none

Description Yasuhito FUTATSUKI 2024-04-06 17:54:21 UTC
Created attachment 249768 [details]
a patch to add ports option "TXT_ONLY"

libspf2 uses both of SPF RRTYPE and TXT RRTYPE for SPF record, however, RFC 7208 deprecates the use of the SPF RRTYPE.

This patch add an build option so that libspf2 don't refer SPF RR as SPF record.
The extra patch extra-patch-src_libspf2_spf__server.c was brout from https://github.com/shevek/libspf2/pull/14#issuecomment-1747399288 .
Comment 1 commit-hook freebsd_committer freebsd_triage 2024-07-03 04:40:12 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=37f419975087f1cabe38995726815d6884f3624e

commit 37f419975087f1cabe38995726815d6884f3624e
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-07-03 04:37:40 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-07-03 04:37:40 +0000

    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

 mail/libspf2/Makefile                                    |  2 +-
 mail/libspf2/files/patch-src_libspf2_spf__server.c (new) | 13 +++++++++++++
 2 files changed, 14 insertions(+), 1 deletion(-)
Comment 2 Po-Chuan Hsieh freebsd_committer freebsd_triage 2024-07-03 14:28:50 UTC
Committed. Thanks!