diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2019-11-13 23:47:38 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2019-11-13 23:47:38 +0000 |
commit | 8f51ae2e9f04e3d7f42c51e5bf6b292507f84bb5 (patch) | |
tree | e179a43382a2b40fa8c7a08e64ca818174fd4e28 | |
parent | Update 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
-rw-r--r-- | mail/py-pyspf/Makefile | 1 | ||||
-rw-r--r-- | mail/py-pyspf/files/patch-spf.py | 13 |
2 files changed, 14 insertions, 0 deletions
diff --git a/mail/py-pyspf/Makefile b/mail/py-pyspf/Makefile index ba17c4efca71..f3a65dcc4bc0 100644 --- a/mail/py-pyspf/Makefile +++ b/mail/py-pyspf/Makefile @@ -3,6 +3,7 @@ PORTNAME= pyspf PORTVERSION= 2.0.13 +PORTREVISION= 1 CATEGORIES= mail python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} 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) |