From e094a6fc8ccb2793268a90fa6f93fb83ee933c01593dbcc6690596be59be48bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Wed, 20 Aug 2025 10:54:52 +0200 Subject: [PATCH] Sync changes to SLFO-1.2 branch --- m2crypto-0.42.0.tar.gz | 3 -- m2crypto-0.45.1.tar.gz | 3 ++ python-M2Crypto.changes | 93 +++++++++++++++++++++++++++++++++++++++ python-M2Crypto.rpmlintrc | 1 + python-M2Crypto.spec | 13 +++--- 5 files changed, 104 insertions(+), 9 deletions(-) delete mode 100644 m2crypto-0.42.0.tar.gz create mode 100644 m2crypto-0.45.1.tar.gz create mode 100644 python-M2Crypto.rpmlintrc diff --git a/m2crypto-0.42.0.tar.gz b/m2crypto-0.42.0.tar.gz deleted file mode 100644 index 5565e08..0000000 --- a/m2crypto-0.42.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:42b62df2caf623161b1d643a7235464c2fe2a3105049ebc498a6d47dc08f64b4 -size 240072 diff --git a/m2crypto-0.45.1.tar.gz b/m2crypto-0.45.1.tar.gz new file mode 100644 index 0000000..697dc31 --- /dev/null +++ b/m2crypto-0.45.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d0fc81a8828edbf4308432b3040bf06bb26bad95abb9e7d4690b6118551e76ec +size 363721 diff --git a/python-M2Crypto.changes b/python-M2Crypto.changes index 482dfaf..e4ae62b 100644 --- a/python-M2Crypto.changes +++ b/python-M2Crypto.changes @@ -1,3 +1,96 @@ +------------------------------------------------------------------- +Wed Apr 23 15:10:46 UTC 2025 - Matej Cepl + +- Update to 0.45.1: + - ci: switch from using sha1 to sha256. + - ci(keys): regenerate rsa*.pem keys as well + - fix: make the package compatible with OpenSSL >= 3.4 (don’t + rely on LEGACY crypto-policies) + - chore: package also system_shadowing directory to make builds more reliable + +------------------------------------------------------------------- +Thu Apr 17 04:09:44 UTC 2025 - Matej Cepl + +- Update to 0.45.0: + - chore: preparing 0.45.0 release + - fix(lib,ssl): rewrite ssl_accept, ssl_{read,write}_nbio for better error handling + - fix: replace m2_PyBuffer_Release with native PyBuffer_Release + - chore: build Windows builds with Python 3.13 as well + - fix: remove support for Engine + - chore: use actual license of the project + - ci(Debian): make M2Crypto buildable on Debian (bsc#1240965) + - swig: Workaround for reading sys/select.h ending with wrong types. + - ci: bump required setuptools version because of change in naming strategy + - fix: add fix for build with older GCC + - fix: remove AnyStr and Any types + +------------------------------------------------------------------- +Wed Apr 2 10:11:31 UTC 2025 - Matej Cepl + +- Allow for ambiguity in first letter of directories in + %{python_sitearch}. + +------------------------------------------------------------------- +Wed Feb 19 10:52:49 UTC 2025 - Matej Cepl + +- Change macro to %{?sle15allpythons} so we build both Python 3.6 + and Python 3.11 on SLE-15. + +------------------------------------------------------------------- +Tue Feb 18 07:24:17 UTC 2025 - Matej Cepl + +- Fix spelling of BSD-2-Clause license. +- Add rpmlintrc … overflow of ignorable rpmlint warnings caused + me not to see the previous problem. + +------------------------------------------------------------------- +Mon Feb 17 17:42:35 UTC 2025 - Matej Cepl + +- Update to 0.44.0: + - fix(rsa): introduce internal cache for rsa.check_key() + (bsc#1236664, srht#mcepl/m2crypto#369) + - fix[authcookie]: modernize the module + - fix(_lib): add missing #include for windows + - ci: relax fedora crypto policy to legacy. + - enhance setup.py for macos compatibility + - prefer packaging.version over distutils.version + - fix segfault with openssl 3.4.0 + - fix[ec]: raise ioerror instead when load_key_bio() cannot read + the file. + - doc: update installation instructions for windows. + - fix setting x509.verify_* variables + - fix building against openssl in non-standard location + - test_x509: use only x509_version_1 (0) as version for csr. + +------------------------------------------------------------------- +Wed Feb 12 11:01:06 UTC 2025 - Matej Cepl + +- The real license is BSD 2-Clause, not MIT. + +------------------------------------------------------------------- +Wed Oct 30 18:42:41 UTC 2024 - Matej Cepl + +- Update to 0.43.0: + - feat[m2]: add m2.time_t_bits to checking for 32bitness. + - fix[tests]: Use only X509_VERSION_1 (0) as version for CSR. + - fix[EC]: raise ValueError when load_key_bio() cannot read the + file (bsc#1231589). + - ci: use -mpip wheel instead of -mbuild + - fix: use PyMem_Malloc() instead of malloc() + - fix[hints]: more work on conversion of type hints to the py3k ones + - fix: make the package build even on Python 3.6 + - ci[local]: skip freezing local tests + - fix[hints]: remove AnyStr type + - test: add suggested test for RSA.{get,set}_ex_data + - fix: implement interfaces for RSA_{get,set}_ex_new_{data,index} + - fix: generate src/SWIG/x509_v_flag.h to overcome weaknesses of + swig + - fix: replace literal enumeration of all VERIFY_ constants by a + cycle + - test: unify various test cases in test_ssl related to ftpslib + - fix: replace deprecated url keyword in setup.cfg with complete + project_urls map + ------------------------------------------------------------------- Sat Aug 10 22:41:07 UTC 2024 - Matej Cepl diff --git a/python-M2Crypto.rpmlintrc b/python-M2Crypto.rpmlintrc new file mode 100644 index 0000000..f1b3d5d --- /dev/null +++ b/python-M2Crypto.rpmlintrc @@ -0,0 +1 @@ +addFilter("python-bytecode-inconsistent-mtime") diff --git a/python-M2Crypto.spec b/python-M2Crypto.spec index 3a2b3b6..c94bf42 100644 --- a/python-M2Crypto.spec +++ b/python-M2Crypto.spec @@ -1,7 +1,7 @@ # # spec file for package python-M2Crypto # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,15 +17,16 @@ %define oldpython python -%{?sle15_python_module_pythons} +%{?sle15allpythons} Name: python-M2Crypto -Version: 0.42.0 +Version: 0.45.1 Release: 0 Summary: Crypto and SSL toolkit for Python -License: MIT +License: BSD-2-Clause Group: Development/Languages/Python URL: https://sr.ht/~mcepl/m2crypto/ Source0: https://files.pythonhosted.org/packages/source/M/M2crypto/m2crypto-%{version}.tar.gz +Source99: python-M2Crypto.rpmlintrc BuildRequires: %{python_module devel} BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} @@ -97,8 +98,8 @@ donttest="test_verify_with_static_callback" %files %{python_files} %doc CHANGES LICENCE README.rst -%{python_sitearch}/M2Crypto -%{python_sitearch}/M2Crypto-%{version}*-info +%{python_sitearch}/[Mm]2[Cc]rypto +%{python_sitearch}/[Mm]2[Cc]rypto-%{version}*-info %files -n %{name}-doc %doc doc/*.rst