Bug 268030 - mail/py-pyspf: IPv6 malfunction improvement
Summary: mail/py-pyspf: IPv6 malfunction improvement
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: 2022-11-28 05:15 UTC by takefu
Modified: 2023-09-11 16:18 UTC (History)
0 users

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


Attachments
py-pyspf-2.0.14_1.patch (1.36 KB, patch)
2022-11-28 05:15 UTC, takefu
no flags Details | Diff
py-pyspf-2.0.14_1.patch (1.61 KB, patch)
2023-05-19 04:35 UTC, takefu
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description takefu 2022-11-28 05:15:56 UTC
Created attachment 238388 [details]
py-pyspf-2.0.14_1.patch

Fixed not working properly with IPv6.

$ > spf.py 2610:1c1:1:606c::50:15 FreeBSD.org localhost
$ /usr/local/bin/spf.py:131: DeprecationWarning: please use dns.resolver.resolve() instead
$   answers = dns.resolver.query(name, qtype, lifetime=timeout)
$ result: ('softfail', 250, 'domain owner discourages use of this host') ~all
Comment 1 takefu 2023-05-19 04:35:23 UTC
Created attachment 242266 [details]
py-pyspf-2.0.14_1.patch

PORTCLIPPY(1) compliant.
Comment 2 commit-hook freebsd_committer freebsd_triage 2023-09-11 16:06:29 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2920ddff74980fdebe12c0ff4d48b067c2e5ebe9

commit 2920ddff74980fdebe12c0ff4d48b067c2e5ebe9
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-09-11 16:05:19 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-09-11 16:05:36 +0000

    mail/py-pyspf: Fix runtime on IPv6

    - Bump PORTREVISION for package change

    % spf.py 2610:1c1:1:606c::50:15 FreeBSD.org localhost
    /usr/local/bin/spf.py:131: DeprecationWarning: please use dns.resolver.resolve() instead
      answers = dns.resolver.query(name, qtype, lifetime=timeout)
    result: ('softfail', 250, 'domain owner discourages use of this host') ~all

    PR:             268030
    Submitted by:   <takefu@airport.fm>

 mail/py-pyspf/Makefile                 |  1 +
 mail/py-pyspf/files/patch-spf.py (new) | 11 +++++++++++
 2 files changed, 12 insertions(+)
Comment 3 Po-Chuan Hsieh freebsd_committer freebsd_triage 2023-09-11 16:18:03 UTC
Committed. Thanks!