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:	4744deeec4
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2019-11-13 23:47:38 +00:00
parent 1d8b60647e
commit 8f51ae2e9f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=517539
2 changed files with 14 additions and 0 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= pyspf
PORTVERSION= 2.0.13
PORTREVISION= 1
CATEGORIES= mail python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

View File

@ -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)