summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorgson <gson@pkgsrc.org>2005-04-09 16:50:03 +0000
committergson <gson@pkgsrc.org>2005-04-09 16:50:03 +0000
commit1d5a995ae13637ed4f8171e583466dfc696e8a61 (patch)
tree03c8480b22abaf6feea02e678feb1cf4c0468067 /net
parent96f72a334e357b156bc08fb5283ec281c93ed85c (diff)
downloadpkgsrc-1d5a995ae13637ed4f8171e583466dfc696e8a61.tar.gz
Update py-dns to 1.3.3.
Summary of changes since 1.2.0: * dns/rdtypes/ANY/TXT.py (TXT.from_text): The masterfile parser incorrectly rejected TXT records where a value was not quoted. * dns/message.py: Added make_response(), which creates a skeletal response for the specified query. Added opcode() and set_opcode() convenience methods to the Message class. Added the request_payload attribute to the Message class. * dns/zone.py (from_xfr): dns.zone.from_xfr() in relativization mode incorrectly set zone.origin to the empty name. * dns/name.py (Name.to_wire): The 'file' parameter to Name.to_wire() is now optional; if omitted, the wire form will be returned as the value of the function. * dns/message.py (Message.find_rrset): find_rrset() now uses an index, vastly improving the from_wire() performance of large messages such as zone transfers. * dns/query.py: sending queries to a nameserver via IPv6 now works. * dns/inet.py (af_for_address): Add af_for_address(), which looks at a textual-form address and attempts to determine which address family it is. * dns/query.py: the default for the 'af' parameter of the udp(), tcp(), and xfr() functions has been changed from AF_INET to None, which causes dns.inet.af_for_address() to be used to determine the address family. If dns.inet.af_for_address() can't figure it out, we fall back to AF_INET and hope for the best. * dns/rdtypes/ANY/NSEC.py (NSEC.from_text): The NSEC text format does not allow specifying types by number, so we shouldn't either. * dns/renderer.py: the renderer module didn't import random, causing an exception to be raised if a query id wasn't provided when a Renderer was created. * dns/resolver.py (Resolver.query): the resolver wasn't catching dns.exception.Timeout, so a timeout erroneously caused the whole resolution to fail instead of just going on to the next server. * dns/rdtypes/ANY/LOC.py (LOC.from_text): LOC milliseconds values were converted incorrectly if the length of the milliseconds string was less than 3. * dns/update.py (Update.delete): We erroneously specified a "deleting" value of dns.rdatatype.NONE instead of dns.rdataclass.NONE when the thing being deleted was either an Rdataset instance or an Rdata instance. * dns/rdtypes/ANY/SSHFP.py: Added support for the proposed SSHFP RR type. * dns/rdata.py (from_text): The masterfile reader did not accept the unknown RR syntax when used with a known RR type. * dns/name.py (from_text): dns.name.from_text() did not raise an exception if a backslash escape ended prematurely. * dns/zone.py (_MasterReader._rr_line): The masterfile reader erroneously treated lines starting with leading whitespace but not having any RR definition as an error. It now treats them like a blank line (which is not an error). * Added support for new DNSSEC types RRSIG, NSEC, and DNSKEY. * dns/query.py (_connect): Windows returns EWOULDBLOCK instead of EINPROGRESS when trying to connect a nonblocking socket. * dns/rdtypes/ANY/LOC.py (LOC.to_wire): We encoded and decoded LOC incorrectly, since we were interpreting the values of altitiude, size, hprec, and vprec in meters instead of centimeters. * dns/rdtypes/IN/WKS.py (WKS.from_wire): The WKS protocol value is encoded with just one octet, not two! * dns/resolver.py (Cache.maybe_clean): The cleaner deleted items from the dictionary while iterating it, causing a RuntimeError to be raised. Thanks to Mark R. Levinson for the bug report, regression test, and fix.
Diffstat (limited to 'net')
-rw-r--r--net/py-dns/Makefile6
-rw-r--r--net/py-dns/PLIST23
-rw-r--r--net/py-dns/distinfo8
3 files changed, 29 insertions, 8 deletions
diff --git a/net/py-dns/Makefile b/net/py-dns/Makefile
index f522e15f30e..2995aeba2eb 100644
--- a/net/py-dns/Makefile
+++ b/net/py-dns/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.8 2004/07/22 09:16:03 recht Exp $
+# $NetBSD: Makefile,v 1.9 2005/04/09 16:50:03 gson Exp $
-DISTNAME= dnspython-1.2.0
-PKGNAME= ${PYPKGPREFIX}-dns-1.2.0
+DISTNAME= dnspython-1.3.3
+PKGNAME= ${PYPKGPREFIX}-dns-1.3.3
CATEGORIES= net python
MASTER_SITES= http://www.dnspython.org/kits/${PKGVERSION}/
diff --git a/net/py-dns/PLIST b/net/py-dns/PLIST
index 3bac846c243..3016183d0b3 100644
--- a/net/py-dns/PLIST
+++ b/net/py-dns/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2003/09/14 16:43:53 recht Exp $
+@comment $NetBSD: PLIST,v 1.4 2005/04/09 16:50:03 gson Exp $
${PYSITELIB}/dns/__init__.py
${PYSITELIB}/dns/__init__.pyc
${PYSITELIB}/dns/__init__.pyo
@@ -65,6 +65,9 @@ ${PYSITELIB}/dns/rdtypes/ANY/CNAME.pyo
${PYSITELIB}/dns/rdtypes/ANY/DNAME.py
${PYSITELIB}/dns/rdtypes/ANY/DNAME.pyc
${PYSITELIB}/dns/rdtypes/ANY/DNAME.pyo
+${PYSITELIB}/dns/rdtypes/ANY/DNSKEY.py
+${PYSITELIB}/dns/rdtypes/ANY/DNSKEY.pyc
+${PYSITELIB}/dns/rdtypes/ANY/DNSKEY.pyo
${PYSITELIB}/dns/rdtypes/ANY/DS.py
${PYSITELIB}/dns/rdtypes/ANY/DS.pyc
${PYSITELIB}/dns/rdtypes/ANY/DS.pyo
@@ -89,6 +92,9 @@ ${PYSITELIB}/dns/rdtypes/ANY/MX.pyo
${PYSITELIB}/dns/rdtypes/ANY/NS.py
${PYSITELIB}/dns/rdtypes/ANY/NS.pyc
${PYSITELIB}/dns/rdtypes/ANY/NS.pyo
+${PYSITELIB}/dns/rdtypes/ANY/NSEC.py
+${PYSITELIB}/dns/rdtypes/ANY/NSEC.pyc
+${PYSITELIB}/dns/rdtypes/ANY/NSEC.pyo
${PYSITELIB}/dns/rdtypes/ANY/NXT.py
${PYSITELIB}/dns/rdtypes/ANY/NXT.pyc
${PYSITELIB}/dns/rdtypes/ANY/NXT.pyo
@@ -98,6 +104,9 @@ ${PYSITELIB}/dns/rdtypes/ANY/PTR.pyo
${PYSITELIB}/dns/rdtypes/ANY/RP.py
${PYSITELIB}/dns/rdtypes/ANY/RP.pyc
${PYSITELIB}/dns/rdtypes/ANY/RP.pyo
+${PYSITELIB}/dns/rdtypes/ANY/RRSIG.py
+${PYSITELIB}/dns/rdtypes/ANY/RRSIG.pyc
+${PYSITELIB}/dns/rdtypes/ANY/RRSIG.pyo
${PYSITELIB}/dns/rdtypes/ANY/RT.py
${PYSITELIB}/dns/rdtypes/ANY/RT.pyc
${PYSITELIB}/dns/rdtypes/ANY/RT.pyo
@@ -107,6 +116,9 @@ ${PYSITELIB}/dns/rdtypes/ANY/SIG.pyo
${PYSITELIB}/dns/rdtypes/ANY/SOA.py
${PYSITELIB}/dns/rdtypes/ANY/SOA.pyc
${PYSITELIB}/dns/rdtypes/ANY/SOA.pyo
+${PYSITELIB}/dns/rdtypes/ANY/SSHFP.py
+${PYSITELIB}/dns/rdtypes/ANY/SSHFP.pyc
+${PYSITELIB}/dns/rdtypes/ANY/SSHFP.pyo
${PYSITELIB}/dns/rdtypes/ANY/TXT.py
${PYSITELIB}/dns/rdtypes/ANY/TXT.pyc
${PYSITELIB}/dns/rdtypes/ANY/TXT.pyo
@@ -152,12 +164,18 @@ ${PYSITELIB}/dns/rdtypes/IN/__init__.pyo
${PYSITELIB}/dns/rdtypes/__init__.py
${PYSITELIB}/dns/rdtypes/__init__.pyc
${PYSITELIB}/dns/rdtypes/__init__.pyo
+${PYSITELIB}/dns/rdtypes/keybase.py
+${PYSITELIB}/dns/rdtypes/keybase.pyc
+${PYSITELIB}/dns/rdtypes/keybase.pyo
${PYSITELIB}/dns/rdtypes/mxbase.py
${PYSITELIB}/dns/rdtypes/mxbase.pyc
${PYSITELIB}/dns/rdtypes/mxbase.pyo
${PYSITELIB}/dns/rdtypes/nsbase.py
${PYSITELIB}/dns/rdtypes/nsbase.pyc
${PYSITELIB}/dns/rdtypes/nsbase.pyo
+${PYSITELIB}/dns/rdtypes/sigbase.py
+${PYSITELIB}/dns/rdtypes/sigbase.pyc
+${PYSITELIB}/dns/rdtypes/sigbase.pyo
${PYSITELIB}/dns/renderer.py
${PYSITELIB}/dns/renderer.pyc
${PYSITELIB}/dns/renderer.pyo
@@ -179,6 +197,9 @@ ${PYSITELIB}/dns/tsig.pyo
${PYSITELIB}/dns/tsigkeyring.py
${PYSITELIB}/dns/tsigkeyring.pyc
${PYSITELIB}/dns/tsigkeyring.pyo
+${PYSITELIB}/dns/ttl.py
+${PYSITELIB}/dns/ttl.pyc
+${PYSITELIB}/dns/ttl.pyo
${PYSITELIB}/dns/update.py
${PYSITELIB}/dns/update.pyc
${PYSITELIB}/dns/update.pyo
diff --git a/net/py-dns/distinfo b/net/py-dns/distinfo
index 23ac4eb1d88..62fd4b84680 100644
--- a/net/py-dns/distinfo
+++ b/net/py-dns/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.5 2005/02/24 12:14:02 agc Exp $
+$NetBSD: distinfo,v 1.6 2005/04/09 16:50:03 gson Exp $
-SHA1 (dnspython-1.2.0.tar.gz) = 909b211ea76106bfa04d1fb4474ff6ae573ac031
-RMD160 (dnspython-1.2.0.tar.gz) = abb5f0022b0649af8033f8e6d78ca5c0f267cbae
-Size (dnspython-1.2.0.tar.gz) = 82656 bytes
+SHA1 (dnspython-1.3.3.tar.gz) = 0e6fe002c3bc987bf03c91912c4186307dccd1fd
+RMD160 (dnspython-1.3.3.tar.gz) = f2f7ec3435283316c00784ae3a2d019b4586a494
+Size (dnspython-1.3.3.tar.gz) = 86619 bytes