diff options
author | gson <gson> | 2003-08-18 04:02:47 +0000 |
---|---|---|
committer | gson <gson> | 2003-08-18 04:02:47 +0000 |
commit | 21010b0d65059d03b1738bbf621a8be1a425644a (patch) | |
tree | 28145c19447dca1d2aa3ed350478c6cca4a4896d /net/py-dns | |
parent | 77d84ac2145c228a830b12c32def1f43845fb203 (diff) | |
download | pkgsrc-21010b0d65059d03b1738bbf621a8be1a425644a.tar.gz |
Update py-dns to 1.1.0.
Summary of changes from 1.0.0:
* Message sections are now lists of RRsets, not lists of nodes.
* Nodes no longer have names; owner names are associated with
nodes in the Zone object's nodes dictionary.
* Many tests have been added to the test suite; dnspython 1.0.0
had 47 tests, 1.1.0 has 275. The improved testing uncovered a
number of bugs, all of which have been fixed.
* The NameDict class provides a dictionary whose keys are DNS
names. In addition to behaving like a normal Python dictionary,
it also provides the get_deepest_match() method. If, for
example, you had a dictionary containing the keys foo.com and
com, then get_deepest_match() of the name a.b.foo.com would
match the foo.com key.
* A new Renderer class for those applications which want finer
control over the DNS wire format message generation process.
* Support for a "TooBig" exception if the size of wire format
output exceeds a specified limit.
* Zones now have find_rrset() and find_rdataset() convenience
methods. They let you retrieve rdata with the specified name
and type in one call, e.g.:
rrset = zone.find_rrset('foo', 'mx')
* Other new zone convenience methods include: find_node(),
delete_node(), delete_rdataset(), replace_rdataset(),
iterate_rdatasets(), and iterate_rdatas().
* get_ variants of find_ methods are provided; the difference is
that get_ methods return None if the desired object doesn't
exist, whereas the find_ methods raise an exception.
* Zones now have a to_file() method.
* The message and zone from_file() methods allow Unicode filenames
on platforms (and versions of python) which support
them. Universal newline support is also used if available.
* The Zone class now implements more of the standard mapping
interface. E.g. you can say zone.keys(), zone.get('name'),
zone.iteritems(), etc. __iter__() has been changed to iterate
the keys rather than values to match the standard mapping
interface's behavior.
* Rdatasets support more set operations
* Zone and Node factories may be specified, allowing applications
to subclass Zone or Node and yet still use the algorithms which
build zones from master files or AXFR data.
* dns.ipv6.inet_ntoa() now minimizes the text representation of
IPv6 addresses in the usual way,
e.g. "0000:0000:0000:0000:0000:0000:0000:0001" is minimized to
"::1".
* dns.query functions now take an optional address family parameter.
All known bugs from 1.0.0 are fixed in this release.
Diffstat (limited to 'net/py-dns')
-rw-r--r-- | net/py-dns/Makefile | 6 | ||||
-rw-r--r-- | net/py-dns/PLIST | 10 | ||||
-rw-r--r-- | net/py-dns/distinfo | 6 |
3 files changed, 15 insertions, 7 deletions
diff --git a/net/py-dns/Makefile b/net/py-dns/Makefile index b677baa9ccf..88d847f96f8 100644 --- a/net/py-dns/Makefile +++ b/net/py-dns/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.4 2003/07/17 22:51:43 grant Exp $ +# $NetBSD: Makefile,v 1.5 2003/08/18 04:02:47 gson Exp $ -DISTNAME= dnspython-1.0.0 -PKGNAME= ${PYPKGPREFIX}-dns-1.0.0 +DISTNAME= dnspython-1.1.0 +PKGNAME= ${PYPKGPREFIX}-dns-1.1.0 CATEGORIES= net MASTER_SITES= http://www.dnspython.org/kits/${PKGVERSION}/ diff --git a/net/py-dns/PLIST b/net/py-dns/PLIST index 8c18652af4d..36faa9670fc 100644 --- a/net/py-dns/PLIST +++ b/net/py-dns/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 2003/06/29 23:39:30 gson Exp $ +@comment $NetBSD: PLIST,v 1.2 2003/08/18 04:02:47 gson Exp $ ${PYSITELIB}/dns/__init__.py ${PYSITELIB}/dns/__init__.pyc ${PYSITELIB}/dns/dnssec.py @@ -17,6 +17,8 @@ ${PYSITELIB}/dns/message.py ${PYSITELIB}/dns/message.pyc ${PYSITELIB}/dns/name.py ${PYSITELIB}/dns/name.pyc +${PYSITELIB}/dns/namedict.py +${PYSITELIB}/dns/namedict.pyc ${PYSITELIB}/dns/node.py ${PYSITELIB}/dns/node.pyc ${PYSITELIB}/dns/opcode.py @@ -103,10 +105,16 @@ ${PYSITELIB}/dns/rdtypes/mxbase.py ${PYSITELIB}/dns/rdtypes/mxbase.pyc ${PYSITELIB}/dns/rdtypes/nsbase.py ${PYSITELIB}/dns/rdtypes/nsbase.pyc +${PYSITELIB}/dns/renderer.py +${PYSITELIB}/dns/renderer.pyc ${PYSITELIB}/dns/resolver.py ${PYSITELIB}/dns/resolver.pyc +${PYSITELIB}/dns/rrset.py +${PYSITELIB}/dns/rrset.pyc ${PYSITELIB}/dns/tokenizer.py ${PYSITELIB}/dns/tokenizer.pyc +${PYSITELIB}/dns/set.py +${PYSITELIB}/dns/set.pyc ${PYSITELIB}/dns/tsig.py ${PYSITELIB}/dns/tsig.pyc ${PYSITELIB}/dns/tsigkeyring.py diff --git a/net/py-dns/distinfo b/net/py-dns/distinfo index ac21f5308f1..aef1d4ffd62 100644 --- a/net/py-dns/distinfo +++ b/net/py-dns/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.2 2003/06/30 15:33:54 gson Exp $ +$NetBSD: distinfo,v 1.3 2003/08/18 04:02:47 gson Exp $ -SHA1 (dnspython-1.0.0.tar.gz) = 15ae1adee1cecd45f565ca56d45ad1577bd09d4c -Size (dnspython-1.0.0.tar.gz) = 56681 bytes +SHA1 (dnspython-1.1.0.tar.gz) = 6624f62b261182e630d1022267ec18b0b9df054a +Size (dnspython-1.1.0.tar.gz) = 79174 bytes |