From bc657153de8fa2bf3a9b7ba5facc5c65b8b97323 Mon Sep 17 00:00:00 2001 From: linimon Date: Sat, 9 Jul 2011 23:51:44 +0000 Subject: Update to 2.3.5. Changes: - Add SPF support - Added rotation of name servers - SF Patch ID: 2795929. - Address sourceforge patch requests 2981978, 2795932 to add revlookupall and raise DNSError instead of IndexError on server fail. - Use blocking IO with timeout for TCP replies. - Don't try to close socket when never opened. - Clarify CNRI (academic-style) license. PR: ports/156029 Submited by: Ruslan Mahmatkhanov --- dns/py-dns/Makefile | 2 +- dns/py-dns/distinfo | 4 ++-- dns/py-dns/files/patch-DNS-Lib.py | 22 +++++++++++++++------- dns/py-dns/files/patch-DNS-Type.py | 18 +++++++++++------- 4 files changed, 29 insertions(+), 17 deletions(-) (limited to 'dns') diff --git a/dns/py-dns/Makefile b/dns/py-dns/Makefile index 9ec6f31a8ef0..38904938c083 100644 --- a/dns/py-dns/Makefile +++ b/dns/py-dns/Makefile @@ -6,7 +6,7 @@ # PORTNAME= dns -PORTVERSION= 2.3.3 +PORTVERSION= 2.3.5 CATEGORIES= dns python MASTER_SITES= SF/py${PORTNAME}/py${PORTNAME}/py${PORTNAME}-${PORTVERSION} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/dns/py-dns/distinfo b/dns/py-dns/distinfo index 6b27498cfe7f..2eeaadd1e8e1 100644 --- a/dns/py-dns/distinfo +++ b/dns/py-dns/distinfo @@ -1,2 +1,2 @@ -SHA256 (pydns-2.3.3.tar.gz) = 349b310ecddd4f9b67da8fd078e35b35b4d9151bc6008890b49d4c3a24aa6b37 -SIZE (pydns-2.3.3.tar.gz) = 23897 +SHA256 (pydns-2.3.5.tar.gz) = c2385c17625bd19b1891c1c96319e8f5c2b2e8ba5d9d7bfd6459bbf10067c940 +SIZE (pydns-2.3.5.tar.gz) = 27473 diff --git a/dns/py-dns/files/patch-DNS-Lib.py b/dns/py-dns/files/patch-DNS-Lib.py index 2f490a037c01..c2e84e31f28a 100644 --- a/dns/py-dns/files/patch-DNS-Lib.py +++ b/dns/py-dns/files/patch-DNS-Lib.py @@ -1,7 +1,15 @@ ---- DNS/Lib.py.orig Wed Oct 11 05:45:08 2006 -+++ DNS/Lib.py Wed Oct 11 05:46:19 2006 -@@ -1,3 +1,4 @@ -+# This Python file uses the following encoding: iso8859-1 - """ - $Id: Lib.py,v 1.11 2002/03/19 13:05:02 anthonybaxter Exp $ - +--- DNS/Lib.py.orig 2011-03-16 23:06:39.000000000 +0300 ++++ DNS/Lib.py 2011-03-29 12:42:45.000000000 +0400 +@@ -706,10 +706,10 @@ + # added identifying header to top of each file + # + # Revision 1.7 2001/07/19 07:50:44 anthony +-# Added SRV (RFC 2782) support. Code from Michael Ströder. ++# Added SRV (RFC 2782) support. Code from Michael Ströder. + # + # Revision 1.6 2001/07/19 07:39:18 anthony +-# 'type' -> 'rrtype' in getRRheader(). Fix from Michael Ströder. ++# 'type' -> 'rrtype' in getRRheader(). Fix from Michael Ströder. + # + # Revision 1.5 2001/07/19 07:34:19 anthony + # oops. glitch in storeRR (fixed now). diff --git a/dns/py-dns/files/patch-DNS-Type.py b/dns/py-dns/files/patch-DNS-Type.py index 68c352db1e39..78fdfc4693ff 100644 --- a/dns/py-dns/files/patch-DNS-Type.py +++ b/dns/py-dns/files/patch-DNS-Type.py @@ -1,7 +1,11 @@ ---- DNS/Type.py.orig Wed Oct 11 05:44:59 2006 -+++ DNS/Type.py Wed Oct 11 05:46:26 2006 -@@ -1,3 +1,4 @@ -+# This Python file uses the following encoding: iso8859-1 - """ - $Id: Type.py,v 1.6 2002/03/19 12:41:33 anthonybaxter Exp $ - +--- DNS/Type.py.orig 2011-03-16 23:06:39.000000000 +0300 ++++ DNS/Type.py 2011-03-29 12:44:27.000000000 +0400 +@@ -74,7 +74,7 @@ + # added identifying header to top of each file + # + # Revision 1.3 2001/07/19 07:38:28 anthony +-# added type code for SRV. From Michael Ströder. ++# added type code for SRV. From Michael Ströder. + # + # Revision 1.2 2001/07/19 06:57:07 anthony + # cvs keywords added -- cgit