Sync from SUSE:ALP:Source:Standard:1.0 python-M2Crypto revision 4b8533f237f59e6aa4aa2705425d8745

This commit is contained in:
2025-05-22 09:33:39 +02:00
parent 6272f5c567
commit a6604c5aef
7 changed files with 166 additions and 725 deletions

View File

@@ -1,3 +1,139 @@
-------------------------------------------------------------------
Wed Feb 19 10:52:49 UTC 2025 - Matej Cepl <mcepl@suse.com>
- 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 <mcepl@cepl.eu>
- 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 <mcepl@cepl.eu>
- 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 <mcepl@cepl.eu>
- The real license is BSD 2-Clause, not MIT.
-------------------------------------------------------------------
Wed Oct 30 18:42:41 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
- 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 <mcepl@cepl.eu>
- Update 0.42.0:
- allow ASN1_{Integer,String} be initialized directly
- minimal infrastructure for type hints for a C extension and
some type hints for some basic modules
- time_t on 32bit Linux is 32bit (integer) not 64bit (long)
- EOS for CentOS 7
- correct checking for OpenSSL version number on Windows
- make compatible with Python 3.13 (replace PyEval_CallObject
with PyObject_CallObject)
- fix typo in extern function signature (and proper type of
engine_ctrl_cmd_string())
- move the package to Sorucehut
- setup CI to use Sourcehut CI
- setup CI on GitLab for Windows as well (remove Appveyor)
- initial draft of documentation for migration to
pyca/cryptography
- fix Read the Docs configuration (contributed kindly by Facundo
Tuesca)
- Remove upstreamed 32bit_ASN1_Time.patch
- Remove python-M2Crypto.keyring, because PyPI broke GPG support
-------------------------------------------------------------------
Wed Apr 3 09:22:02 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>
- Build for modern python stack on SLE/Leap
-------------------------------------------------------------------
Wed Jan 24 17:00:29 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>
- Disable broken tests with openssl 3.2, bsc#1217782
-------------------------------------------------------------------
Wed Jan 3 09:51:38 UTC 2024 - Dirk Müller <dmueller@suse.com>
- require setuptools
-------------------------------------------------------------------
Tue Oct 24 15:13:16 UTC 2023 - Matej Cepl <mcepl@cepl.eu>
- Update to 0.40.0:
- OK, SO NOT THIS RELEASE, BUT IN THE NEXT RELEASE PYTHON2 WILL
TRULY GO!
- BREAKING CHANGES:
- There are no SWIG generated files (src/SWIG/_m2crytpo_wrap.c)
included anymore, so swig must be installed, no
exceptions! Also, for compatibility with Python 3.12+, swig
4.0+ is required.
- All support for asyncore has been removed, as it has been
removed in Python 3.12 as well (which means also removal of
contrib/dispatcher.py, M2Crypto/SSL/ssl_dispatcher.py,
ZServerSSL).
- All use of distutils (including the bundled ones in
setuptools) has been removed, so `setup.py clean` is no
more.
- Excessively complicated and error-prone __init__py has been
cleaned and `import M2Crypto` doesnt include everything
anymore. Imports should specified as for example with `from
M2Crypto import foo`.
- ASN1_Time handling has been mostly rewritten and it almost
works even on Windows.
- All tests in Gitlab CI (with exceptions of some skipped tests
especially on Windows) are now green, tests of Python 2.7 on
CentOS 7 have been included.
- Introduce m2.err_clear_error()
- Make X509_verify_cert() accessible as m2.x509_verify_cert
- Add 32bit_ASN1_Time.patch to quench errors on 32bit archs.
-------------------------------------------------------------------
Mon Aug 7 13:14:41 UTC 2023 - Matej Cepl <mcepl@suse.com>
- Make tests running again.
-------------------------------------------------------------------
Tue Jul 4 19:21:57 UTC 2023 - Matej Cepl <mcepl@suse.com>
@@ -48,7 +184,7 @@ Thu Mar 16 10:35:33 UTC 2023 - Otto Hollmann <otto.hollmann@suse.com>
-------------------------------------------------------------------
Mon Nov 7 20:14:16 UTC 2022 - Dirk Müller <dmueller@suse.com>
- add openssl-stop-parsing-header.patch (bsc#1205042)
- add openssl-stop-parsing-header.patch (bsc#1205042)
- add m2crypto-0.38-ossl3-tests.patch
-------------------------------------------------------------------
@@ -126,18 +262,18 @@ Wed Jan 13 08:16:04 UTC 2021 - Matej Cepl <mcepl@suse.com>
Tue Dec 8 17:58:23 UTC 2020 - Matej Cepl <mcepl@suse.com>
- Update to 0.37.1:
- Remove support for CentOS 6 and Python 2.6 (remove
- Remove support for CentOS 6 and Python 2.6 (remove
tests.vendor module). Python 2.7 is still fully supported.
- Remodel CI:
- on GitHub switched from Travis-CI to GH Actions
- on GitLab-CI: stop testing 2.7 on Fedora, add centos7
- update appveyor.yml
- Stop playing with swig in setup.py, we don't support swig 1.*
- Stop playing with swig in setup.py, we don't support swig 1.*
anymore.
- Fix dereferencing of pointers (gl#m2crypto/m2crypto#281)
- Replace deprecated PyObject_AsReadBuffer with our own shim
- Replace deprecated PyObject_AsReadBuffer with our own shim
(thanks to Casey Deccio for saving my bacon there).
- Use parametrized to create parametrized tests (new external
- Use parametrized to create parametrized tests (new external
dependency).
- Only use DigestSign() and DigestUpdate() with OpenSSL >= 1.1.1
- Expose all the X509_V_FLAG
@@ -170,7 +306,7 @@ Update to 0.36.0:
- Make tests pass again. <Matěj Cepl>
- Stop using string module, which has been deprecated. <Matěj Cepl>
- Tiny fixes to make pyls more happy <Matěj Cepl>
- CI: Rework Fedora CI configuration <Neal Gompa>
- CI: Rework Fedora CI configuration <Neal Gompa>
- Remove upstream merged patch 001-fix-buffering-for-python38.patch.
-------------------------------------------------------------------
@@ -181,9 +317,9 @@ Wed Apr 8 12:30:32 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
-------------------------------------------------------------------
Mon Mar 9 09:56:49 UTC 2020 - Marco Strigl <marco.strigl@suse.com>
- in python3.8 the fp is wrapped in a Buffer. SSL.Connection.makefile
- in python3.8 the fp is wrapped in a Buffer. SSL.Connection.makefile
returns a socketIO which is no buffer.
Added: 001-fix-buffering-for-python38.patch
Added: 001-fix-buffering-for-python38.patch
-------------------------------------------------------------------
Mon Jun 10 13:59:24 CEST 2019 - Matej Cepl <mcepl@suse.com>
@@ -234,8 +370,8 @@ Tue Mar 5 09:01:46 CET 2019 - Matej Cepl <mcepl@suse.com>
- Update to 0.32.0:
* 471582f - setup.py: use ${CPP} as path to cpp <Duncan Macleod>
* efb1580 - Bump pipeline OpenSSL from 1.1.0i to 1.1.0j
* 35bb71b - Stub wchar_t helpers and ignore unused WCHAR defs
* efb1580 - Bump pipeline OpenSSL from 1.1.0i to 1.1.0j
* 35bb71b - Stub wchar_t helpers and ignore unused WCHAR defs
* effc7be - Add type comment to setup.py <Matěj Cepl>
-------------------------------------------------------------------
@@ -328,7 +464,7 @@ Wed Oct 25 20:07:14 UTC 2017 - michael@stroeder.com
-------------------------------------------------------------------
Fri Oct 20 13:51:00 UTC 2017 - alarrosa@suse.com
- Remove unnecessary fdupes call
- Remove unnecessary fdupes call
-------------------------------------------------------------------
Wed Oct 18 07:13:58 UTC 2017 - alarrosa@suse.com
@@ -376,7 +512,7 @@ Sat May 6 03:33:01 UTC 2017 - toddrme2178@gmail.com
-------------------------------------------------------------------
Thu Apr 27 15:56:24 UTC 2017 - alarrosa@suse.com
- Add python-typing as a dependency
- Add python-typing as a dependency
-------------------------------------------------------------------
Wed Apr 26 15:50:39 UTC 2017 - alarrosa@suse.com
@@ -423,7 +559,7 @@ Sat Dec 5 20:42:42 UTC 2015 - opensuse@dstoecker.de
-------------------------------------------------------------------
Thu Nov 26 09:35:28 UTC 2015 - hpj@urpla.net
- SLE12 requires swig3 for a successful build, too
- SLE12 requires swig3 for a successful build, too
-------------------------------------------------------------------
Tue Nov 17 17:54:49 UTC 2015 - hpj@urpla.net