git: 4fbf489f56e6 - main - mail/py-pyspf: Add lifetime argument back
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 21 Nov 2024 13:49:10 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=4fbf489f56e600cd2aea598be2dac18977611dc8 commit 4fbf489f56e600cd2aea598be2dac18977611dc8 Author: Doug White <dwhite-freebsd-bugs@gumbysoft.com> AuthorDate: 2024-11-21 13:34:26 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2024-11-21 13:39:54 +0000 mail/py-pyspf: Add lifetime argument back - Fix 2920ddff74980fdebe12c0ff4d48b067c2e5ebe9 - Bump PORTREVISION for package change PR: 282388 --- mail/py-pyspf/Makefile | 2 +- mail/py-pyspf/files/patch-spf.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mail/py-pyspf/Makefile b/mail/py-pyspf/Makefile index ccae8db7cd2b..82ef66b65ca3 100644 --- a/mail/py-pyspf/Makefile +++ b/mail/py-pyspf/Makefile @@ -1,6 +1,6 @@ PORTNAME= pyspf PORTVERSION= 2.0.14 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= mail python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/mail/py-pyspf/files/patch-spf.py b/mail/py-pyspf/files/patch-spf.py index 2ce960adfed7..cf3f978085f2 100644 --- a/mail/py-pyspf/files/patch-spf.py +++ b/mail/py-pyspf/files/patch-spf.py @@ -5,7 +5,7 @@ try: # FIXME: how to disable TCP fallback in dnspython if not tcpfallback? - answers = dns.resolver.query(name, qtype, lifetime=timeout) -+ answers = dns.resolver.resolve(name, qtype) ++ answers = dns.resolver.resolve(name, qtype, lifetime=timeout) for rdata in answers: if qtype == 'A' or qtype == 'AAAA': retVal.append(((name, qtype), rdata.address))