commit eb33e0352de1f5253ef52cb763f5e06b2fe056b4fb752f62b0cdae158db4b6bf Author: Dirk Mueller Date: Mon Jul 15 15:54:56 2024 +0000 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dnslib?expand=0&rev=12 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/dnslib-0.9.24.tar.gz b/dnslib-0.9.24.tar.gz new file mode 100644 index 0000000..cba688b --- /dev/null +++ b/dnslib-0.9.24.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ef167868a30d4ce7c90b921279d7ecfb986be8ebc530f3e6050a2ecb68707c76 +size 81873 diff --git a/dnslib-0.9.25.tar.gz b/dnslib-0.9.25.tar.gz new file mode 100644 index 0000000..a8c674b --- /dev/null +++ b/dnslib-0.9.25.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:687df2086e28086cb32b947dafa4c0a4e613f1429baa3be61d8b94e69418b4ef +size 82156 diff --git a/python-dnslib.changes b/python-dnslib.changes new file mode 100644 index 0000000..43654f5 --- /dev/null +++ b/python-dnslib.changes @@ -0,0 +1,77 @@ +------------------------------------------------------------------- +Mon Jul 15 15:54:39 UTC 2024 - Dirk Müller + +- update to 0.9.25: + * #60 - SyntaxWarning with Python 3.12 (@kitterma) + * #63 - Records with empty rdata causes pack() to fail + * #66 - DNS SRV "target" names are compressed (@bobstanden) + +------------------------------------------------------------------- +Sat Jan 6 17:11:17 UTC 2024 - Dirk Müller + +- update to 0.9.24: + * #49 - Generate README.md (via symlink) + * #51 - Update Github CI checkout & setup-python actions (and + remove Python 2.7 CI support) + * #54 - Support for RP records + * #57 - Support for LOC record + +------------------------------------------------------------------- +Wed Jan 4 14:44:54 UTC 2023 - Dirk Müller + +- update to 0.9.23: + * Minor clean-up / add wheels to distro + * Issue #43 (0.9.21 Raises TypeError instead of DNSError when failing to parse HTTPS records) + Note that we just fix the exception - there still seems to be a problem with parsing HTTPS records + * Issue #43: HTTPS reads after RD end (thanks to @robinlandstrom for pull request) + * Issue #45: Dnslib fails to handle unknown RR types in NSEC RD type bitmap + * Bimap now supports a function to map unknown types which we use to + dynamically map from rtype <-> TYPExxxx for unknown record types + * RR zone representation updated to match RFC3597 + * Pull Request #47: Add support for DS, SSHFP, and TLSA records (thanks to @rmbolger) + +------------------------------------------------------------------- +Tue Sep 27 18:30:29 UTC 2022 - Yogalakshmi Arunachalam + +- update to 0.9.21: + * Issue #43 (0.9.21 Raises TypeError instead of DNSError when failing to parse HTTPS records) + * setup.py + +- update 0.9.20 + * Merge pull request #41 from felixonmars/patch-1 + Correct typos in dns.py + * Add wheel instructions + * Set theme jekyll-theme-minimal + +------------------------------------------------------------------- +Sun Jan 23 16:53:04 UTC 2022 - Dirk Müller + +- update to 0.9.19: + * Allow custom log function (logf) in DNSLogger + +------------------------------------------------------------------- +Sat Jan 15 15:36:07 UTC 2022 - Dirk Müller + +- update to 0.9.18: + * Validate TXID in client.py + +------------------------------------------------------------------- +Tue Aug 17 11:46:14 UTC 2021 - John Paul Adrian Glaubitz + +- Update to v0.9.16 + * Add DNAME + * Add support for all RR types to NSEC type bitmap + * Issue 16: uncaught exceptions leak open sockets +- from v0.9.15 + * DNSServer fixes / Add unsupported RR types + * Add NULL QTYPE + +------------------------------------------------------------------- +Thu Aug 27 16:12:36 UTC 2020 - John Vandenberg + +- Update to v0.9.14 + +------------------------------------------------------------------- +Mon Dec 16 03:36:26 AM UTC 2019 - John Vandenberg + +- Initial spec for v0.9.10 diff --git a/python-dnslib.spec b/python-dnslib.spec new file mode 100644 index 0000000..9021d02 --- /dev/null +++ b/python-dnslib.spec @@ -0,0 +1,56 @@ +# +# spec file for package python-dnslib +# +# Copyright (c) 2024 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +Name: python-dnslib +Version: 0.9.25 +Release: 0 +Summary: Simple library to encode/decode DNS wire-format packets +License: BSD-2-Clause +Group: Development/Languages/Python +URL: https://github.com/paulc/dnslib +Source: https://files.pythonhosted.org/packages/source/d/dnslib/dnslib-%{version}.tar.gz +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +BuildArch: noarch +%python_subpackages + +%description +Simple library to encode/decode DNS wire-format packets. + +%prep +%setup -q -n dnslib-%{version} +sed -i '1{/^#!/d}' dnslib/test_decode.py + +%build +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%python_expand VERSIONS="$python" sh ./run_tests.sh + +%files %{python_files} +%doc README +%license LICENSE +%{python_sitelib}/* + +%changelog