Bug 278201 - [PATCH] mail/libspf2: New option to ignore SPF RR
Summary: [PATCH] mail/libspf2: New option to ignore SPF RR
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Po-Chuan Hsieh
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-06 17:54 UTC by Yasuhito FUTATSUKI
Modified: 2024-07-03 14:28 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (sunpoet)


Attachments
a patch to add ports option "TXT_ONLY" (1.32 KB, patch)
2024-04-06 17:54 UTC, Yasuhito FUTATSUKI
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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!