summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mail/py-pyspf/Makefile2
-rw-r--r--mail/py-pyspf/files/patch-spf.py2
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))