Index: head/mail/py-pyspf/Makefile =================================================================== --- head/mail/py-pyspf/Makefile (revision 517538) +++ head/mail/py-pyspf/Makefile (revision 517539) @@ -1,45 +1,46 @@ # Created by: Marcus Alves Grando # $FreeBSD$ PORTNAME= pyspf PORTVERSION= 2.0.13 +PORTREVISION= 1 CATEGORIES= mail python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= SPF (Sender Policy Framework) implemented in Python LICENSE= PSFL RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}authres>=0:mail/py-authres@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}yaml>=0:devel/py-yaml@${PY_FLAVOR} NO_ARCH= yes USE_PYTHON= autoplist concurrent distutils USES= python shebangfix WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} PLIST_FILES= bin/spf.py SHEBANG_FILES= spf.py .include .if ${PYTHON_REL} >= 3000 RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}py3dns>=0:dns/py-py3dns@${PY_FLAVOR} .else RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}dns>=0:dns/py-dns@${PY_FLAVOR} .endif # Make the tests run as a module post-patch: @${TOUCH} ${WRKSRC}/test/__init__.py post-install: ${CHMOD} ${BINMODE} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/spf.py ${RLN} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/spf.py ${STAGEDIR}${PREFIX}/bin/ do-test: cd ${WRKSRC}/ && ${PYTHON_CMD} -m test.testspf .include Index: head/mail/py-pyspf/files/patch-spf.py =================================================================== --- head/mail/py-pyspf/files/patch-spf.py (nonexistent) +++ head/mail/py-pyspf/files/patch-spf.py (revision 517539) @@ -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) Property changes on: head/mail/py-pyspf/files/patch-spf.py ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property