diff --git a/pycares-4.10.0.tar.gz b/pycares-4.10.0.tar.gz new file mode 100644 index 0000000..e6b9a5e --- /dev/null +++ b/pycares-4.10.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9df70dce6e05afa5d477f48959170e569485e20dad1a089c4cf3b2d7ffbd8bf9 +size 654318 diff --git a/pycares-4.9.0.tar.gz b/pycares-4.9.0.tar.gz deleted file mode 100644 index 684d8e0..0000000 --- a/pycares-4.9.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8ee484ddb23dbec4d88d14ed5b6d592c1960d2e93c385d5e52b6fad564d82395 -size 655365 diff --git a/python-pycares.changes b/python-pycares.changes index decb6c4..e61a627 100644 --- a/python-pycares.changes +++ b/python-pycares.changes @@ -1,3 +1,23 @@ +------------------------------------------------------------------- +Fri Aug 8 12:39:36 UTC 2025 - Nico Krapp + +- Update to 4.10.0 (actually fixes CVE-2025-48945, bsc#1244691) + * Remove unused import by @saghul in #240 + * Fixup chunked TXT record test by @saghul in #242 + * Remove overzealous checks by @saghul in #241 + * Fix OpenBSD build by @saghul in #243 + * Make result.type Final by @Dreamsorcerer in #246 + * Idna resource reduction using a length check by @Vizonex in #247 + * Add read & write process_fd functions by @Vizonex in #245 + * build(deps): bump pypa/cibuildwheel from 2.23.3 to 3.0.0 + by @dependabot[bot] in #244 + * Remove context manager support by @saghul in #252 + * Fixup test CI by @saghul in #254 + * Refactor channel destruction logic by @saghul in #253 +- use system c-ares instead of bundled version +- add python-pycares.rpmlintrc to ignore false positive of using + gethostbyname. + ------------------------------------------------------------------- Wed Jun 18 12:58:39 UTC 2025 - Nico Krapp diff --git a/python-pycares.rpmlintrc b/python-pycares.rpmlintrc new file mode 100644 index 0000000..0962594 --- /dev/null +++ b/python-pycares.rpmlintrc @@ -0,0 +1 @@ +addFilter("binary-or-shlib-calls-gethostbyname") diff --git a/python-pycares.spec b/python-pycares.spec index aaaecde..659f25c 100644 --- a/python-pycares.spec +++ b/python-pycares.spec @@ -1,7 +1,7 @@ # # spec file for package python-pycares # -# Copyright (c) 2025 SUSE LLC +# Copyright (c) 2025 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,13 +18,14 @@ %{?sle15_python_module_pythons} Name: python-pycares -Version: 4.9.0 +Version: 4.10.0 Release: 0 Summary: Python interface for c-ares License: MIT Group: Development/Languages/Python URL: https://github.com/saghul/pycares -Source: https://files.pythonhosted.org/packages/source/p/pycares/pycares-%{version}.tar.gz +Source0: https://files.pythonhosted.org/packages/source/p/pycares/pycares-%{version}.tar.gz +Source99: python-pycares.rpmlintrc # PATCH-FIX-UPSTREAM cleanup_tests.patch bsc#[0-9]+ mcepl@suse.com # Make the test suite slightly more normal Patch0: cleanup_tests.patch @@ -50,6 +51,7 @@ resolutions asynchronously %autosetup -p1 -n pycares-%{version} %build +export PYCARES_USE_SYSTEM_LIB=1 %pyproject_wheel %install