head 1.27; access; symbols pkgsrc-2023Q4:1.24.0.4 pkgsrc-2023Q4-base:1.24 pkgsrc-2023Q3:1.24.0.2 pkgsrc-2023Q3-base:1.24 pkgsrc-2023Q2:1.21.0.2 pkgsrc-2023Q2-base:1.21 pkgsrc-2023Q1:1.20.0.6 pkgsrc-2023Q1-base:1.20 pkgsrc-2022Q4:1.20.0.4 pkgsrc-2022Q4-base:1.20 pkgsrc-2022Q3:1.20.0.2 pkgsrc-2022Q3-base:1.20 pkgsrc-2022Q2:1.19.0.6 pkgsrc-2022Q2-base:1.19 pkgsrc-2022Q1:1.19.0.4 pkgsrc-2022Q1-base:1.19 pkgsrc-2021Q4:1.19.0.2 pkgsrc-2021Q4-base:1.19 pkgsrc-2021Q3:1.17.0.12 pkgsrc-2021Q3-base:1.17 pkgsrc-2021Q2:1.17.0.10 pkgsrc-2021Q2-base:1.17 pkgsrc-2021Q1:1.17.0.8 pkgsrc-2021Q1-base:1.17 pkgsrc-2020Q4:1.17.0.6 pkgsrc-2020Q4-base:1.17 pkgsrc-2020Q3:1.17.0.4 pkgsrc-2020Q3-base:1.17 pkgsrc-2020Q2:1.17.0.2 pkgsrc-2020Q2-base:1.17 pkgsrc-2020Q1:1.16.0.8 pkgsrc-2020Q1-base:1.16 pkgsrc-2019Q4:1.16.0.30 pkgsrc-2019Q4-base:1.16 pkgsrc-2019Q3:1.16.0.26 pkgsrc-2019Q3-base:1.16 pkgsrc-2019Q2:1.16.0.24 pkgsrc-2019Q2-base:1.16 pkgsrc-2019Q1:1.16.0.22 pkgsrc-2019Q1-base:1.16 pkgsrc-2018Q4:1.16.0.20 pkgsrc-2018Q4-base:1.16 pkgsrc-2018Q3:1.16.0.18 pkgsrc-2018Q3-base:1.16 pkgsrc-2018Q2:1.16.0.16 pkgsrc-2018Q2-base:1.16 pkgsrc-2018Q1:1.16.0.14 pkgsrc-2018Q1-base:1.16 pkgsrc-2017Q4:1.16.0.12 pkgsrc-2017Q4-base:1.16 pkgsrc-2017Q3:1.16.0.10 pkgsrc-2017Q3-base:1.16 pkgsrc-2017Q2:1.16.0.6 pkgsrc-2017Q2-base:1.16 pkgsrc-2017Q1:1.16.0.4 pkgsrc-2017Q1-base:1.16 pkgsrc-2016Q4:1.16.0.2 pkgsrc-2016Q4-base:1.16 pkgsrc-2016Q3:1.15.0.2 pkgsrc-2016Q3-base:1.15 pkgsrc-2016Q2:1.14.0.4 pkgsrc-2016Q2-base:1.14 pkgsrc-2016Q1:1.14.0.2 pkgsrc-2016Q1-base:1.14 pkgsrc-2015Q4:1.13.0.2 pkgsrc-2015Q4-base:1.13 pkgsrc-2015Q3:1.12.0.14 pkgsrc-2015Q3-base:1.12 pkgsrc-2015Q2:1.12.0.12 pkgsrc-2015Q2-base:1.12 pkgsrc-2015Q1:1.12.0.10 pkgsrc-2015Q1-base:1.12 pkgsrc-2014Q4:1.12.0.8 pkgsrc-2014Q4-base:1.12 pkgsrc-2014Q3:1.12.0.6 pkgsrc-2014Q3-base:1.12 pkgsrc-2014Q2:1.12.0.4 pkgsrc-2014Q2-base:1.12 pkgsrc-2014Q1:1.12.0.2 pkgsrc-2014Q1-base:1.12 pkgsrc-2013Q4:1.11.0.20 pkgsrc-2013Q4-base:1.11 pkgsrc-2013Q3:1.11.0.18 pkgsrc-2013Q3-base:1.11 pkgsrc-2013Q2:1.11.0.16 pkgsrc-2013Q2-base:1.11 pkgsrc-2013Q1:1.11.0.14 pkgsrc-2013Q1-base:1.11 pkgsrc-2012Q4:1.11.0.12 pkgsrc-2012Q4-base:1.11 pkgsrc-2012Q3:1.11.0.10 pkgsrc-2012Q3-base:1.11 pkgsrc-2012Q2:1.11.0.8 pkgsrc-2012Q2-base:1.11 pkgsrc-2012Q1:1.11.0.6 pkgsrc-2012Q1-base:1.11 pkgsrc-2011Q4:1.11.0.4 pkgsrc-2011Q4-base:1.11 pkgsrc-2011Q3:1.11.0.2 pkgsrc-2011Q3-base:1.11 pkgsrc-2011Q2:1.10.0.6 pkgsrc-2011Q2-base:1.10 pkgsrc-2011Q1:1.10.0.4 pkgsrc-2011Q1-base:1.10 pkgsrc-2010Q4:1.10.0.2 pkgsrc-2010Q4-base:1.10 pkgsrc-2010Q3:1.9.0.8 pkgsrc-2010Q3-base:1.9 pkgsrc-2010Q2:1.9.0.6 pkgsrc-2010Q2-base:1.9 pkgsrc-2010Q1:1.9.0.4 pkgsrc-2010Q1-base:1.9 pkgsrc-2009Q4:1.9.0.2 pkgsrc-2009Q4-base:1.9 pkgsrc-2009Q3:1.8.0.16 pkgsrc-2009Q3-base:1.8 pkgsrc-2009Q2:1.8.0.14 pkgsrc-2009Q2-base:1.8 pkgsrc-2009Q1:1.8.0.12 pkgsrc-2009Q1-base:1.8 pkgsrc-2008Q4:1.8.0.10 pkgsrc-2008Q4-base:1.8 pkgsrc-2008Q3:1.8.0.8 pkgsrc-2008Q3-base:1.8 cube-native-xorg:1.8.0.6 cube-native-xorg-base:1.8 pkgsrc-2008Q2:1.8.0.4 pkgsrc-2008Q2-base:1.8 cwrapper:1.8.0.2 pkgsrc-2008Q1:1.7.0.10 pkgsrc-2008Q1-base:1.7 pkgsrc-2007Q4:1.7.0.8 pkgsrc-2007Q4-base:1.7 pkgsrc-2007Q3:1.7.0.6 pkgsrc-2007Q3-base:1.7 pkgsrc-2007Q2:1.7.0.4 pkgsrc-2007Q2-base:1.7 pkgsrc-2007Q1:1.7.0.2 pkgsrc-2007Q1-base:1.7 pkgsrc-2006Q4:1.6.0.14 pkgsrc-2006Q4-base:1.6 pkgsrc-2006Q3:1.6.0.12 pkgsrc-2006Q3-base:1.6 pkgsrc-2006Q2:1.6.0.10 pkgsrc-2006Q2-base:1.6 pkgsrc-2006Q1:1.6.0.8 pkgsrc-2006Q1-base:1.6 pkgsrc-2005Q4:1.6.0.6 pkgsrc-2005Q4-base:1.6 pkgsrc-2005Q3:1.6.0.4 pkgsrc-2005Q3-base:1.6 pkgsrc-2005Q2:1.6.0.2 pkgsrc-2005Q2-base:1.6 pkgsrc-2005Q1:1.5.0.2 pkgsrc-2005Q1-base:1.5 pkgsrc-2004Q4:1.4.0.8 pkgsrc-2004Q4-base:1.4 pkgsrc-2004Q3:1.4.0.6 pkgsrc-2004Q3-base:1.4 pkgsrc-2004Q2:1.4.0.4 pkgsrc-2004Q2-base:1.4 pkgsrc-2004Q1:1.4.0.2 pkgsrc-2004Q1-base:1.4 pkgsrc-2003Q4:1.3.0.2 pkgsrc-2003Q4-base:1.3 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.27 date 2024.02.19.06.02.37; author adam; state Exp; branches; next 1.26; commitid Jt4XDdYW6izEs0ZE; 1.26 date 2024.02.17.10.20.45; author adam; state Exp; branches; next 1.25; commitid bckjmJUHLkLfXLYE; 1.25 date 2024.01.21.20.25.30; author wiz; state Exp; branches; next 1.24; commitid jRAVjZbOa3FAamVE; 1.24 date 2023.08.09.20.19.09; author adam; state Exp; branches; next 1.23; commitid 6cM9TTAtTym8r9AE; 1.23 date 2023.07.27.06.48.15; author adam; state Exp; branches; next 1.22; commitid RSkhxcuZTkTRmpyE; 1.22 date 2023.07.19.10.56.21; author wiz; state Exp; branches; next 1.21; commitid YYGIBR5LIjE00pxE; 1.21 date 2023.05.03.18.45.05; author wiz; state Exp; branches; next 1.20; commitid mCOlFR5QVQeg4ynE; 1.20 date 2022.08.23.22.04.09; author wiz; state Exp; branches; next 1.19; commitid EhNGTf8SiLeFi3RD; 1.19 date 2021.10.26.11.06.35; author nia; state Exp; branches; next 1.18; commitid G83yJyZF8er6kjeD; 1.18 date 2021.10.07.14.42.26; author nia; state Exp; branches; next 1.17; commitid EMvsIaZgYm1t8TbD; 1.17 date 2020.04.17.11.24.43; author adam; state Exp; branches; next 1.16; commitid aQXteB7JiNYYkJ4C; 1.16 date 2016.11.11.09.39.05; author fhajny; state Exp; branches; next 1.15; commitid g57RwTUNXNLX1Htz; 1.15 date 2016.06.30.17.45.04; author wiz; state Exp; branches; next 1.14; commitid GLrtPQs8uk6U1wcz; 1.14 date 2016.03.06.16.58.38; author adam; state Exp; branches; next 1.13; commitid 6ba8ec8s3xAJuBXy; 1.13 date 2015.11.04.00.35.30; author agc; state Exp; branches; next 1.12; commitid K5R8pkzReRJy0IHy; 1.12 date 2014.01.17.22.48.53; author wiz; state Exp; branches; next 1.11; commitid dKnaKYOxsthDtwlx; 1.11 date 2011.07.18.16.10.32; author gson; state Exp; branches; next 1.10; 1.10 date 2010.10.16.10.45.31; author gson; state Exp; branches; next 1.9; 1.9 date 2009.10.31.02.57.30; author wiz; state Exp; branches; next 1.8; 1.8 date 2008.04.25.19.32.44; author tnn; state Exp; branches; next 1.7; 1.7 date 2007.03.09.09.41.36; author gson; state Exp; branches; next 1.6; 1.6 date 2005.04.09.16.50.03; author gson; state Exp; branches; next 1.5; 1.5 date 2005.02.24.12.14.02; author agc; state Exp; branches; next 1.4; 1.4 date 2004.02.23.17.25.32; author minskim; state Exp; branches; next 1.3; 1.3 date 2003.08.18.04.02.47; author gson; state Exp; branches; next 1.2; 1.2 date 2003.06.30.15.33.54; author gson; state Exp; branches; next 1.1; 1.1 date 2003.06.29.23.39.30; author gson; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2003.06.29.23.39.30; author gson; state Exp; branches; next ; desc @@ 1.27 log @py-dns: updated to 2.6.1 2.6.1 Dnspython 2.6.1 is now available on PyPI. See What’s New for details. This is a bug fix release for 2.6.0 where the “TuDoor” fix erroneously suppressed legitimate Truncated exceptions. This caused the stub resolver to timeout instead of failing over to TCP when a legitimate truncated response was received over UDP. This release addresses the potential DoS issue discussed in the “TuDoor” paper (CVE-2023-29483). The dnspython stub resolver is vulnerable to a potential DoS if a bad-in-some-way response from the right address and port forged by an attacker arrives before a legitimate one on the UDP port dnspython is using for that query. @ text @$NetBSD: distinfo,v 1.26 2024/02/17 10:20:45 adam Exp $ BLAKE2s (dnspython-2.6.1.tar.gz) = bef20b66bb77b820542960649a25def611d6504136d7bd4250a0062ef6fdd840 SHA512 (dnspython-2.6.1.tar.gz) = 0a2950b320e3963b0f76a80575b4387b2a92201a3e0a279900f81e353fbc8810f2b8aab8ad680d01e1a7e079c4e37292e103ab8db860ba646451593541067fbb Size (dnspython-2.6.1.tar.gz) = 332727 bytes @ 1.26 log @py-dns: updated to 2.6.0 2.6.0 Dnspython 2.6.0 is now available on PyPI. See What’s New for details. This release addresses the potential DoS issue discussed in the “TuDoor” paper (CVE-2023-29483). The dnspython stub resolver is vulnerable to a potential DoS if a bad-in-some-way response from the right address and port forged by an attacker arrives before a legitimate one on the UDP port dnspython is using for that query. In this situation, dnspython might switch to querying another resolver or give up entirely, possibly denying service for that resolution. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.25 2024/01/21 20:25:30 wiz Exp $ d3 3 a5 3 BLAKE2s (dnspython-2.6.0.tar.gz) = 2ad4aa5e6a49c6fa330f1b4855bc0bc7408ff2eed254d844f269d54eb5a88abb SHA512 (dnspython-2.6.0.tar.gz) = 1f8f439d6c174d0c22fdcbacafafb128746bfb22475a0d2d0fac1d5ff87294f18b0aeee4385082fcd577f9efbf2e14ffd48bf2c4b1bc52594b6e5759464f5fcb Size (dnspython-2.6.0.tar.gz) = 332136 bytes @ 1.25 log @py-dns: update to 2.5.0. 2.5.0 Dnspython now uses hatchling for builds. Asynchronous destinationless sockets now work on Windows. Cython is no longer supported due to various typing issues. Dnspython now explicitly canonicalizes IPv4 and IPv6 addresses. Previously it was possible for non-canonical IPv6 forms to be stored in a AAAA address, which would work correctly but possibly cause problmes if the address were used as a key in a dictionary. The number of messages in a section can be retrieved with section_count(). Truncation preferences for messages can be specified. The length of a message can be automatically prepended when rendering. dns.message.create_response() automatically adds padding when required by RFC 8467. The TLS verify parameter is now supported by dns.query.tls(), and the DoH and DoT Nameserver subclasses. The MutableMapping used to store content in a zone may now be specified by a factory when subclassing. Factories may also be provided for writable verisons and immutable versions. dns.name.Name now has predecessor() and successor() methods implementing RFC 4471. QUIC has had a number of bug fixes and also now supports session tickets for faster session resumption. The NSEC3 class now has a next_name() method for retrieving the next name as a dns.name.Name. Windows WMI interface detection should be more robust. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.24 2023/08/09 20:19:09 adam Exp $ d3 3 a5 3 BLAKE2s (dnspython-2.5.0.tar.gz) = 649c6aab80877d38c1d04018877605648c2ae8987b586a9734839f1e13f8bd25 SHA512 (dnspython-2.5.0.tar.gz) = d71973b0106ebeecaf0c67e1095dc5baf4d35b2b90885c92a7903125d1baed4a21daca1276b8add86dc9021392557f1a265e0ba6e318fbdab98d1cae39144448 Size (dnspython-2.5.0.tar.gz) = 328083 bytes @ 1.24 log @py-dns: updated to 2.4.2 2.4.2 Async queries could wait forever instead of respecting the timeout if the timeout was 0 and a packet was lost. The timeout is now respected. Restore HTTP/2 support which was accidentally broken during the https refactoring done as part of 2.4.0. When an inception time and lifetime are specified, the signer now sets the expiration to the inception time plus lifetime, instead of the current time plus the lifetime. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.23 2023/07/27 06:48:15 adam Exp $ d3 3 a5 3 BLAKE2s (dnspython-2.4.2.tar.gz) = 73a3da94c33ac2eb3d53f9558dfa919923e5b90b1a892794ae08aaa10f5305a2 SHA512 (dnspython-2.4.2.tar.gz) = a64cf8f02f7c223d5b9a4ab77dd933d766909b04e7ee5bfa6f2e882448dc7c543d869d8e4bce27b5f10ef3c006d54150904767d9c22c4219fdc7db5bc6da26c9 Size (dnspython-2.4.2.tar.gz) = 328126 bytes @ 1.23 log @py-dns: updated to 2.4.1 2.4.1 This is a bug fix release, see What’s New for the details. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.22 2023/07/19 10:56:21 wiz Exp $ d3 3 a5 3 BLAKE2s (dnspython-2.4.1.tar.gz) = 1906f54d7beabb9a97ce35cb2f187a6c50dce9041abc4f3d2aca3b772b3d2161 SHA512 (dnspython-2.4.1.tar.gz) = 45d2e9c77e10b5ced952ccd5807c31287a25c33fb51827ff1e4b81ed0afd8a2db482fa8e8a1ce7ce43a4396d3a1d5259dc2b6eb19b5668a9b57d1eb5b931f217 Size (dnspython-2.4.1.tar.gz) = 327929 bytes @ 1.22 log @py-dns: update to 2.4.0. Dnspython 2.4.0 is now available on PyPI. See What’s New! Thank you to all the contributors to this release. Special thanks to Jakob Schlyter for writing zone signing code and also refactoring the DNSSEC code to allow new algorithms to be added more easily. Dnspython 2.4.0 requires Python 3.8 or later. Also note that this release drops support for curio and requests (DoH is now done exclusively with httpx). @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.21 2023/05/03 18:45:05 wiz Exp $ d3 3 a5 3 BLAKE2s (dnspython-2.4.0.tar.gz) = 419bfce565bf1ca7ecc148de76839ed580ed790de4c3cc095bef69a383292547 SHA512 (dnspython-2.4.0.tar.gz) = 2d85c0aba1d1993b79aadad98067cf7bd95c0dd369088be6e9051213a0d62cdf7c71e2a274e773fa407bf65a352cf17a68c1104b78a2d2be5847d346b7e1eb2f Size (dnspython-2.4.0.tar.gz) = 327279 bytes @ 1.21 log @py-dns: update to 2.3.0. 2.3.0 Python 3.7 or newer is required. Type annotations are now integrated with the source code and cover far more of the library. The get_soa() method has been added to dns.zone.Zone. The minimum TLS version is now 1.2. EDNS padding is now supported. Messages with EDNS enabled and with a non-zero pad option will be automatically padded appropriately when converted to wire format. dns.zone.from_text() and dns.zone.from_file() now have an allow_directives parameter to allow finer control over how directives in zonefiles are processed. A preliminary implementation of DNS-over-QUIC has been added, and will be available if the aioquic library is present. See dns.query.quic(), dns.asyncquery.quic(), and examples/doq.py for more info. This API is subject to change in future releases. For asynchronous I/O, both asyncio and Trio are supported, but Curio is not. DNSSEC signing support has been added to the dns.dnssec module, along with a number of functions to help generate DS, CDS, and CDNSKEY RRsets. Thank you very much Jakob Schlyter! Curio asynchronous I/O support is deprecated as of this release and will be removed in a future release. The resolver object's nameserver field is planned to become a property in dnspython 2.4. Writing to this field other than by direct assignment is deprecated, and so is depending on the mutability and form of the iterable returned when it is read. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.20 2022/08/23 22:04:09 wiz Exp $ d3 3 a5 3 BLAKE2s (dnspython-2.3.0.tar.gz) = c5f441bf43ea6086235cebee193fa9b3054b9b949920a068a598b251103ea600 SHA512 (dnspython-2.3.0.tar.gz) = 533a8cdd11387fa0eba2a12c6bda1beb6d617cd4ef4c4efd7e649da330a31e45567ea4df7eea59a639a6a940706fe2307fe2613dd7b9f60efda0467a8c751154 Size (dnspython-2.3.0.tar.gz) = 312313 bytes @ 1.20 log @py-dns: update to 2.2.1. Python 3 only, upstream does not maintain a changelog any longer. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.19 2021/10/26 11:06:35 nia Exp $ d3 3 a5 3 BLAKE2s (dnspython-2.2.1.tar.gz) = c8f1587e8f0b259a0d4253f1030e6f24b871e7a9551bb6e2f7af5558130e6d19 SHA512 (dnspython-2.2.1.tar.gz) = 4b4d9c1670d7e948fb9eaa60d1a9ddef53d74f44dc547ad2b1b93390943bc3ed92da3adf4d711dcf216fd703da00389fc055b9ae96c7ff6ca012836b7601f464 Size (dnspython-2.2.1.tar.gz) = 281325 bytes @ 1.19 log @ net: Replace RMD160 checksums with BLAKE2s checksums All checksums have been double-checked against existing RMD160 and SHA512 hashes Not committed (merge conflicts...): net/radsecproxy/distinfo The following distfiles could not be fetched (fetched conditionally?): ./net/citrix_ica/distinfo citrix_ica-10.6.115659/en.linuxx86.tar.gz ./net/djbdns/distinfo dnscache-1.05-multiple-ip.patch ./net/djbdns/distinfo djbdns-1.05-test28.diff.xz ./net/djbdns/distinfo djbdns-1.05-ignoreip2.patch ./net/djbdns/distinfo djbdns-1.05-multiip.diff ./net/djbdns/distinfo djbdns-cachestats.patch @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.18 2021/10/07 14:42:26 nia Exp $ d3 3 a5 3 BLAKE2s (dnspython-1.16.0.tar.gz) = 613ebe96056f553e83876ba4350caa0f1ff8c52f63e0e87fbbe2f4ec56ded148 SHA512 (dnspython-1.16.0.tar.gz) = 41ddca2faf696d5d682551f517efd90c007011c1f6d9355d297d71a3fe84222a1e528945343d8c2276ad3957ceaab578f3df7c2c1709418ffcca01ccbb379359 Size (dnspython-1.16.0.tar.gz) = 150524 bytes @ 1.18 log @net: Remove SHA1 hashes for distfiles @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.17 2020/04/17 11:24:43 adam Exp $ d3 1 a3 1 RMD160 (dnspython-1.16.0.tar.gz) = c3662f85998d51b437a3eaa0f5a04c3b0d61fd69 @ 1.17 log @py-dns: updated to 1.16.0 1.16.0 is mostly a bug fix release. It switches from the unmaintained pycrypto to pycryptodome or pycryptodomex. It has some notable new features, including support for Cython, EDNS0 client subnet, the OPENPGPKEY RR, and Python type signatures. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.16 2016/11/11 09:39:05 fhajny Exp $ a2 1 SHA1 (dnspython-1.16.0.tar.gz) = b0f30e7798a368a0aec67aa8e1dceebcd52187a6 @ 1.16 log @Update net/py-dns to 1.15.0. * IDNA 2008 support is now available if the "idna" module has been installed and IDNA 2008 is requested. The default IDNA behavior is still IDNA 2003. The new IDNA codec mechanism is currently only useful for direct calls to dns.name.from_text() or dns.name.from_unicode(), but in future releases it will be deployed throughout dnspython, e.g. so that you can read a masterfile with an IDNA 2008 codec in force. * By default, dns.name.to_unicode() is not strict about which version of IDNA the input complies with. Strictness can be requested by using one of the strict IDNA codecs. * Add AVC RR support. * Some problems with newlines in various output modes have been addressed. * dns.name.to_text() now returns text and not bytes on Python 3.x * More miscellaneous fixes for the Python 2/3 codeline merge. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.15 2016/06/30 17:45:04 wiz Exp $ d3 4 a6 4 SHA1 (dnspython-1.15.0.tar.gz) = fcb8edb4b307f68a27cd356e7b44f53512b63b5e RMD160 (dnspython-1.15.0.tar.gz) = b3bf88a627850d29b5da6e67d5f2e9643283bc65 SHA512 (dnspython-1.15.0.tar.gz) = 89792cc5033a1a93a4018cf437adf141364c8a072bf7e8eb4abbe7d7f6351e652129138405c0cee2173870618f480fba4cd30f3b4874f40f5c6f870c252f08ed Size (dnspython-1.15.0.tar.gz) = 144073 bytes @ 1.15 log @Updated py-dns to 1.14.0. 2016-05-27 Bob Halley * (Version 1.14.0 released) * Add CSYNC RR support * Fix bug in LOC which destroyed N/S and E/W distinctions within a degree of the equator or prime merdian respectively. * Misc. fixes to deal with fallout from the Python 2 & 3 merge. [issue #156], [issue #157], [issue #158], [issue #159], [issue #160]. * Running with python optimization on caused issues when stripped docstrings were referenced. [issue #154] * dns.zone.from_text() erroneously required the zone to be provided. [issue #153] 2016-05-13 Bob Halley * dns/message.py (make_query): Setting any value which implies EDNS will turn on EDNS if 'use_edns' has not been specified. 2016-05-12 Bob Halley * TSIG signature algorithm setting was broken by the Python 2 and Python 3 code line merge. Fixed. 2016-05-10 Bob Halley * (Version 1.13.0 released) 2016-05-10 Bob Halley * Dropped support for Python 2.4 and 2.5. * Zone origin can be specified as a string. * Support string representation for all DNSExceptions. * Use setuptools not distutils * A number of Unicode name bug fixes. * Added support for CAA, CDS, CDNSKEY, EUI48, EUI64, and URI RR types. * Names now support the pickle protocol. * NameDicts now keep the max-depth value correct, and update properly. * resolv.conf processing rejects lines with too few tokens. * Ports can be specified per-nameserver in the stub resolver. 2016-05-03 Arthur Gautier * Single source support for python 2.6+ and 3.3+ 2014-09-04 Bob Halley * Comparing two rdata is now always done by comparing the binary data of the DNSSEC digestable forms. This corrects a number of errors where dnspython's rdata comparison order was not the DNSSEC order. * Add CAA implementation. Thanks to Brian Wellington for the patch. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.14 2016/03/06 16:58:38 adam Exp $ d3 4 a6 4 SHA1 (dnspython-1.14.0.tar.gz) = e58c4dcfba3391620038fa303268a34f4ac47832 RMD160 (dnspython-1.14.0.tar.gz) = f762bb70ddf17c141909ef9ce9cdf5d78605ff05 SHA512 (dnspython-1.14.0.tar.gz) = c2fa2148ea8c2c33c43dc7c2a08798bb687c6e8ad506119d31adb17792c667f973f415ac3582e2fb36ad25c95b611eee558ffc02d81da17626ecf1ee21ab5c0a Size (dnspython-1.14.0.tar.gz) = 144591 bytes @ 1.14 log @Changes 1.12.0: * The test system can now run the tests without requiring dnspython to be installed. * The 64-bit version of Python on Windows has sys.maxint set to 2^31-1, yet passes 2^63-1 as the "unspecified bound" value in slices. This is a bug in Python as the documentation says the unspecified bound value should be sys.maxint. We now cope with this. * When reading from a masterfile, if the first content line started with leading whitespace, we raised an ugly exception instead of doing the right thing, namely using the zone origin as the name. * Added dns.zone.to_text() convenience method. * The /etc/resolv.conf setting "options rotate" is now understood by the resolver. If present, the resolver will shuffle the nameserver list each time dns.resolver.query() is called. Thanks to underrun for the patch. Note that you don't want to add "options rotate" to your /etc/resolv.conf if your system's resolver library does not understand it. In this case, just set resolver.rotate = True by hand. * Escaping of Unicode has been corrected. Previously we escaped and then converted to Unicode, but the right thing to do is convert to Unicode, then escape. Also, characters > 0x7f should NOT be escaped in Unicode mode. * dns.rdtypes.ANY.DNSKEY now has helpers functions to convert between the numeric form of the flags and a set of human-friendly strings. * RRSIGs did not respect relativization settings in to_text(). * dns/rdtypes/IN/APL.py: The APL from_wire() method did not accept an rdata length of 0 as valid. * dns/ipv6.py: Add is_mapped() * dns/reversename.py: Lookup IPv6 mapped IPv4 addresses in the v4 reverse namespace. * dns/zone.py: Do not put back an unescaped token. This was causing escape processing for domain names to break. * dns/message.py: Making a response didn't work correctly if the query was signed with TSIG and we knew the key. * dns/query.py: Fix problems with the IXFR state machine which caused long diffs to fail. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.13 2015/11/04 00:35:30 agc Exp $ d3 4 a6 4 SHA1 (dnspython-1.12.0.tar.gz) = 371c68b83fd2a06c6492b024acc1684fc150e1f3 RMD160 (dnspython-1.12.0.tar.gz) = e17bd5b87b45e6ca3192110bed1997be2c43861c SHA512 (dnspython-1.12.0.tar.gz) = 583d069ed7ee9b20f16a964023fa0300f15032c27de6d084205f73394f19a2d5bb1641ef95b08a8ddf1f622eeb5fa8cbfa62b8a2ee478a49b0dff0995e4ae42e Size (dnspython-1.12.0.tar.gz) = 135164 bytes @ 1.13 log @Add SHA512 digests for distfiles for net category Problems found with existing digests: Package haproxy distfile haproxy-1.5.14.tar.gz 159f5beb8fdc6b8059ae51b53dc935d91c0fb51f [recorded] da39a3ee5e6b4b0d3255bfef95601890afd80709 [calculated] Problems found locating distfiles: Package bsddip: missing distfile bsddip-1.02.tar.Z Package citrix_ica: missing distfile citrix_ica-10.6.115659/en.linuxx86.tar.gz Package djbdns: missing distfile djbdns-1.05-test25.diff.bz2 Package djbdns: missing distfile djbdns-cachestats.patch Package djbdns: missing distfile 0002-dnscache-cache-soa-records.patch Package gated: missing distfile gated-3-5-11.tar.gz Package owncloudclient: missing distfile owncloudclient-2.0.2.tar.xz Package poink: missing distfile poink-1.6.tar.gz Package ra-rtsp-proxy: missing distfile rtspd-src-1.0.0.0.tar.gz Package ucspi-ssl: missing distfile ucspi-ssl-0.70-ucspitls-0.1.patch Package waste: missing distfile waste-source.tar.gz Otherwise, existing SHA1 digests verified and found to be the same on the machine holding the existing distfiles (morden). All existing SHA1 digests retained for now as an audit trail. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.12 2014/01/17 22:48:53 wiz Exp $ d3 4 a6 4 SHA1 (dnspython-1.11.1.tar.gz) = d86d1eb6eb28c8ebaea38b4e72e11c800eb04514 RMD160 (dnspython-1.11.1.tar.gz) = a6369f77c4da591e0e6ede094c3a02e901d52ef9 SHA512 (dnspython-1.11.1.tar.gz) = 03b2d35ae638a05d1af5458e88ab3450c1bf835a4e704b630474f32b8f93844b625ab2fc0000fdf2490bc90e3ec01f56175be130b5de996546c8bcebe57dfc05 Size (dnspython-1.11.1.tar.gz) = 129573 bytes @ 1.12 log @Update to 1.11.1: * (Version 1.11.1 released) * dns/tsigkeyring.py (to_text): we want keyname.to_text(), not dns.name.to_text(keyname). Thangs to wangwang for the fix. * dns/tsig.py (sign): multi-message TSIGs were broken for algorithms other than HMAC-MD5 because we weren't passing the right digest module to the HMAC code. Thanks to salzmdan for reporting the bug. * dns/dnssec.py (_find_candidate_keys): we tried to extract the key from the wrong variable name. Thanks to Andrei Fokau for the fix. * dns/resolver.py: we want 'self.retry_servfail' not just retry_servfail. Reported by many, thanks! Thanks to Jeffrey C. Ollie for the fix. * tests/grange.py: fix tests to use older-style print formatting for backwards compatibility with python 2.4. Thanks to Jeffrey C. Ollie for the fix. * (Version 1.11.0 released) * dns/name.py (Name.to_wire): Do not add items with offsets >= 2^14 to the compression table. Thanks to Casey Deccio for discovering this bug. * dns/ipv6.py (inet_ntoa): We now comply with RFC 5952 section 5.2.2, by *not* using the :: syntax to shorten just one 16-bit field. Thanks to David Waitzman for reporting the bug and suggesting the fix. * lock caches in case they are shared * raise YXDOMAIN if we see one * do not print empty rdatasets * Add contributed $GENERATE support (thanks uberj) * Remove DNSKEY keytag uniqueness assumption (RFC 4034, section 8) (thanks James Dempsey) * added set_flags() method to dns.resolver.Resolver * added support for TLSA RR * dns/rdtypes/ANY/NSEC3.py (NSEC3.from_text): The NSEC3 from_text() method could erroneously emit empty bitmap windows (i.e. windows with a count of 0 bytes); such bitmaps are illegal. * (Version 1.10.0 released) * dns/message.py (make_query): All EDNS values may now be specified when calling make_query() * dns/query.py: Specifying source_port had no effect if source was not specified. We now use the appropriate wildcard source in that case. * dns/resolver.py (Resolver.query): source_port may now be specified. * dns/resolver.py (Resolver.query): Switch to TCP when a UDP response is truncated. Handle nameservers that serve on UDP but not TCP. * dns/zone.py (from_xfr): dns.zone.from_xfr() now takes a 'check_origin' parameter which defaults to True. If set to False, then dnspython will not make origin checks on the zone. Thanks to Carlos Perez for the report. * dns/rdtypes/ANY/SSHFP.py (SSHFP.from_text): Allow whitespace in the text string. Thanks to Jan Andres for the report and the patch. * dns/message.py (from_wire): dns.message.from_wire() now takes an 'ignore_trailing' parameter which defaults to False. If set to True, then trailing junk will be ignored instead of causing TrailingJunk to be raised. Thanks to Shane Huntley for contributing the patch. * dns/resolver.py: Added LRUCache. In this cache implementation, the cache size is limited to a user-specified number of nodes, and when adding a new node to a full cache the least-recently used node is removed. * dns/resolver.py: dns.resolver.override_system_resolver() overrides the socket module's versions of getaddrinfo(), getnameinfo(), getfqdn(), gethostbyname(), gethostbyname_ex() and gethostbyaddr() with an implementation which uses a dnspython stub resolver instead of the system's stub resolver. This can be useful in testing situations where you want to control the resolution behavior of python code without having to change the system's resolver settings (e.g. /etc/resolv.conf). dns.resolver.restore_system_resolver() undoes the change. * dns/ipv4.py: dnspython now provides its own, stricter, versions of IPv4 inet_ntoa() and inet_aton() instead of using the OS's versions. * dns/ipv6.py: inet_aton() now bounds checks embedded IPv4 addresses more strictly. Also, now only dns.exception.SyntaxError can be raised on bad input. * Old DNSSEC types (KEY, NXT, and SIG) have been removed. * Bounds checking of slices in rdata wire processing is now more strict, and bounds errors (e.g. we got less data than was expected) now raise dns.exception.FormError rather than IndexError. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.11 2011/07/18 16:10:32 gson Exp $ d5 1 @ 1.11 log @Update net/py-dns to 1.9.4. Changes since 1.8.0: 2011-03-24 Bob Halley * dns/rdata.py (Rdata._wire_cmp): We need to specify no compression and an origin to _wire_cmp() in case names in the rdata are relative names. * dns/rdtypes/ANY/SIG.py (SIG._cmp): Add missing 'import struct'. Thanks to Arfrever Frehtes Taifersar Arahesis for reporting the problem. 2011-03-24 Bob Halley * (Version 1.9.3 released) 2011-03-22 Bob Halley * dns/resolver.py: a boolean parameter, 'raise_on_no_answer', has been added to the query() methods. In no-error, no-data situations, this parameter determines whether NoAnswer should be raised or not. If True, NoAnswer is raised. If False, then an Answer() object with a None rrset will be returned. * dns/resolver.py: Answer() objects now have a canonical_name field. 2011-01-11 Bob Halley * Dnspython was erroneously doing case-insensitive comparisons of the names in NSEC and RRSIG RRs. Thanks to Casey Deccio for reporting this bug. 2010-12-17 Bob Halley * dns/message.py (_WireReader._get_section): use "is" and not "==" when testing what section an RR is in. Thanks to James Raftery for reporting this bug. 2010-12-10 Bob Halley * dns/resolver.py (Resolver.query): disallow metaqueries. * dns/rdata.py (Rdata.__hash__): Added a __hash__ method for rdata. 2010-11-23 Bob Halley * (Version 1.9.2 released) 2010-11-23 Bob Halley * dns/dnssec.py (_need_pycrypto): DSA and RSA are modules, not functions, and I didn't notice because the test suite masked the bug! *sigh* 2010-11-22 Bob Halley * (Version 1.9.1 released) 2010-11-22 Bob Halley * dns/dnssec.py: the "from" style import used to get DSA from PyCrypto trashed a DSA constant. Now a normal import is used to avoid namespace contamination. 2010-11-20 Bob Halley * (Version 1.9.0 released) 2010-11-07 Bob Halley * dns/dnssec.py: Added validate() to do basic DNSSEC validation (requires PyCrypto). Thanks to Brian Wellington for the patch. * dns/hash.py: Hash compatibility handling is now its own module. 2010-10-31 Bob Halley * dns/resolver.py (zone_for_name): A query name resulting in a CNAME or DNAME response to a node which had an SOA was incorrectly treated as a zone origin. In these cases, we should just look higher. Thanks to Gert Berger for reporting this problem. * Added zonediff.py to examples. This program compares two zones and shows the differences either in diff-like plain text, or HTML. Thanks to Dennis Kaarsemaker for contributing this useful program. 2010-10-27 Bob Halley * Incorporate a patch to use poll() instead of select() by default on platforms which support it. Thanks to Peter Schüller and Spotify for the contribution. 2010-10-17 Bob Halley * Python prior to 2.5.2 doesn't compute the correct values for HMAC-SHA384 and HMAC-SHA512. We now detect attempts to use them and raise NotImplemented if the Python version is too old. Thanks to Kevin Chen for reporting the problem. * Various routines that took the string forms of rdata types and classes did not permit the strings to be Unicode strings. Thanks to Ryan Workman for reporting the issue. * dns/tsig.py: Added symbolic constants for the algorithm strings. E.g. you can now say dns.tsig.HMAC_MD5 instead of "HMAC-MD5.SIG-ALG.REG.INT". Thanks to Cillian Sharkey for suggesting this improvement. * dns/tsig.py (get_algorithm): fix hashlib compatibility; thanks to Kevin Chen for the patch. * dns/dnssec.py: Added key_id() and make_ds(). * dns/message.py: message.py needs to import dns.edns since it uses it. 2010-05-04 Bob Halley * dns/rrset.py (RRset.__init__): "covers" was not passed to the superclass __init__(). Thanks to Shanmuga Rajan for reporting the problem. 2010-03-10 Bob Halley * The TSIG algorithm value was passed to use_tsig() incorrectly in some cases. Thanks to 'ducciovigolo' for reporting the problem. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.10 2010/10/16 10:45:31 gson Exp $ d3 3 a5 3 SHA1 (dnspython-1.9.4.tar.gz) = 41d00d0f81bc9aba02c5c62e1d4a8ee57810410e RMD160 (dnspython-1.9.4.tar.gz) = 0ec0bb554208b215e8f70b7ebc41414387d6a178 Size (dnspython-1.9.4.tar.gz) = 120126 bytes @ 1.10 log @Update net/py-dns to 1.8.0. Summary of changes since 1.7.1: 2010-01-13 Bob Halley * dns/dnssec.py: Added RSASHA256 and RSASHA512 codepoints; added other missing codepoints to _algorithm_by_text. 2010-01-12 Bob Halley * Escapes in masterfiles now work correctly. Previously they were only working correctly when the text involved was part of a domain name. * dns/tokenizer.py: The tokenizer's get() method now returns Token objects, not (type, text) tuples. 2009-11-13 Bob Halley * Support has been added for hmac-sha1, hmac-sha224, hmac-sha256, hmac-sha384 and hmac-sha512. Thanks to Kevin Chen for a thoughtful, high quality patch. * dns/update.py (Update::present): A zero TTL was not added if present() was called with a single rdata, causing _add() to be unhappy. Thanks to Eugene Kim for reporting the problem and submitting a patch. * dns/entropy.py: Use os.urandom() if present. Don't seed until someone wants randomness. 2009-09-16 Bob Halley * dns/entropy.py: The entropy module needs locking in order to be used safely in a multithreaded environment. Thanks to Beda Kosata for reporting the problem. 2009-07-27 Bob Halley * dns/query.py (xfr): The socket was not set to nonblocking mode. Thanks to Erik Romijn for reporting this problem. 2009-07-23 Bob Halley * dns/rdtypes/IN/SRV.py (SRV._cmp): SRV records were compared incorrectly due to a cut-and-paste error. Thanks to Tommie Gannert for reporting this bug. * dns/e164.py (query): The resolver parameter was not used. Thanks to Matías Bellone for reporting this bug. 2009-06-23 Bob Halley * dns/entropy.py (EntropyPool.__init__): open /dev/random unbuffered; there's no need to consume more randomness than we need. Thanks to Brian Wellington for the patch. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.9 2009/10/31 02:57:30 wiz Exp $ d3 3 a5 3 SHA1 (dnspython-1.8.0.tar.gz) = 71f9a1b4243fca7a4cbda064665d15fc4c28f91e RMD160 (dnspython-1.8.0.tar.gz) = d7ab6f336a2c677544d1706d1d32e67afaad9405 Size (dnspython-1.8.0.tar.gz) = 108588 bytes @ 1.9 log @Update to 1.7.1: 2009-06-19 Bob Halley * (Version 1.7.1 released) 2009-06-19 Bob Halley * DLV.py was omitted from the kit * Negative prerequisites were not handled correctly in _get_section(). 2009-06-19 Bob Halley * (Version 1.7.0 released) 2009-06-19 Bob Halley * On Windows, the resolver set the domain incorrectly. Thanks to Brandon Carpenter for reporting this bug. * Added a to_digestable() method to rdata classes; it returns the digestable form (i.e. DNSSEC canonical form) of the rdata. For most rdata types this is the same uncompressed wire form. For certain older DNS RR types, however, domain names in the rdata are downcased. * Added support for the HIP RR type. 2009-06-18 Bob Halley * Added support for the DLV RR type. * Added various DNSSEC related constants (e.g. algorithm identifiers, flag values). * dns/tsig.py: Added support for BADTRUNC result code. * dns/query.py (udp): When checking that addresses are the same, use the binary form of the address in the comparison. This ensures that we don't treat addresses as different if they have equivalent but differing textual representations. E.g. "1:00::1" and "1::1" represent the same address but are not textually equal. Thanks to Kim Davies for reporting this bug. * The resolver's query() method now has an optional 'source' parameter, allowing the source IP address to be specified. Thanks to Alexander Lind for suggesting the change and sending a patch. * Added NSEC3 and NSEC3PARAM support. 2009-06-17 Bob Halley * Fixed NSEC.to_text(), which was only printing the last window. Thanks to Brian Wellington for finding the problem and fixing it. 2009-03-30 Bob Halley * dns/query.py (xfr): Allow UDP IXFRs. Use "one_rr_per_rrset" mode when doing IXFR. 2009-03-30 Bob Halley * Add "one_rr_per_rrset" mode switch to methods which parse messages from wire format (e.g. dns.message.from_wire(), dns.query.udp(), dns.query.tcp()). If set, each RR read is placed in its own RRset (instead of being coalesced). 2009-03-30 Bob Halley * Added EDNS option support. 2008-10-16 Bob Halley * dns/rdtypes/ANY/DS.py: The from_text() parser for DS RRs did not allow multiple Base64 chunks. Thanks to Rakesh Banka for finding this bug and submitting a patch. 2008-10-08 Bob Halley * Add entropy module. * When validating TSIGs, we need to use the absolute name. 2008-06-03 Bob Halley * dns/message.py (Message.set_rcode): The mask used preserved the extended rcode, instead of everything else in ednsflags. * dns/message.py (Message.use_edns): ednsflags was not kept coherent with the specified edns version. 2008-02-06 Bob Halley * dns/ipv6.py (inet_aton): We could raise an exception other than dns.exception.SyntaxError in some cases. * dns/tsig.py: Raise an exception when the peer has set a non-zero TSIG error. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.8 2008/04/25 19:32:44 tnn Exp $ d3 3 a5 3 SHA1 (dnspython-1.7.1.tar.gz) = 9423854b4ca28235bc0c457a7009d3530e1ab6bc RMD160 (dnspython-1.7.1.tar.gz) = 73eb3433cff218f859c748944ec3e442ed25ff25 Size (dnspython-1.7.1.tar.gz) = 106517 bytes @ 1.8 log @Update to 1.6.0. - supports DESTDIR - Accept Python 2.5 ChangeLog: 2007-11-25 Bob Halley * dns/inet.py: Added is_multicast(). * dns/query.py (udp): If the queried address is a multicast address, then don't check that the address of the response is the same as the address queried. 2007-05-24 Bob Halley * dns/rdtypes/IN/NAPTR.py: NAPTR comparisons didn't compare the preference field due to a typo. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.7 2007/03/09 09:41:36 gson Exp $ d3 3 a5 3 SHA1 (dnspython-1.6.0.tar.gz) = e5eeba2d5780db280cc144c7cf777a27972d9ad1 RMD160 (dnspython-1.6.0.tar.gz) = b4a40b3fe6a7b63e8c801df6be8346570f121030 Size (dnspython-1.6.0.tar.gz) = 100140 bytes @ 1.7 log @Update py-dns to 1.5.0. Summary of changes since 1.3.3: * dns/rdtypes/IN/DHCID.py: Added support for the DHCID RR type. * dns/query.py (udp): Messages from unexpected sources can now be ignored by setting ignore_unexpected to True. * dns/query.py (udp): When raising UnexpectedSource, add more detail about what went wrong to the exception. * dns/message.py (Message.use_edns): add reasonable defaults for the ednsflags, payload, and request_payload parameters. * dns/message.py (Message.want_dnssec): add a convenience method for enabling/disabling the "DNSSEC desired" flag in requests. * dns/message.py (make_query): add "use_edns" and "want_dnssec" parameters. * dns/resolver.py (Resolver.read_resolv_conf): If /etc/resolv.conf doesn't exist, just use the default resolver configuration (i.e. the same thing we would have used if resolv.conf had existed and been empty). * dns/resolver.py (Resolver._config_win32_fromkey): fix cut-and-paste error where we passed the wrong variable to self._config_win32_search(). Thanks to David Arnold for finding the bug and submitting a patch. * dns/resolver.py (Answer): Add more support for the sequence protocol, forwarding requests to the answer object's rrset. E.g. "for a in answer" is equivalent to "for a in answer.rrset", "answer[i]" is equivalent to "answer.rrset[i]", and "answer[i:j]" is equivalent to "answer.rrset[i:j]". * dns/query.py (xfr): Add IXFR support. * dns/rdtypes/IN/IPSECKEY.py: Added support for the IPSECKEY RR type. * dns/rdtypes/ANY/SPF.py: Added support for the SPF RR type. * (Version 1.4.0 released) * dns/rrset.py (RRset.to_rdataset): Added a convenience method to convert an rrset into an rdataset. * Added dns.e164.query(). This function can be used to look for NAPTR RRs for a specified number in several domains, e.g.: dns.e164.query('16505551212', ['e164.dnspython.org.', 'e164.arpa.']) * dns/resolver.py (Resolver.query): The resolver deleted from a list while iterating it, which makes the iterator unhappy. * dns/resolver.py (Resolver.query): The resolver needlessly delayed responses for successful queries. * dns/rdata.py: added a validate() method to the rdata class. If you change an rdata by assigning to its fields, it is a good idea to call validate() when you are done making changes. For example, if 'r' is an MX record and then you execute: r.preference = 100000 # invalid, because > 65535 r.validate() The validation will fail and an exception will be raised. * dns/ttl.py: TTLs are now bounds checked to be within the closed interval [0, 2^31 - 1]. * The BIND 8 TTL syntax is now accepted in the SOA refresh, retry, expire, and minimum fields, and in the original_ttl field of SIG and RRSIG records. * dns/resolver.py: The windows registry irritatingly changes the list element delimiter in between ' ' and ',' (and vice-versa) in various versions of windows. We now cope by always looking for either one (' ' first). * dns/e164.py: Added routines to convert between E.164 numbers and their ENUM domain name equivalents. * dns/reversename.py: Added routines to convert between IPv4 and IPv6 addresses and their DNS reverse-map equivalents. * dns/rdtypes/ANY/LOC.py (_tuple_to_float): The sign was lost when converting a tuple into a float, which broke conversions of south latitudes and west longitudes. * dns/zone.py: The 'origin' parameter to from_text() and from_file() is now optional. If not specified, dnspython will use the first $ORIGIN in the text as the zone's origin. * dns/zone.py: Sanity checks of the zone's origin node can now be disabled. * dns/name.py: Preliminary Unicode support has been added for domain names. Running dns.name.from_text() on a Unicode string will now encode each label using the IDN ACE encoding. The to_unicode() method may be used to convert a dns.name.Name with IDN ACE labels back into a Unicode string. This functionality requires Python 2.3 or greater. * (Version 1.3.5 released) * dns/zone.py: Zone.iterate_rdatasets() and Zone.iterate_rdatas() did not have a default rdtype of dns.rdatatype.ANY as their docstrings said they did. They do now. * dns/name.py: Added the parent() method, which returns the parent of a name. * dns/resolver.py: Added zone_for_name() helper, which returns the name of the zone which contains the specified name. * dns/resolver.py: Added get_default_resolver(), which returns the default resolver, initializing it if necessary. * dns/resolver.py (Resolver._compute_timeout): If time goes backwards a little bit, ignore it. * (Version 1.3.4 released) * dns/message.py (make_response): Trying to respond to a response threw a NameError while trying to throw a FormErr since it used the wrong name for the FormErr exception. * dns/query.py (_connect): We needed to ignore EALREADY too. * dns/query.py: Optional "source" and "source_port" parameters have been added to udp(), tcp(), and xfr(). Thanks to Ralf Weber for suggesting the change and providing a patch. * dns/query.py: The requirement that the "where" parameter be an IPv4 or IPv6 address is now documented. * dns/resolver.py: The resolver now does exponential backoff each time it runs through all of the nameservers. * dns/resolver.py: rcodes which indicate a nameserver is likely to be a "permanent failure" for a query cause the nameserver to be removed from the mix for that query. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.6 2005/04/09 16:50:03 gson Exp $ d3 3 a5 3 SHA1 (dnspython-1.5.0.tar.gz) = 65bec9f891a22bfe2885ebcaa0efc735b5f5194b RMD160 (dnspython-1.5.0.tar.gz) = 4a0c9d3b082879528c7468dfb38c20009890fd87 Size (dnspython-1.5.0.tar.gz) = 99179 bytes @ 1.6 log @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. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.5 2005/02/24 12:14:02 agc Exp $ d3 3 a5 3 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 @ 1.5 log @Add RMD160 digests. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.4 2004/02/23 17:25:32 minskim Exp $ d3 3 a5 3 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 @ 1.4 log @Update py-dns to 1.2.0 and bl3ify. Changes in 1.2.0: - Timeout support has been overhauled. It now works on Python 2.2 as well as 2.3, and the total time spent processing a query is now much more controllable than before since the timeout is now on the whole query instead of just on individual network calls. - The master file reader now gives the filename and line number of the offending input when a syntax error occurs. - $INCLUDE is now supported in DNS master files. Processing of $INCLUDE can also be disabled if desired. - BIND 8 style TTLs, e.g. "1w2d3h4m5s", are accepted when reading a master file, but will never be emitted. - Basic zone sanity checks are made after a zone is loaded. Specifically, the zone must have SOA and NS rdatasets at its origin. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.3 2003/08/18 04:02:47 gson Exp $ d4 1 @ 1.3 log @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. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.2 2003/06/30 15:33:54 gson Exp $ d3 2 a4 2 SHA1 (dnspython-1.1.0.tar.gz) = 6624f62b261182e630d1022267ec18b0b9df054a Size (dnspython-1.1.0.tar.gz) = 79174 bytes @ 1.2 log @Update py-dns to 1.0.0. Fixes pkg/22020. Changes from 1.0.0b3: * dns/rdata.py: Rdatas now implement rich comparisons instead of __cmp__. * dns/name.py: Names now implement rich comparisons instead of __cmp__. * dns/inet.py (inet_ntop): Always use our code, since the code in the socket module doesn't support AF_INET6 conversions if IPv6 sockets are not available on the system. * dns/resolver.py (Answer.__init__): A dangling CNAME chain was not raising NoAnswer. * Added a simple resolver Cache class. * Added an expiration attribute to answer instances. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.1.1.1 2003/06/29 23:39:30 gson Exp $ d3 2 a4 2 SHA1 (dnspython-1.0.0.tar.gz) = 15ae1adee1cecd45f565ca56d45ad1577bd09d4c Size (dnspython-1.0.0.tar.gz) = 56681 bytes @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.2 2003/03/19 11:55:11 drochner Exp $ d3 2 a4 2 SHA1 (dnspython-1.0.0b3.tar.gz) = 4a20ee5efd9f68a73370eb27ae4b8f89a2e3138c Size (dnspython-1.0.0b3.tar.gz) = 55240 bytes @ 1.1.1.1 log @Import dnspython-1.0.0b3. dnspython is a DNS toolkit for Python. It provides both high and low level access to DNS. The high level classes perform queries for data of a given name, type, and class, and return an answer set. The low level classes allow direct manipulation of DNS zones, messages, names, and records. @ text @@