summaryrefslogtreecommitdiff
path: root/mail/py-pyspf/files
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2019-11-13 23:47:38 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2019-11-13 23:47:38 +0000
commit8f51ae2e9f04e3d7f42c51e5bf6b292507f84bb5 (patch)
treee179a43382a2b40fa8c7a08e64ca818174fd4e28 /mail/py-pyspf/files
parentUpdate to 0.6.1 (diff)
Restore DNSLookup API for pydnsv(DNS) for tcp fallback works again
- Bump PORTREVISION for package change PR: 241755 Submitted by: Kamigishi Rei <spambox@haruhiism.net> Obtained from: https://github.com/sdgathman/pyspf/commit/4744deeec4a2c10987aae72989d7137156ed4151
Diffstat (limited to 'mail/py-pyspf/files')
-rw-r--r--mail/py-pyspf/files/patch-spf.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/mail/py-pyspf/files/patch-spf.py b/mail/py-pyspf/files/patch-spf.py
new file mode 100644
index 000000000000..cd1459e9e30a
--- /dev/null
+++ b/mail/py-pyspf/files/patch-spf.py
@@ -0,0 +1,13 @@
+Obtained from: https://github.com/sdgathman/pyspf/commit/4744deeec4a2c10987aae72989d7137156ed4151
+
+--- spf.py.orig
++++ spf.py
+@@ -91,7 +91,7 @@
+ print('ipaddr module required: http://code.google.com/p/ipaddr-py/')
+
+
+-def DNSLookup_pydns(name, qtype, tcpfallback=True, timeout=30):
++def DNSLookup_pydns(name, qtype, strict=True, timeout=20):
+
+ try:
+ req = DNS.DnsRequest(name, qtype=qtype, timeout=timeout)