commit python-dnspython for openSUSE:Factory
Hello community, here is the log from the commit of package python-dnspython for openSUSE:Factory checked in at 2020-08-13 10:11:57 Comparing /work/SRC/openSUSE:Factory/python-dnspython (Old) and /work/SRC/openSUSE:Factory/.python-dnspython.new.3399 (New) Package is "python-dnspython" Thu Aug 13 10:11:57 2020 rev:28 rq:824769 version:2.0.0 Changes: --- /work/SRC/openSUSE:Factory/python-dnspython/python-dnspython.changes 2019-03-12 09:45:47.367629262 +0100 +++ /work/SRC/openSUSE:Factory/.python-dnspython.new.3399/python-dnspython.changes 2020-08-13 10:11:59.942560140 +0200 @@ -1,0 +2,44 @@ +Thu Aug 6 13:46:23 UTC 2020 - John Vandenberg + +- Disable four tests which fail on openssl 1.1.0i and lower +- Add missing dependency requests-toolkit, and recommend + cryptography + +--- +Sat Jul 18 10:53:18 UTC 2020 - Sebastian Wagner + +- remove test depending on trio, which depends on Python 3.7 if python >= 3.7 is not available. + +--- +Sat Jul 18 10:30:15 UTC 2020 - Sebastian Wagner + +- update to 2.0.0: + - Python 3.6 or newer is required. + - The license is now the ISC license. + - Rdata is now immutable. Use dns.rdata.Rdata.replace() to make a new Rdata based on an existing one. + - dns.resolver.resolve() has been added, allowing control of whether search lists are used. dns.resolver.query() is retained for backwards compatibility, but deprecated. The default for search list behavior can be set at in the resolver object with the use_search_by_default parameter. The default is False. + - DNS-over-TLS is supported with dns.query.tls(). + - DNS-over-HTTPS is supported with dns.query.https(), and the resolver will use DNS-over-HTTPS for a nameserver which is an HTTPS URL. + - Basic query and resolver support for the Trio, Curio, and asyncio asynchronous I/O libraries has been added in dns.asyncquery and dns.asyncresolver. This API should be viewed as experimental as asynchronous I/O support in dnspython is still evolving. + - TSIG now defaults to using SHA-256. + - Basic type info has been added to some functions. Future releases will have comprehensive type info. + - from_text() functions now have a relativize_to parameter. + - python-cryptography is now used for DNSSEC. + - Ed25519 and Ed448 signatures are now supported. + - A helper for NSEC3 generating hashes has been added. + - SHA384 DS records are supported. + - Rdatasets and RRsets are much faster. + - dns.resolver.resolve_address() has been added, allowing easy address-to-name lookups. + - dns.reversename functions now allow an alternate origin to be specified. + - The repr form of Rdatasets and RRsets now includes the rdata. + - A number of standard resolv.conf options are now parsed. + - The nameserver and port used to get a response are now part of the resolver’s Answer object. + - The NINFO record is supported. + - The dns.hash module has been removed; just use Python’s native hashlib module. + - Rounding is done in the standard python 3 fashion; dnspython 1.x rounded in the python 2 style on both python 2 and 3. + - The resolver will now do negative caching if a cache has been configured. + - TSIG and OPT now have rdata types. + - The class for query messages is now QueryMessage. Class Message is now a base class, and is also used for messages for which we don’t have a better class. Update messages are now class UpdateMessage, though class Update is retained for compatibility. + - Support for Windows 95, 98, and ME has been removed. + +--- Old: dnspython-1.16.0.tar.gz dnspython-1.16.0.tar.gz.asc python-dnspython.keyring New: dnspython-2.0.0.zip Other differences: -- ++ python-dnspython.spec ++ --- /var/tmp/diff_new_pack.vl2Yyh/_old 2020-08-13 10:12:01.022560816 +0200 +++ /var/tmp/diff_new_pack.vl2Yyh/_new 2020-08-13 10:12:01.026560818 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-dnspython # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,28 +17,38 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define skip_python2 1 Name: python-dnspython -Version:1.16.0 +Version:2.0.0 Release:0 Summary:A DNS toolkit for Python License:ISC Group: Development/Languages/Python URL:https://github.com/rthalley/dnspython -Source: http://dns
commit python-dnspython for openSUSE:Factory
Hello community, here is the log from the commit of package python-dnspython for openSUSE:Factory checked in at 2019-03-12 09:45:45 Comparing /work/SRC/openSUSE:Factory/python-dnspython (Old) and /work/SRC/openSUSE:Factory/.python-dnspython.new.28833 (New) Package is "python-dnspython" Tue Mar 12 09:45:45 2019 rev:27 rq:682862 version:1.16.0 Changes: --- /work/SRC/openSUSE:Factory/python-dnspython/python-dnspython.changes 2018-12-13 19:43:13.877107592 +0100 +++ /work/SRC/openSUSE:Factory/.python-dnspython.new.28833/python-dnspython.changes 2019-03-12 09:45:47.367629262 +0100 @@ -1,0 +2,10 @@ +Fri Mar 8 13:55:40 UTC 2019 - Tomáš Chvátal + +- Update to 1.16.0: + * various fixes for wheel/cryptodome/etc +- Remove all patches, merged upstream: + * 210.patch + * pycryptodome.patch + * readme.patch + +--- Old: 210.patch dnspython-1.15.0.tar.gz dnspython-1.15.0.tar.gz.asc pycryptodome.patch readme.patch New: dnspython-1.16.0.tar.gz dnspython-1.16.0.tar.gz.asc Other differences: -- ++ python-dnspython.spec ++ --- /var/tmp/diff_new_pack.NMmANG/_old 2019-03-12 09:45:47.983629140 +0100 +++ /var/tmp/diff_new_pack.NMmANG/_new 2019-03-12 09:45:47.983629140 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-dnspython # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,32 +18,27 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-dnspython -Version:1.15.0 +Version:1.16.0 Release:0 Summary:A DNS toolkit for Python License:ISC Group: Development/Languages/Python -Url:http://dnspython.org/ +URL:https://github.com/rthalley/dnspython Source: http://dnspython.org/kits/%{version}/dnspython-%{version}.tar.gz Source2: http://dnspython.org/kits/%{version}/dnspython-%{version}.tar.gz.asc Source3:python-dnspython.keyring -# PATCH-FIX-UPSTREAM 210.patch git_...@avram.us -- https://github.com/rthalley/dnspython/pull/210.patch -Patch0: 210.patch -# PATCH-FEATURE-OPENSUSE readme.patch -- Add the readme as patch as not included in the tarball. -Patch1: readme.patch -# PATCH-FIX-UPSTREAM pycryptodome.patch tchva...@suse.com -- use pycryptodome https://github.com/rthalley/dnspython/pull/290 -Patch2: pycryptodome.patch BuildRequires: %{python_module ecdsa} BuildRequires: %{python_module idna} BuildRequires: %{python_module pycryptodome} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module typing} BuildRequires: fdupes BuildRequires: netcfg BuildRequires: python-rpm-macros -Recommends: python-ecdsa -Recommends: python-idna +Requires: python-ecdsa Requires: python-pycryptodome BuildArch: noarch +Recommends: python-idna %description dnspython is a DNS toolkit for Python. It supports almost all @@ -64,9 +59,6 @@ %prep %setup -q -n dnspython-%{version} chmod -x examples/* -%patch0 -%patch1 -%patch2 -p1 %build %python_build @@ -77,12 +69,12 @@ %check # Skip the resolver test suite as it requires Internet connection. -test -f tests/test_resolver.py && rm tests/test_resolver.py +#test -f tests/test_resolver.py && rm tests/test_resolver.py %python_exec setup.py test %files %{python_files} %license LICENSE -%doc ChangeLog README.md examples/ +%doc README.md examples/ %{python_sitelib}/dns/ %{python_sitelib}/dnspython-%{version}-py%{python_version}.egg-info ++ dnspython-1.15.0.tar.gz -> dnspython-1.16.0.tar.gz ++ 12891 lines of diff (skipped)
commit python-dnspython for openSUSE:Factory
Hello community, here is the log from the commit of package python-dnspython for openSUSE:Factory checked in at 2018-12-13 19:43:07 Comparing /work/SRC/openSUSE:Factory/python-dnspython (Old) and /work/SRC/openSUSE:Factory/.python-dnspython.new.28833 (New) Package is "python-dnspython" Thu Dec 13 19:43:07 2018 rev:26 rq:654018 version:1.15.0 Changes: --- /work/SRC/openSUSE:Factory/python-dnspython/python-dnspython.changes 2018-05-19 15:41:17.305213289 +0200 +++ /work/SRC/openSUSE:Factory/.python-dnspython.new.28833/python-dnspython.changes 2018-12-13 19:43:13.877107592 +0100 @@ -1,0 +2,5 @@ +Tue Dec 4 12:47:22 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + +--- Other differences: -- ++ python-dnspython.spec ++ --- /var/tmp/diff_new_pack.0DGvRx/_old 2018-12-13 19:43:14.685106536 +0100 +++ /var/tmp/diff_new_pack.0DGvRx/_new 2018-12-13 19:43:14.705106510 +0100 @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -33,7 +33,6 @@ Patch1: readme.patch # PATCH-FIX-UPSTREAM pycryptodome.patch tchva...@suse.com -- use pycryptodome https://github.com/rthalley/dnspython/pull/290 Patch2: pycryptodome.patch -BuildRequires: %{python_module devel} BuildRequires: %{python_module ecdsa} BuildRequires: %{python_module idna} BuildRequires: %{python_module pycryptodome}
commit python-dnspython for openSUSE:Factory
Hello community, here is the log from the commit of package python-dnspython for openSUSE:Factory checked in at 2018-05-19 15:41:11 Comparing /work/SRC/openSUSE:Factory/python-dnspython (Old) and /work/SRC/openSUSE:Factory/.python-dnspython.new (New) Package is "python-dnspython" Sat May 19 15:41:11 2018 rev:25 rq:607507 version:1.15.0 Changes: --- /work/SRC/openSUSE:Factory/python-dnspython/python-dnspython.changes 2018-05-11 11:28:56.778913108 +0200 +++ /work/SRC/openSUSE:Factory/.python-dnspython.new/python-dnspython.changes 2018-05-19 15:41:17.305213289 +0200 @@ -1,0 +2,5 @@ +Tue May 15 10:55:07 UTC 2018 - sebix+novell@sebix.at + +- require python-pycryptodome instead of recommending it + +--- Other differences: -- ++ python-dnspython.spec ++ --- /var/tmp/diff_new_pack.8D7uXB/_old 2018-05-19 15:41:17.953189581 +0200 +++ /var/tmp/diff_new_pack.8D7uXB/_new 2018-05-19 15:41:17.953189581 +0200 @@ -23,7 +23,7 @@ Summary:A DNS toolkit for Python License:ISC Group: Development/Languages/Python -URL:http://dnspython.org/ +Url:http://dnspython.org/ Source: http://dnspython.org/kits/%{version}/dnspython-%{version}.tar.gz Source2: http://dnspython.org/kits/%{version}/dnspython-%{version}.tar.gz.asc Source3:python-dnspython.keyring @@ -43,7 +43,7 @@ BuildRequires: python-rpm-macros Recommends: python-ecdsa Recommends: python-idna -Recommends: python-pycryptodome +Requires: python-pycryptodome BuildArch: noarch %description
commit python-dnspython for openSUSE:Factory
Hello community, here is the log from the commit of package python-dnspython for openSUSE:Factory checked in at 2018-05-11 11:28:55 Comparing /work/SRC/openSUSE:Factory/python-dnspython (Old) and /work/SRC/openSUSE:Factory/.python-dnspython.new (New) Package is "python-dnspython" Fri May 11 11:28:55 2018 rev:24 rq:605770 version:1.15.0 Changes: --- /work/SRC/openSUSE:Factory/python-dnspython/python-dnspython.changes 2017-05-16 14:29:36.682160461 +0200 +++ /work/SRC/openSUSE:Factory/.python-dnspython.new/python-dnspython.changes 2018-05-11 11:28:56.778913108 +0200 @@ -1,0 +2,6 @@ +Wed May 9 13:42:40 UTC 2018 - tchva...@suse.com + +- Add patch pycryptodome.patch to work with pycryptodome: + * pycryptodome.patch + +--- New: pycryptodome.patch Other differences: -- ++ python-dnspython.spec ++ --- /var/tmp/diff_new_pack.82ebXA/_old 2018-05-11 11:28:57.926871274 +0200 +++ /var/tmp/diff_new_pack.82ebXA/_new 2018-05-11 11:28:57.930871129 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-dnspython # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -23,7 +23,7 @@ Summary:A DNS toolkit for Python License:ISC Group: Development/Languages/Python -Url:http://dnspython.org/ +URL:http://dnspython.org/ Source: http://dnspython.org/kits/%{version}/dnspython-%{version}.tar.gz Source2: http://dnspython.org/kits/%{version}/dnspython-%{version}.tar.gz.asc Source3:python-dnspython.keyring @@ -31,17 +31,19 @@ Patch0: 210.patch # PATCH-FEATURE-OPENSUSE readme.patch -- Add the readme as patch as not included in the tarball. Patch1: readme.patch +# PATCH-FIX-UPSTREAM pycryptodome.patch tchva...@suse.com -- use pycryptodome https://github.com/rthalley/dnspython/pull/290 +Patch2: pycryptodome.patch BuildRequires: %{python_module devel} BuildRequires: %{python_module ecdsa} BuildRequires: %{python_module idna} -BuildRequires: %{python_module pycrypto} +BuildRequires: %{python_module pycryptodome} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: netcfg BuildRequires: python-rpm-macros Recommends: python-ecdsa Recommends: python-idna -Recommends: python-pycrypto +Recommends: python-pycryptodome BuildArch: noarch %description @@ -65,6 +67,7 @@ chmod -x examples/* %patch0 %patch1 +%patch2 -p1 %build %python_build @@ -79,8 +82,8 @@ %python_exec setup.py test %files %{python_files} -%defattr(-,root,root) -%doc ChangeLog LICENSE README.md examples/ +%license LICENSE +%doc ChangeLog README.md examples/ %{python_sitelib}/dns/ %{python_sitelib}/dnspython-%{version}-py%{python_version}.egg-info ++ pycryptodome.patch ++ >From 10b8a42c90d037880fbfc81fb71adb27251252e3 Mon Sep 17 00:00:00 2001 From: Daniel Robbins Date: Thu, 21 Dec 2017 09:24:40 -0700 Subject: [PATCH] Update DNSSEC code to use pycryptodome instead of pycrypto. These changes make dnspython *incompatible* with pycrypto -- pycryptodome must be used. The ecdsa module continues to be used for ECDSA support. --- ChangeLog| 5 ++ dns/__init__.py | 1 - dns/dnssec.py| 161 +++ dns/hash.py | 31 -- dns/tsig.py | 4 +- doc/dnssec.rst | 9 ++- doc/installation.rst | 4 +- tests/test_dnssec.py | 16 ++--- 8 files changed, 105 insertions(+), 126 deletions(-) delete mode 100644 dns/hash.py Index: dnspython-1.15.0/dns/__init__.py === --- dnspython-1.15.0.orig/dns/__init__.py +++ dnspython-1.15.0/dns/__init__.py @@ -22,7 +22,6 @@ __all__ = [ 'entropy', 'exception', 'flags', -'hash', 'inet', 'ipv4', 'ipv6', Index: dnspython-1.15.0/dns/dnssec.py === --- dnspython-1.15.0.orig/dns/dnssec.py +++ dnspython-1.15.0/dns/dnssec.py @@ -20,7 +20,6 @@ import struct import time import dns.exception -import dns.hash import dns.name import dns.node import dns.rdataset @@ -28,7 +27,8 @@ import dns.rdata import dns.rdatatype import dns.rdataclass from ._compat import string_types - +from Crypto.Hash import MD5, SHA1, SHA256, SHA384, SHA512 +from Crypto.Signature import pkcs1_15, DSS class UnsupportedAlgorithm(dns.exception.DNSException): @@ -39
commit python-dnspython for openSUSE:Factory
Hello community, here is the log from the commit of package python-dnspython for openSUSE:Factory checked in at 2017-05-16 14:29:35 Comparing /work/SRC/openSUSE:Factory/python-dnspython (Old) and /work/SRC/openSUSE:Factory/.python-dnspython.new (New) Package is "python-dnspython" Tue May 16 14:29:35 2017 rev:23 rq:493313 version:1.15.0 Changes: --- /work/SRC/openSUSE:Factory/python-dnspython/python-dnspython.changes 2016-10-18 10:42:47.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-dnspython.new/python-dnspython.changes 2017-05-16 14:29:36.682160461 +0200 @@ -1,0 +2,7 @@ +Tue May 2 21:42:12 UTC 2017 - sor.ale...@meowr.ru + +- Update for the multipython build. +- Rename python-dnspython.asc to python-dnspython.keyring. +- Spec cleanup. + +--- Old: python-dnspython.asc New: python-dnspython.keyring Other differences: -- ++ python-dnspython.spec ++ --- /var/tmp/diff_new_pack.o4vvAM/_old 2017-05-16 14:29:37.506044720 +0200 +++ /var/tmp/diff_new_pack.o4vvAM/_new 2017-05-16 14:29:37.506044720 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-dnspython # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,38 +16,49 @@ # +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-dnspython Version:1.15.0 Release:0 -Url:http://www.dnspython.org/ Summary:A DNS toolkit for Python License:ISC Group: Development/Languages/Python -Source: http://www.dnspython.org/kits/%{version}/dnspython-%{version}.tar.gz -Source2: http://www.dnspython.org/kits/%{version}/dnspython-%{version}.tar.gz.asc -Source3:python-dnspython.asc -Patch0: https://github.com/rthalley/dnspython/pull/210.patch -# Add the readme as patch as not included in the tarball +Url:http://dnspython.org/ +Source: http://dnspython.org/kits/%{version}/dnspython-%{version}.tar.gz +Source2: http://dnspython.org/kits/%{version}/dnspython-%{version}.tar.gz.asc +Source3:python-dnspython.keyring +# PATCH-FIX-UPSTREAM 210.patch git_...@avram.us -- https://github.com/rthalley/dnspython/pull/210.patch +Patch0: 210.patch +# PATCH-FEATURE-OPENSUSE readme.patch -- Add the readme as patch as not included in the tarball. Patch1: readme.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: %{python_module devel} +BuildRequires: %{python_module ecdsa} +BuildRequires: %{python_module idna} +BuildRequires: %{python_module pycrypto} +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes BuildRequires: netcfg -BuildRequires: python-devel -BuildRequires: python-ecdsa -BuildRequires: python-idna -BuildRequires: python-pycrypto -BuildRequires: python-setuptools -BuildRequires: unzip +BuildRequires: python-rpm-macros Recommends: python-ecdsa Recommends: python-idna Recommends: python-pycrypto BuildArch: noarch %description -dnspython is a DNS toolkit for Python. It supports almost all record types. It can be used for queries, zone transfers, and dynamic updates. It supports TSIG authenticated messages and EDNS0. +dnspython is a DNS toolkit for Python. It supports almost all +record types. It can be used for queries, zone transfers, and +dynamic updates. It supports TSIG authenticated messages and EDNS0. + +dnspython 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. + +dnspython originated at Nominum where it was developed to +facilitate the testing of DNS software. Nominum has generously +allowed it to be opened under a BSD-style licence. -dnspython 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. - -dnspython originated at Nominum where it was developed to facilitate the testing of DNS software. Nominum has generously allowed it to be open sourced under a BSD-style license. +%python_subpackages %prep %setup -q -n dnspython-%{version} @@ -56,19 +67,21 @@ %patch1 %build -python setup.py build +%python_build %install -python setup.py
commit python-dnspython for openSUSE:Factory
Hello community, here is the log from the commit of package python-dnspython for openSUSE:Factory checked in at 2016-10-18 10:42:46 Comparing /work/SRC/openSUSE:Factory/python-dnspython (Old) and /work/SRC/openSUSE:Factory/.python-dnspython.new (New) Package is "python-dnspython" Changes: --- /work/SRC/openSUSE:Factory/python-dnspython/python-dnspython.changes 2016-10-13 11:30:28.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-dnspython.new/python-dnspython.changes 2016-10-18 10:42:47.0 +0200 @@ -1,0 +2,5 @@ +Sun Oct 9 09:40:46 UTC 2016 - sebix+novell@sebix.at + +- use and recommend python-ecdsa and python-pycrypto for dnssec support + +--- Other differences: -- ++ python-dnspython.spec ++ --- /var/tmp/diff_new_pack.qUoERt/_old 2016-10-18 10:42:48.0 +0200 +++ /var/tmp/diff_new_pack.qUoERt/_new 2016-10-18 10:42:48.0 +0200 @@ -32,10 +32,14 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: netcfg BuildRequires: python-devel +BuildRequires: python-ecdsa +BuildRequires: python-idna BuildRequires: python-pycrypto BuildRequires: python-setuptools BuildRequires: unzip +Recommends: python-ecdsa Recommends: python-idna +Recommends: python-pycrypto BuildArch: noarch %description
commit python-dnspython for openSUSE:Factory
Hello community, here is the log from the commit of package python-dnspython for openSUSE:Factory checked in at 2016-10-13 11:30:21 Comparing /work/SRC/openSUSE:Factory/python-dnspython (Old) and /work/SRC/openSUSE:Factory/.python-dnspython.new (New) Package is "python-dnspython" Changes: --- /work/SRC/openSUSE:Factory/python-dnspython/python-dnspython.changes 2016-06-21 12:29:24.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-dnspython.new/python-dnspython.changes 2016-10-13 11:30:28.0 +0200 @@ -1,0 +2,22 @@ +Sat Oct 8 13:16:31 UTC 2016 - sebix+novell@sebix.at + +- New upstream release 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. +- Include readme with readme.patch as not included in upstream tarball +- Fix a bug in the tests code with 210.patch with upstream pull request #210 + +--- Old: dnspython-1.14.0.tar.gz dnspython-1.14.0.tar.gz.asc New: 210.patch dnspython-1.15.0.tar.gz dnspython-1.15.0.tar.gz.asc readme.patch Other differences: -- ++ python-dnspython.spec ++ --- /var/tmp/diff_new_pack.mfW41P/_old 2016-10-13 11:30:31.0 +0200 +++ /var/tmp/diff_new_pack.mfW41P/_new 2016-10-13 11:30:31.0 +0200 @@ -17,7 +17,7 @@ Name: python-dnspython -Version:1.14.0 +Version:1.15.0 Release:0 Url:http://www.dnspython.org/ Summary:A DNS toolkit for Python @@ -26,12 +26,16 @@ Source: http://www.dnspython.org/kits/%{version}/dnspython-%{version}.tar.gz Source2: http://www.dnspython.org/kits/%{version}/dnspython-%{version}.tar.gz.asc Source3:python-dnspython.asc +Patch0: https://github.com/rthalley/dnspython/pull/210.patch +# Add the readme as patch as not included in the tarball +Patch1: readme.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: netcfg BuildRequires: python-devel BuildRequires: python-pycrypto BuildRequires: python-setuptools BuildRequires: unzip +Recommends: python-idna BuildArch: noarch %description @@ -44,6 +48,8 @@ %prep %setup -q -n dnspython-%{version} chmod -x examples/* +%patch0 +%patch1 %build python setup.py build @@ -52,15 +58,13 @@ python setup.py install --prefix=%{_prefix} --root=%{buildroot} %check -pushd tests # skip the resolver test suite as it requires an internet connection -test -f test_resolver.py && rm test_resolver.py -make check -popd +test -f tests/test_resolver.py && rm tests/test_resolver.py +python setup.py test %files -%defattr(-,root,root) -%doc ChangeLog LICENSE examples +%defattr(-,root,root,-) +%doc ChangeLog LICENSE README.md examples %{python_sitelib}/* %changelog ++ 210.patch ++ >From 0add1649c91b4f56b32e73c3a6327519c6eb532e Mon Sep 17 00:00:00 2001 From: Avram Lubkin Date: Tue, 4 Oct 2016 07:32:20 -0400 Subject: [PATCH] Test creates file in wrong location test_zone.ZoneTestCase.testToFileFilename fails with OSError: [Errno 2] No such file or directory --- tests/test_zone.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_zone.py b/tests/test_zone.py index dbc67c7..3c497a6 100644 --- tests/test_zone.py +++ tests/test_zone.py @@ -177,7 +177,7 @@ def testToFileBinary(self): def testToFileFilename(self): z = dns.zone.from_file(here('example'), 'example') try: -z.to_file('example3-filename.out') +z.to_file(here('example3-filename.out')) ok = filecmp.cmp(here('example3-filename.out'), here('example3.good')) finally: ++ dnspython-1.14.0.tar.gz -> dnspython-1.15.0.tar.gz ++ 4849 lines of diff (skipped) ++ readme.patch ++ 605 lines (skipped)
commit python-dnspython for openSUSE:Factory
Hello community, here is the log from the commit of package python-dnspython for openSUSE:Factory checked in at 2016-06-21 11:30:55 Comparing /work/SRC/openSUSE:Factory/python-dnspython (Old) and /work/SRC/openSUSE:Factory/.python-dnspython.new (New) Package is "python-dnspython" Changes: --- /work/SRC/openSUSE:Factory/python-dnspython/python-dnspython.changes 2014-11-28 08:44:39.0 +0100 +++ /work/SRC/openSUSE:Factory/.python-dnspython.new/python-dnspython.changes 2016-06-21 12:29:24.0 +0200 @@ -1,0 +2,10 @@ +Tue Jun 14 19:58:08 UTC 2016 - sebix+novell@sebix.at + +- New upstream release 1.14.0 + +--- +Mon May 16 10:19:24 UTC 2016 - sebix+novell@sebix.at + +- New upstream release 1.13.0 + +--- Old: dnspython-1.12.0.zip python-dnspython-rpmlintrc New: dnspython-1.14.0.tar.gz dnspython-1.14.0.tar.gz.asc python-dnspython.asc Other differences: -- ++ python-dnspython.spec ++ --- /var/tmp/diff_new_pack.UiajPK/_old 2016-06-21 12:29:25.0 +0200 +++ /var/tmp/diff_new_pack.UiajPK/_new 2016-06-21 12:29:25.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-dnspython # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,39 +17,33 @@ Name: python-dnspython -Version:1.12.0 +Version:1.14.0 Release:0 Url:http://www.dnspython.org/ Summary:A DNS toolkit for Python License:ISC Group: Development/Languages/Python -Source: http://www.dnspython.org/kits/%{version}/dnspython-%{version}.zip -Source1:python-dnspython-rpmlintrc +Source: http://www.dnspython.org/kits/%{version}/dnspython-%{version}.tar.gz +Source2: http://www.dnspython.org/kits/%{version}/dnspython-%{version}.tar.gz.asc +Source3:python-dnspython.asc BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: netcfg BuildRequires: python-devel -BuildRequires: python-ecdsa -BuildRequires: python-nose BuildRequires: python-pycrypto +BuildRequires: python-setuptools BuildRequires: unzip -%if 0%{?suse_version} && 0%{?suse_version} <= 1110 -%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%else BuildArch: noarch -%endif %description -dnspython is a DNS toolkit for Python. It supports almost all record -types. It can be used for queries, zone transfers, -and dynamic updates. It supports TSIG authenticated messages and EDNS0. - -dnspython 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. +dnspython is a DNS toolkit for Python. It supports almost all record types. It can be used for queries, zone transfers, and dynamic updates. It supports TSIG authenticated messages and EDNS0. + +dnspython 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. + +dnspython originated at Nominum where it was developed to facilitate the testing of DNS software. Nominum has generously allowed it to be open sourced under a BSD-style license. %prep %setup -q -n dnspython-%{version} -sed -i "s|/usr/bin/env python|%{_bindir}/python|g" examples/*.py +chmod -x examples/* %build python setup.py build @@ -58,19 +52,15 @@ python setup.py install --prefix=%{_prefix} --root=%{buildroot} %check -# Requires TestLoader.discover which only exists in Python 2.7.x -%if 0%{?suse_version} > 1110 pushd tests # skip the resolver test suite as it requires an internet connection test -f test_resolver.py && rm test_resolver.py make check popd -%endif %files %defattr(-,root,root) -%doc LICENSE README examples -%{python_sitelib}/dns -%{python_sitelib}/dnspython-%{version}-py%{py_ver}.egg-info +%doc ChangeLog LICENSE examples +%{python_sitelib}/* %changelog
commit python-dnspython for openSUSE:Factory
Hello community, here is the log from the commit of package python-dnspython for openSUSE:Factory checked in at 2014-11-28 08:44:37 Comparing /work/SRC/openSUSE:Factory/python-dnspython (Old) and /work/SRC/openSUSE:Factory/.python-dnspython.new (New) Package is "python-dnspython" Changes: --- /work/SRC/openSUSE:Factory/python-dnspython/python-dnspython.changes 2014-10-25 08:33:28.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-dnspython.new/python-dnspython.changes 2014-11-28 08:44:39.0 +0100 @@ -1,0 +2,5 @@ +Tue Nov 25 11:18:34 UTC 2014 - dmuel...@suse.com + +- fix build on SLE11 + +--- Other differences: -- ++ python-dnspython.spec ++ --- /var/tmp/diff_new_pack.TWtr41/_old 2014-11-28 08:44:40.0 +0100 +++ /var/tmp/diff_new_pack.TWtr41/_new 2014-11-28 08:44:40.0 +0100 @@ -58,11 +58,14 @@ python setup.py install --prefix=%{_prefix} --root=%{buildroot} %check +# Requires TestLoader.discover which only exists in Python 2.7.x +%if 0%{?suse_version} > 1110 pushd tests # skip the resolver test suite as it requires an internet connection test -f test_resolver.py && rm test_resolver.py make check popd +%endif %files %defattr(-,root,root) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python-dnspython for openSUSE:Factory
Hello community, here is the log from the commit of package python-dnspython for openSUSE:Factory checked in at 2014-10-25 08:33:11 Comparing /work/SRC/openSUSE:Factory/python-dnspython (Old) and /work/SRC/openSUSE:Factory/.python-dnspython.new (New) Package is "python-dnspython" Changes: --- /work/SRC/openSUSE:Factory/python-dnspython/python-dnspython.changes 2013-09-13 14:46:18.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-dnspython.new/python-dnspython.changes 2014-10-25 08:33:28.0 +0200 @@ -1,0 +2,53 @@ +Fri Oct 17 07:09:42 UTC 2014 - l...@linux-schulserver.de + +- update to 1.12.0: + * The test system can now run the tests without requiring dnspython +to be installed. + * 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. [#73] Thanks to Tassatux for reporting the issue. + * Added dns.zone.to_text() convenience method. Thanks to Brandon +Whaley for the patch. + * 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. Thanks to Martin Basti for the +patch. + * dns.rdtypes.ANY.DNSKEY now has helpers functions to convert +between the numeric form of the flags and a set of human-friendly +strings. Thanks to Petr Spacek for the patch. + * RRSIGs did not respect relativization settings in to_text(). +Thanks to Brian Smith for reporting the bug and submitting a +(slightly different) patch. + * dns/rdtypes/IN/APL.py: The APL from_wire() method did not accept an +rdata length of 0 as valid. Thanks to salzmdan for reporting the +problem. + * dns/ipv6.py: Add is_mapped() + * dns/reversename.py: Lookup IPv6 mapped IPv4 addresses in the v4 +reverse namespace. Thanks to Devin Bayer. Yes, I finally fixed +this one :) + * dns/zone.py: Do not put back an unescaped token. This was +causing escape processing for domain names to break. Thanks to +connormclaud for reporting the problem. + * dns/message.py: Making a response didn't work correctly if the +query was signed with TSIG and we knew the key. Thanks to Jeffrey +Stiles for reporting the problem. + * dns/query.py: Fix problems with the IXFR state machine which caused +long diffs to fail. Thanks to James Raftery for the fix and the +repeated prodding to get it applied :) +- enable some tests +- add python-dnspython-rpmlintrc file +- add python-ecdsa and python-pycrypto to BuildRequires for the + DNSSec tests +- use /usr/bin/python instead of /usr/bin/env python for the example + scripts to avoid additional dependencies + +--- Old: dnspython-1.11.1.zip New: dnspython-1.12.0.zip python-dnspython-rpmlintrc Other differences: -- ++ python-dnspython.spec ++ --- /var/tmp/diff_new_pack.GNqQmU/_old 2014-10-25 08:33:30.0 +0200 +++ /var/tmp/diff_new_pack.GNqQmU/_new 2014-10-25 08:33:30.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-dnspython # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,16 +17,19 @@ Name: python-dnspython -Version:1.11.1 +Version:1.12.0 Release:0 Url:http://www.dnspython.org/ Summary:A DNS toolkit for Python License:ISC Group: Development/Languages/Python Source: http://www.dnspython.org/kits/%{version}/dnspython-%{version}.zip +Source1:python-dnspython-rpmlintrc BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-devel +BuildRequires: python-ecdsa BuildRequires: python-nose +BuildRequires: python-pycrypto BuildRequires: unzip %if 0%{?suse_version} && 0%{?suse_version} <= 1110 %{!?python_sitelib: %global python_sitelib %(pytho
commit python-dnspython for openSUSE:Factory
Hello community, here is the log from the commit of package python-dnspython for openSUSE:Factory checked in at 2013-09-13 14:46:16 Comparing /work/SRC/openSUSE:Factory/python-dnspython (Old) and /work/SRC/openSUSE:Factory/.python-dnspython.new (New) Package is "python-dnspython" Changes: --- /work/SRC/openSUSE:Factory/python-dnspython/python-dnspython.changes 2013-07-16 16:14:49.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-dnspython.new/python-dnspython.changes 2013-09-13 14:46:18.0 +0200 @@ -1,0 +2,7 @@ +Wed Sep 11 21:03:58 UTC 2013 - dmuel...@suse.com + +- update to 1.11.1: + * fix syntax error exception on dns server failure + * various fixlets for DNSSEC support + +--- Old: dnspython-1.11.0.zip New: dnspython-1.11.1.zip Other differences: -- ++ python-dnspython.spec ++ --- /var/tmp/diff_new_pack.jALJrK/_old 2013-09-13 14:46:18.0 +0200 +++ /var/tmp/diff_new_pack.jALJrK/_new 2013-09-13 14:46:18.0 +0200 @@ -17,7 +17,7 @@ Name: python-dnspython -Version:1.11.0 +Version:1.11.1 Release:0 Url:http://www.dnspython.org/ Summary:A DNS toolkit for Python -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python-dnspython for openSUSE:Factory
Hello community, here is the log from the commit of package python-dnspython for openSUSE:Factory checked in at 2013-07-16 16:14:48 Comparing /work/SRC/openSUSE:Factory/python-dnspython (Old) and /work/SRC/openSUSE:Factory/.python-dnspython.new (New) Package is "python-dnspython" Changes: --- /work/SRC/openSUSE:Factory/python-dnspython/python-dnspython.changes 2012-06-01 22:32:38.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-dnspython.new/python-dnspython.changes 2013-07-16 16:14:49.0 +0200 @@ -1,0 +2,20 @@ +Mon Jul 15 11:37:52 UTC 2013 - speili...@suse.com + +- Package LICENSE, use proper upstream URL +- Run testsuite +- Cleanup macro usage + +--- +Thu Jul 11 14:23:49 UTC 2013 - dmuel...@suse.com + +- update to 1.11.0: + * TLSA RR support + * Added set_flags() method to dns.resolver.Resolver + * Names with offsets >= 2^14 are no longer added to the compression +table. + * The "::" syntax is not used to shorten a single 16-bit section of + the text form an IPv6 address. + * Empty rdatasets are not printed. + * DNSKEY key tags are no longer assumed to be unique. + +--- Old: dnspython-1.10.0.tar.gz dnspython-1.10.0.tar.gz.asc New: dnspython-1.11.0.zip Other differences: -- ++ python-dnspython.spec ++ --- /var/tmp/diff_new_pack.O5vv3W/_old 2013-07-16 16:14:50.0 +0200 +++ /var/tmp/diff_new_pack.O5vv3W/_new 2013-07-16 16:14:50.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-dnspython # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,28 +16,23 @@ # -%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} - -%define mod_name dnspython - -Name: python-%{mod_name} -Version:1.10.0 +Name: python-dnspython +Version:1.11.0 Release:0 Url:http://www.dnspython.org/ Summary:A DNS toolkit for Python License:ISC Group: Development/Languages/Python -Source: http://www.dnspython.org/kits/1.10.0/%{mod_name}-%{version}.tar.gz -Source2: http://www.dnspython.org/kits/1.10.0/%{mod_name}-%{version}.tar.gz.asc +Source: http://www.dnspython.org/kits/%{version}/dnspython-%{version}.zip BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-devel -%if 0%{?suse_version} -%py_requires -%if 0%{?suse_version} > 1110 +BuildRequires: python-nose +BuildRequires: unzip +%if 0%{?suse_version} && 0%{?suse_version} <= 1110 +%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} +%else BuildArch: noarch %endif -%endif %description dnspython is a DNS toolkit for Python. It supports almost all record @@ -50,24 +45,21 @@ names, and records. %prep -%setup -q -n %{mod_name}-%{version} +%setup -q -n dnspython-%{version} %build -export CFLAGS="%{optflags}" python setup.py build %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%check +nosetests + %files %defattr(-,root,root) -# You may have to add additional files here (documentation and binaries mostly) -%python_sitelib/dns* -%if 0%{?sles_version} != 10 -%python_sitelib/*.egg-info -%endif -%doc README ChangeLog -%doc examples -%doc tests +%doc LICENSE README examples +%{python_sitelib}/dns +%{python_sitelib}/dnspython-%{version}-py%{py_ver}.egg-info %changelog -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python-dnspython for openSUSE:Factory
Hello community, here is the log from the commit of package python-dnspython for openSUSE:Factory checked in at 2012-06-01 22:32:05 Comparing /work/SRC/openSUSE:Factory/python-dnspython (Old) and /work/SRC/openSUSE:Factory/.python-dnspython.new (New) Package is "python-dnspython", Maintainer is "po...@novell.com" Changes: --- /work/SRC/openSUSE:Factory/python-dnspython/python-dnspython.changes 2011-09-23 12:42:38.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-dnspython.new/python-dnspython.changes 2012-06-01 22:32:38.0 +0200 @@ -1,0 +2,18 @@ +Thu May 31 14:09:31 UTC 2012 - cfarr...@suse.com + +- license update: ISC + See LICENSE (and compare http://www.spdx.org/licenses/MIT with + http://www.spdx.org/licenses/ISC) + +--- +Thu May 31 11:35:42 UTC 2012 - jeng...@inai.de + +- Update to new upstream release 1.10.0 +* Added dns.resolver.LRUCache. +* dns.resolver.query() will try TCP if a UDP response is truncated. +* The python socket module's DNS methods can be now be overriden + with implementations that use dnspython's resolver. +- Remove redundant tags/sections from specfile +- Correct license field + +--- Old: dnspython-1.9.4.tar.bz2 New: dnspython-1.10.0.tar.gz dnspython-1.10.0.tar.gz.asc Other differences: -- ++ python-dnspython.spec ++ --- /var/tmp/diff_new_pack.nu4bx2/_old 2012-06-01 22:32:40.0 +0200 +++ /var/tmp/diff_new_pack.nu4bx2/_new 2012-06-01 22:32:40.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-dnspython # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,7 +15,6 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} @@ -23,13 +22,14 @@ %define mod_name dnspython Name: python-%{mod_name} -Version:1.9.4 -Release:1 -Url:http://www.dnspython.org +Version:1.10.0 +Release:0 +Url:http://www.dnspython.org/ Summary:A DNS toolkit for Python -License:http://www.dnspython.org/LICENSE +License:ISC Group: Development/Languages/Python -Source: %{mod_name}-%{version}.tar.bz2 +Source: http://www.dnspython.org/kits/1.10.0/%{mod_name}-%{version}.tar.gz +Source2: http://www.dnspython.org/kits/1.10.0/%{mod_name}-%{version}.tar.gz.asc BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-devel %if 0%{?suse_version} @@ -49,10 +49,6 @@ set. The low level classes allow direct manipulation of DNS zones, messages, names, and records. -dnspython originated at Nominum where it was developed to facilitate the testing -of DNS software. Nominum has generously allowed it to be open sourced under a -BSD-style license. - %prep %setup -q -n %{mod_name}-%{version} @@ -63,11 +59,8 @@ %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} -%clean -rm -rf %{buildroot} - %files -%defattr(-,root,root,-) +%defattr(-,root,root) # You may have to add additional files here (documentation and binaries mostly) %python_sitelib/dns* %if 0%{?sles_version} != 10 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python-dnspython for openSUSE:Factory
Hello community, here is the log from the commit of package python-dnspython for openSUSE:Factory checked in at Wed Mar 30 09:27:50 CEST 2011. --- python-dnspython/python-dnspython.changes 2011-03-24 20:56:12.0 +0100 +++ /mounts/work_src_done/STABLE/python-dnspython/python-dnspython.changes 2011-03-28 16:48:01.0 +0200 @@ -1,0 +2,9 @@ +Mon Mar 28 13:49:59 UTC 2011 - alexan...@exatati.com.br + +- Update to 1.9.4: + - There is no new functionality in this release; +just a few bug fixes in RRSIG and SIG code. + - Legacy code will be eliminated for earlier versions of +DNSSEC in a future release of dnspython. + +--- calling whatdependson for head-i586 Old: dnspython-1.9.3.tar.bz2 New: dnspython-1.9.4.tar.bz2 Other differences: -- ++ python-dnspython.spec ++ --- /var/tmp/diff_new_pack.GZjEkI/_old 2011-03-30 09:27:27.0 +0200 +++ /var/tmp/diff_new_pack.GZjEkI/_new 2011-03-30 09:27:27.0 +0200 @@ -23,7 +23,7 @@ %define mod_name dnspython Name: python-%{mod_name} -Version:1.9.3 +Version:1.9.4 Release:1 Url:http://www.dnspython.org Summary:A DNS toolkit for Python ++ dnspython-1.9.3.tar.bz2 -> dnspython-1.9.4.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dnspython-1.9.3/ChangeLog new/dnspython-1.9.4/ChangeLog --- old/dnspython-1.9.3/ChangeLog 2011-03-22 14:46:23.0 +0100 +++ new/dnspython-1.9.4/ChangeLog 2011-03-24 18:30:14.0 +0100 @@ -1,3 +1,17 @@ +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 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dnspython-1.9.3/PKG-INFO new/dnspython-1.9.4/PKG-INFO --- old/dnspython-1.9.3/PKG-INFO2011-03-24 15:49:33.0 +0100 +++ new/dnspython-1.9.4/PKG-INFO2011-03-28 14:56:42.0 +0200 @@ -1,12 +1,12 @@ Metadata-Version: 1.1 Name: dnspython -Version: 1.9.3 +Version: 1.9.4 Summary: DNS toolkit Home-page: http://www.dnspython.org Author: Bob Halley Author-email: hal...@dnspython.org License: BSD-like -Download-URL: http://www.dnspython.org/kits/1.9.3/dnspython-1.9.3.tar.gz +Download-URL: http://www.dnspython.org/kits/1.9.4/dnspython-1.9.4.tar.gz Description: dnspython is a DNS toolkit for Python. It supports almost all record types. It can be used for queries, zone transfers, and dynamic updates. It supports TSIG authenticated messages and EDNS0. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dnspython-1.9.3/README new/dnspython-1.9.4/README --- old/dnspython-1.9.3/README 2011-03-23 18:01:11.0 +0100 +++ new/dnspython-1.9.4/README 2011-03-24 18:38:59.0 +0100 @@ -22,7 +22,17 @@ ABOUT THIS RELEASE -This is dnspython 1.9.3 +This is dnspython 1.9.4 + +New since 1.9.3: + +Nothing. + +Bugs fixed since 1.9.3: + + The rdata _wire_cmp() routine now handles relative names. + + The SIG RR implementation was missing 'import struct'. New since 1.9.2: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dnspython-1.9.3/dns/rdata.py new/dnspython-1.9.4/dns/rdata.py --- old/dnspython-1.9.3/dns/rdata.py2011-02-09 10:19:51.0 +0100 +++ new/dnspython-1.9.4/dns/rdata.py2011-03-24 18:25:09.0 +0100 @@ -259,10 +259,14 @@ def _wire_cmp(self, other): # A number of types compare rdata in wire form, so we provide # the method here instead of duplicating it. +# +# We specifiy an arbitrary origin of '.' when doing the +# comparison, since the rdata may have relative names and we +# can't convert a relative name to wire without an origin. b1 = cStringIO.StringIO() -self.to_wire(b1) +self.to_wire(b1, None, dns.name.root) b2 = cStringIO.StringIO() -other.to_wire(b2) +other.to_wire(b2, None, dns.name.root) return cmp(b1.getvalue(), b2.getvalue()) def from_text(cls, rdclass, rdtype, tok, origin = None, relativize = True): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dnspython-1.9.3/dns/rdtypes/ANY/SIG.py new/dnspython-1.9
commit python-dnspython for openSUSE:Factory
Hello community, here is the log from the commit of package python-dnspython for openSUSE:Factory checked in at Fri Mar 25 08:55:26 CET 2011. --- python-dnspython/python-dnspython.changes 2010-11-23 12:29:32.0 +0100 +++ /mounts/work_src_done/STABLE/python-dnspython/python-dnspython.changes 2011-03-24 20:56:12.0 +0100 @@ -1,0 +2,26 @@ +Thu Mar 24 19:54:53 UTC 2011 - alexan...@exatati.com.br + +- Fix SLE_10 build. + +--- +Thu Mar 24 18:34:32 UTC 2011 - alexan...@exatati.com.br + +- Update to 1.9.3: + Bugs fixed since 1.9.2: + - Dnspython was erroneously doing case-insensitive comparisons +of the names in NSEC and RRSIG RRs. + - We now use "is" and not "==" when testing what section an RR +is in. + - The resolver now disallows metaqueries. + New since 1.9.2: + - 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. + - Resolver Answer() objects now have a canonical_name field. + - Rdata now have a __hash__ method. +- Regenerated spec file with py2pack; +- Removed LICENSE PKG-INFO and TODO files from documentation. + +--- calling whatdependson for head-i586 Old: dnspython-1.9.2.tar.bz2 New: dnspython-1.9.3.tar.bz2 Other differences: -- ++ python-dnspython.spec ++ --- /var/tmp/diff_new_pack.igJLUl/_old 2011-03-25 08:49:25.0 +0100 +++ /var/tmp/diff_new_pack.igJLUl/_new 2011-03-25 08:49:25.0 +0100 @@ -1,7 +1,7 @@ # -# spec file for package python-dnspython (Version 1.9.2) +# spec file for package python-dnspython # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,51 +15,65 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # +# norootforbuild +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} +%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} -Name: python-dnspython -Version:1.9.2 +%define mod_name dnspython + +Name: python-%{mod_name} +Version:1.9.3 Release:1 -License:Other License(s), see package, BSD -Summary:A DNS toolkit for Python Url:http://www.dnspython.org -Group: Productivity/Networking/DNS/Utilities -Source: http://www.dnspython.org/kits/stable/dnspython-%{version}.tar.bz2 -BuildRequires: python-devel +Summary:A DNS toolkit for Python +License:http://www.dnspython.org/LICENSE +Group: Development/Languages/Python +Source: %{mod_name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build -%{py_requires} -%if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1} +BuildRequires: python-devel +%if 0%{?suse_version} +%py_requires +%if 0%{?suse_version} > 1110 BuildArch: noarch %endif +%endif %description dnspython is a DNS toolkit for Python. It supports almost all record -types. It can be used for queries, zone transfers, and dynamic updates. -It supports TSIG authenticated messages and EDNS0. +types. It can be used for queries, zone transfers, +and dynamic updates. It supports TSIG authenticated messages and EDNS0. -dnspython 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. +dnspython 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. + +dnspython originated at Nominum where it was developed to facilitate the testing +of DNS software. Nominum has generously allowed it to be open sourced under a +BSD-style license. %prep -%setup -n dnspython-%{version} +%setup -q -n %{mod_name}-%{version} %build -find -name .\* -delete export CFLAGS="%{optflags}" -%{__python} setup.py build +python setup.py build %install -%{__python} setup.py install --prefix=%{_prefix} --root=%{buildroot} --record-rpm=INSTALLED_FILES -%{__chmod} 644 {examples,tests}