15
0

49 Commits

Author SHA256 Message Date
e094a6fc8c Sync changes to SLFO-1.2 branch 2025-08-20 10:54:52 +02:00
489495c748 Accepting request 1193147 from devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/1193147
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-M2Crypto?expand=0&rev=53
2024-08-14 12:14:38 +00:00
8482e9726f - Remove upstreamed 32bit_ASN1_Time.patch
- Remove python-M2Crypto.keyring, because PyPI broke GPG support

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-M2Crypto?expand=0&rev=133
2024-08-10 22:43:13 +00:00
c077808d6b - 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)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-M2Crypto?expand=0&rev=132
2024-08-10 22:41:52 +00:00
d3cb8d72a6 Accepting request 1164400 from devel:languages:python
- Build for modern python stack on SLE/Leap

OBS-URL: https://build.opensuse.org/request/show/1164400
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-M2Crypto?expand=0&rev=52
2024-04-04 20:24:36 +00:00
bd50587401 Accepting request 1141318 from devel:languages:python
- Disable broken tests with openssl 3.2, bsc#1217782

OBS-URL: https://build.opensuse.org/request/show/1141318
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-M2Crypto?expand=0&rev=51
2024-01-29 21:25:51 +00:00
71e0e8a741 Accepting request 1136436 from devel:languages:python
- require setuptools

- add openssl-stop-parsing-header.patch (bsc#1205042)
    - Remove support for CentOS 6 and Python 2.6 (remove
    - Stop playing with swig in setup.py, we don't support swig 1.*
    - Replace deprecated PyObject_AsReadBuffer with our own shim
    - Use parametrized to create parametrized tests (new external
    - CI: Rework Fedora CI configuration <Neal Gompa>
- in python3.8 the fp is wrapped in a Buffer. SSL.Connection.makefile
  Added: 001-fix-buffering-for-python38.patch
    * efb1580 - Bump pipeline OpenSSL from 1.1.0i to 1.1.0j
    * 35bb71b - Stub wchar_t helpers and ignore unused WCHAR defs
- Remove unnecessary fdupes call
- Add python-typing as a dependency
- SLE12 requires swig3 for a successful build, too

OBS-URL: https://build.opensuse.org/request/show/1136436
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-M2Crypto?expand=0&rev=50
2024-01-05 21:59:32 +00:00
2ad7da879e Accepting request 1120047 from devel:languages:python
- 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` doesn’t 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.

OBS-URL: https://build.opensuse.org/request/show/1120047
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-M2Crypto?expand=0&rev=49
2023-10-26 15:12:01 +00:00
625387b93f Accepting request 1103895 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1103895
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-M2Crypto?expand=0&rev=48
2023-08-15 14:39:48 +00:00
6bf9ef0c82 Accepting request 1096850 from devel:languages:python
- Update to 0.39.0:
  - SUPPORT FOR PYTHON 2 HAS BEEN DEPRECATED AND IT WILL BE
    COMPLETELY REMOVED IN THE NEXT RELEASE.
  - Remove dependency on parameterized and use unittest.subTest
    instead.
  - Upgrade embedded six.py module to 1.16.0 (really tiny
    inconsequential changes).
  - Make tests working on MacOS again (test_bio_membuf: Use fork)
  - Use OpenSSL_version_num() instead of unrealiable parsing of
    .h file.
  - Mitigate the Bleichenbacher timing attacks in the RSA
    decryption API (CVE-2020-25657)
  - Add functionality to extract EC key from public key + Update
    tests
  - Worked around compatibility issues with OpenSSL 3.*
  - Support for Twisted has been deprecated (they have their own
    SSL support anyway).
  - Generate TAP while testing.
  - Stop using GitHub for testing.
  - Accept a small deviation from time in the testsuite (for
    systems with non-standard HZ kernel parameter).
  - Use the default BIO.__del__ rather tha overriding in BIO.File
    (avoid a memleak).
  - Resolve "X509_Name.as_der() method from X509.py -> class
    X509_Name caused segmentation fault"
- Remove upstreamed patches:
  - CVE-2020-25657-Bleichenbacher-attack.patch
  - m2crypto-0.38-ossl3-tests.patch
  - openssl-adapt-tests-for-3.1.0.patch
  - openssl-stop-parsing-header.patch
  - timeout_300hz.patch
- add timeout_300hz.patch to accept a small deviation from time
  in the testsuite (bsc#1212757)

OBS-URL: https://build.opensuse.org/request/show/1096850
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-M2Crypto?expand=0&rev=47
2023-07-11 13:56:47 +00:00
2750e501e3 Accepting request 1072388 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1072388
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-M2Crypto?expand=0&rev=46
2023-03-19 15:15:44 +00:00
974623fd04 Accepting request 1034366 from devel:languages:python
- add openssl-stop-parsing-header.patch (bsc#1205042) 
- add m2crypto-0.38-ossl3-tests.patch

OBS-URL: https://build.opensuse.org/request/show/1034366
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-M2Crypto?expand=0&rev=45
2022-11-09 11:56:02 +00:00
f9cc6edc90 Accepting request 992616 from devel:languages:python
- update CVE-2020-25657-Bleichenbacher-attack.patch to actually
  contain the fix rather than just being empty (CVE-2020-25657,
  bsc#1178829)

OBS-URL: https://build.opensuse.org/request/show/992616
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-M2Crypto?expand=0&rev=44
2022-08-05 17:50:08 +00:00
cda3abc85a Accepting request 988816 from devel:languages:python
- Add CVE-2020-25657-Bleichenbacher-attack.patch (CVE-2020-25657,
  bsc#1178829), which mitigates the Bleichenbacher timing attacks
  in the RSA decryption API.
- Add python-M2Crypto.keyring to verify GPG signature of tarball.

OBS-URL: https://build.opensuse.org/request/show/988816
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-M2Crypto?expand=0&rev=43
2022-07-14 14:33:15 +00:00
c9953d1ee8 Accepting request 967536 from devel:languages:python
- Add missing bug references to this changelog.
- Update to 0.38.0:
    - Remove the last use of setup.py test idiom.
    - Use m2_PyObject_AsReadBuffer instead of PyObject_AsReadBuffer.
    - Add support for arm64 big endian <Steev Klimaszewski>
    - Make support of RSA_SSLV23_PADDING optional (it has been deprecated).
    - Move project to src/ layout
    - Allow verify_cb_* to be called with ok=True  <Casey Deccio>
    - Be prepared if any of constants in x509_vfy.h is not available.
    - But we do support 3.8
    - We DO NOT support Python 2.6.
- All patches were upstreamed:
    - 293_sslv23_padding.patch
    - no-need-parameterized.patch
    - python-M2Crypto-Allow-on-UNABLE_TO_VERIFY_LEAF_SIGNATURE.patch
- Add no-need-parameterized.patch ... we don't need run-time requirement
  of parameterized package (bsc#1185150).
- Add 293_sslv23_padding.patch to avoid using RSA_SSLV23_PADDING
  (gl#m2crypto/m2crypto#293, gh#openssl/openssl#14216).
- OpenSSL allows the verificaton to continue on
  UNABLE_TO_VERIFY_LEAF_SIGNATURE
  * This unifies the behaviour of a single certificate with an
    unknown CA certificate with a self-signed certificate.
- Add python-M2Crypto-Allow-on-UNABLE_TO_VERIFY_LEAF_SIGNATURE.patch
  (Thanks for Debian,
  https://salsa.debian.org/python-team/packages/m2crypto/-/commit/e0e9ad5cfff8)
- Add source signature file
- Dr. Strangelove or: How I Learned to Stop Worrying and Love pytest
- Update to 0.37.1:
    - 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.* 
      anymore.
    - Fix dereferencing of pointers (gl#m2crypto/m2crypto#281)
    - 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 
      dependency).
    - Only use DigestSign() and DigestUpdate() with OpenSSL >= 1.1.1
    - Expose all the X509_V_FLAG
    - Add support for DigestSign* and DigestVerify*
Update to 0.36.0:
    - wrap SocketIO in io.Buffered* for makefile <lethliel>
    - SSL.Connection.close accepts an argument to force the socket closing
      <Christophe Haen>
    - SSL.Connection: make the clientPostConnectionCheck an instance
      attribute <Christophe Haen>
    - Fixed bug with usage of unexisting method getreply at SSL_Transport
      <roman-nagaev>
    - Add appveyor builds for python 3.7 and 3.8 <Daniel A. Wozniak>
    - Fixed syntax warning on line 44. <randomfox>
    - Update M2Crypto.six to 1.13.0 <Matěj Cepl>
    - base64.decodestring() was finally removed in Python 3.8. <Matěj Cepl>
    - wrap SocketIO in io.Buffered* for makefile <lethliel>
    - NULL is legal argument for key and iv paramters of EVP_CipherInit(3)
      <Matěj Cepl>
    - Expose X509_V_FLAG_ALLOW_PROXY_CERTS verification flag and
      X509_STORE_SET_FLAGS function <Christophe Haen>
    - Stop testing for 2.6 and 3.4 on Travis. Start testing 3.8 <Matěj Cepl>
    - Extend test cert validity to 2049 <Bernhard M. Wiedemann>
    - Revert using typing module in 2.6. It is just not worthy. <Matěj Cepl>
    - Update Debian/stable SSL as well <Matěj Cepl>
    - 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> 
- Remove upstream merged patch 001-fix-buffering-for-python38.patch.
- Do not pull in py2 pkg on doc subpkg
- 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 
- Update to fix release 0.35.2 ... just fixing the test suite
  (bsc#1172226).
- Replace fix_OpenSSL111c.patch with proper new release 0.35.1
  (there is really not much more in it; bsc#1149792).
- Add fix_OpenSSL111c.patch patch to ensure compatibility with
  OpenSSL 1.1.1c. gl#m2crypto/m2crypto#258 and jsc#SLE-9135.
- Upgrade to 0.34.0
- no upstream changelog
- Upgrade to 0.33.0 (bsc#1135009):
  - eb4525c - Stop pretending to support Python 3.4.
  - 6a89548 - Fix use of urlunsplit (25 hours ago)
  - 0a5a356 - tests/test_ssl: use -ciphercuites for TLS1.3 cipher in
        openssl1.1
  - 8a0a3e3 - There are apparently multiword CPP variables. Taking that
        into account.
- Remove
  0001-tests-test_ssl-use-ciphercuites-for-TLS1.3-cipher-in.patch
  as it included in the latest release.
- Fix for compatibility with OpenSSL 1.1.0h by adding the patch
  0001-tests-test_ssl-use-ciphercuites-for-TLS1.3-cipher-in.patch
- 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 
    * effc7be - Add type comment to setup.py  <Matěj Cepl>
- Whoops! Here -devel dependency certainly should stay
- Remove superfluous devel dependency for noarch package
- Update to 0.31.0 released tarball:
    * Compatibility with OpenSSL 1.1.1 (partly workaround, maybe
      requires further investigation)
    * Fixes for Windows builds
    * Fixes of installs on AWS Lambda
    * Fixes of Mac OS X related failures
    * Fix Python 2.6 compatibility issues
- pre-release of 0.31.0 tarball
- add openssl-1_1_1-compat.patch to fix OpenSSL 1.1.1 compatibility.
- Update to 0.30.1:
    * Various small typos (Windows builds, Fix SSL.Connection.__del__)
    * The project is now Linux-distribution agnostic
    * Replace all old-style classes with the new ones (it shouldn't
      cause any problems, but feel free to file an issue, if it does)
    * Do not by-pass a potential transfer decoding in m2urllib2
    * Update M2Crypto.six with 1.11.0 and replace our local workarounds
      with new functions.
    * SSLv3 just removed.
    * Don't support Python 2.6 on Windows anymore. Windows users don't
      have python as a system package, so they are usually more likely
      to upgrade anyway.
- Update to 0.29.0 (Fixes of some small bugs)
- Require python-xml that is used by some parts of M2crypto
- Update to 0.28.2:
  * Fix ppc builds
- Enable tests, fix docu install phase
- Removed obsolete patches fix-build-python3.diff
  and fix-openssl-include-path.diff
- Update to 0.28.1
  * compability with Python 3
  * building on Mac OS X should be now more reliable and automagic
  * Fix licence in metadata: it is MIT, not BSD
  * Fix and add tests for SWIG/_aes.i module
  * Bundle-in unittest2 for Python 2.6
  * Remove all PGP modules
- use generic way to require python-typing now that python3 provides it
- License set to MIT
- Remove unnecessary fdupes call 
- Update to 0.27.0
  * Fix licence: it is MIT, not BSD
  * At least minimal support of SNI in httpslib.
  * Small bugfixes and cleanups.
  * More effort to make build system more robust.
  * Restore m2.rsa_set_e() and m2.rsa_set_n().
  * Make sure that every exceptional return throws and exception and viceversa.
- Add patch fix-build-python3.diff to let it build with python3
- Add patch fix-openssl-include-path.diff to fix openssl include path
  (the code already includes the openssl/ part)
- Create a new package python-M2Crypto-doc for documentation since rpmlint
  was complaining around 75% of the package was documentation.
- Update to 0.26.4 with fix for OpenSSL 1.1.0 and LibreSSL
- Update to 0.26.3 with fix for a syntax error
- Update to 0.26.2
  * compatibility with OpenSSL 1.1.0
- only require python3-typing if necessary
- It doesn't look like python3-m2crypto ever existed, so don't
  provide it.
- Add python-typing as a dependency 
- Provide python-m2crypto in the python2 package
- Update to 0.26.0
  * No changelog provided
- Implement single-spec version.
- use pypi.io as Source URL
- update to 0.25.1
- set new dependency on package python-typing
- update to 0.24.0 (bsc#1001377)
  * No changelog provided
- README is no longer included
- Removed obsolete python-M2Crypto-SWIG-3.0.5.patch
- fix SSLv2 link error for 13.2 and Leap 42.1 (M2Crypto-0.22.5-SSLv2_link_error.patch) (bsc#969731)
- update to 0.22.5, fix URL
- drop python-M2Crypto-SWIG-3.0.5.patch (functionality included upstream)
- SLE12 requires swig3 for a successful build, too 
- fix build for openSUSE Leap 42.1 (requires swig3)
- Add python-M2Crypto-SWIG-3.0.5.patch: Fix generation of M2Crypto
  module when using SWIG 3.0.5.
- Manually install _m2crypto shadow file: setup.py misses it.
  (boo#917759, boo#917815).
- Update to 0.22.3
  * No changelog provided
- Demos are no longer included
- Require python-setuptools instead of distribute (upstreams merged)
- fixed %fdupes creating dangling symlinks (bnc#835687)
- Add Source URL, see https://en.opensuse.org/SourceUrls
- Add requirement on python-pyOpenSSL, thinner than M2Crypto
- Narrow the scops of fdupes (see bnc#784670)
- fix Obsoletes
- fix license to be in spdx.org format
- Use SPDX style license
- Require python-distribute instead of python-setuptools
- Don't package testsuite
- Renamed to python-M2Crypto to match PyPI upstream name
  * Added Provides/Obsoletes for python-m2crypto
- Fixed wrong-EOL, executable bit for docs rpmlint warnings
- Update to 0.21.1
  - Support OpenSSL 1.0. Thanks to Miloslav Trmac for figuring out
    how to fix test_smime.py
  - Rename m2.engine_init to engine_init_error so that ENGINE_init
    and ENGINE_finish can be exposed, thanks to Erlo
  - 0.20 started releasing Python locks even around some operations
    that interacted with the Python runtime, potentially causing
    crashes and other weirdness, fix by Miloslav Trmac
  - Make httpslib.ProxyHTTPSConnection work with Python 2.3
- Removed patches that are now upstream
- Removed authors from spec
- add some upstream patches to fix openssl 1.0 build
- update to 0.20.2
  * PGP subpackage is deprecated
  * m2urllib now closes sockets properly
  * port is now integer in ProxyHTTPSConnection
  * many bugfixes
  * test coverage up to 80%
- enabled test suite in %check phase
  (requires python-setuptools and openssl binary to run)
- Update to M2Crypto 0.19.1.
- package taken from devel:languages:python in OBS

OBS-URL: https://build.opensuse.org/request/show/967536
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-M2Crypto?expand=0&rev=42
2022-04-08 23:43:56 +00:00
d83e999665 Accepting request 900001 from devel:languages:python
- Update to 0.38.0:
    - Remove the last use of setup.py test idiom.
    - Use m2_PyObject_AsReadBuffer instead of PyObject_AsReadBuffer.
    - Add support for arm64 big endian <Steev Klimaszewski>
    - Make support of RSA_SSLV23_PADDING optional (it has been deprecated).
    - Move project to src/ layout
    - Allow verify_cb_* to be called with ok=True  <Casey Deccio>
    - Be prepared if any of constants in x509_vfy.h is not available.
    - But we do support 3.8
    - We DO NOT support Python 2.6.
- All patches were upstreamed:
    - 293_sslv23_padding.patch
    - no-need-parameterized.patch
    - python-M2Crypto-Allow-on-UNABLE_TO_VERIFY_LEAF_SIGNATURE.patch

OBS-URL: https://build.opensuse.org/request/show/900001
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-M2Crypto?expand=0&rev=41
2021-06-18 08:13:15 +00:00
44809d66a2 Accepting request 887900 from devel:languages:python
- Add no-need-parameterized.patch ... we don't need run-time requirement
  of parameterized package (bsc#1185150).

OBS-URL: https://build.opensuse.org/request/show/887900
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-M2Crypto?expand=0&rev=40
2021-04-26 14:38:49 +00:00
f83180bbc5 Accepting request 873811 from devel:languages:python
- Add 293_sslv23_padding.patch to avoid using RSA_SSLV23_PADDING
  (gl#m2crypto/m2crypto#293, gh#openssl/openssl#14216).
- OpenSSL allows the verificaton to continue on
  UNABLE_TO_VERIFY_LEAF_SIGNATURE
  * This unifies the behaviour of a single certificate with an
    unknown CA certificate with a self-signed certificate.
- Add python-M2Crypto-Allow-on-UNABLE_TO_VERIFY_LEAF_SIGNATURE.patch
  (Thanks for Debian,
  https://salsa.debian.org/python-team/packages/m2crypto/-/commit/e0e9ad5cfff8)
- Add source signature file

OBS-URL: https://build.opensuse.org/request/show/873811
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-M2Crypto?expand=0&rev=39
2021-02-23 19:20:08 +00:00
cb684043d0 Accepting request 864616 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/864616
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-M2Crypto?expand=0&rev=38
2021-01-22 20:49:33 +00:00
e4b55f3ce6 Accepting request 854111 from devel:languages:python
- Update to 0.37.1:
    - 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.* 
      anymore.
    - Fix dereferencing of pointers (gl#m2crypto/m2crypto#281)
    - 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 
      dependency).
    - Only use DigestSign() and DigestUpdate() with OpenSSL >= 1.1.1
    - Expose all the X509_V_FLAG
    - Add support for DigestSign* and DigestVerify*

OBS-URL: https://build.opensuse.org/request/show/854111
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-M2Crypto?expand=0&rev=37
2020-12-12 19:29:12 +00:00
03f008cece Accepting request 820764 from devel:languages:python
Update to 0.36.0:
    - wrap SocketIO in io.Buffered* for makefile <lethliel>
    - SSL.Connection.close accepts an argument to force the socket closing
      <Christophe Haen>
    - SSL.Connection: make the clientPostConnectionCheck an instance
      attribute <Christophe Haen>
    - Fixed bug with usage of unexisting method getreply at SSL_Transport
      <roman-nagaev>
    - Add appveyor builds for python 3.7 and 3.8 <Daniel A. Wozniak>
    - Fixed syntax warning on line 44. <randomfox>
    - Update M2Crypto.six to 1.13.0 <Matěj Cepl>
    - base64.decodestring() was finally removed in Python 3.8. <Matěj Cepl>
    - wrap SocketIO in io.Buffered* for makefile <lethliel>
    - NULL is legal argument for key and iv paramters of EVP_CipherInit(3)
      <Matěj Cepl>
    - Expose X509_V_FLAG_ALLOW_PROXY_CERTS verification flag and
      X509_STORE_SET_FLAGS function <Christophe Haen>
    - Stop testing for 2.6 and 3.4 on Travis. Start testing 3.8 <Matěj Cepl>
    - Extend test cert validity to 2049 <Bernhard M. Wiedemann>
    - Revert using typing module in 2.6. It is just not worthy. <Matěj Cepl>
    - Update Debian/stable SSL as well <Matěj Cepl>
    - 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> 
- Remove upstream merged patch 001-fix-buffering-for-python38.patch.

OBS-URL: https://build.opensuse.org/request/show/820764
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-M2Crypto?expand=0&rev=36
2020-07-15 10:13:19 +00:00
7c0261c082 Accepting request 792455 from devel:languages:python
- Do not pull in py2 pkg on doc subpkg

OBS-URL: https://build.opensuse.org/request/show/792455
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-M2Crypto?expand=0&rev=35
2020-04-15 18:05:00 +00:00
03c398b4da Accepting request 782871 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/782871
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-M2Crypto?expand=0&rev=34
2020-03-09 10:19:19 +00:00
680e1d5df3 Accepting request 708965 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/708965
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-M2Crypto?expand=0&rev=33
2019-06-18 12:48:46 +00:00
1f3acb66a7 Accepting request 698281 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/698281
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-M2Crypto?expand=0&rev=32
2019-05-03 20:37:06 +00:00
5f5030c5a3 Accepting request 682462 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/682462
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-M2Crypto?expand=0&rev=31
2019-03-13 08:10:43 +00:00
a26570e565 Accepting request 655350 from devel:languages:python
- Whoops! Here -devel dependency certainly should stay
- Remove superfluous devel dependency for noarch package

OBS-URL: https://build.opensuse.org/request/show/655350
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-M2Crypto?expand=0&rev=30
2018-12-06 11:14:58 +00:00
8fbce3873b Accepting request 647603 from devel:languages:python
- Update to 0.31.0 released tarball:
    * Compatibility with OpenSSL 1.1.1 (partly workaround, maybe
      requires further investigation)
    * Fixes for Windows builds
    * Fixes of installs on AWS Lambda
    * Fixes of Mac OS X related failures
    * Fix Python 2.6 compatibility issues
- pre-release of 0.31.0 tarball
- add openssl-1_1_1-compat.patch to fix OpenSSL 1.1.1 compatibility.

OBS-URL: https://build.opensuse.org/request/show/647603
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-M2Crypto?expand=0&rev=29
2018-11-12 08:36:51 +00:00
f17fcf839b Accepting request 637715 from devel:languages:python
- Update to 0.30.1:
    * Various small typos (Windows builds, Fix SSL.Connection.__del__)
    * The project is now Linux-distribution agnostic
    * Replace all old-style classes with the new ones (it shouldn't
      cause any problems, but feel free to file an issue, if it does)
    * Do not by-pass a potential transfer decoding in m2urllib2
    * Update M2Crypto.six with 1.11.0 and replace our local workarounds
      with new functions.
    * SSLv3 just removed.
    * Don't support Python 2.6 on Windows anymore. Windows users don't
      have python as a system package, so they are usually more likely
      to upgrade anyway.

OBS-URL: https://build.opensuse.org/request/show/637715
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-M2Crypto?expand=0&rev=28
2018-10-01 07:07:10 +00:00
8f8cd37174 Accepting request 579674 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/579674
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-M2Crypto?expand=0&rev=27
2018-02-25 11:21:33 +00:00
750f057336 Accepting request 575393 from devel:languages:python
- Update to 0.28.2:
  * Fix ppc builds

- Enable tests, fix docu install phase

- Removed obsolete patches fix-build-python3.diff
  and fix-openssl-include-path.diff
- Update to 0.28.1
  * compability with Python 3
  * building on Mac OS X should be now more reliable and automagic
  * Fix licence in metadata: it is MIT, not BSD
  * Fix and add tests for SWIG/_aes.i module
  * Bundle-in unittest2 for Python 2.6
  * Remove all PGP modules

OBS-URL: https://build.opensuse.org/request/show/575393
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-M2Crypto?expand=0&rev=26
2018-02-12 09:12:26 +00:00
ecb66312ab Accepting request 542124 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/542124
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-M2Crypto?expand=0&rev=25
2017-11-19 10:07:32 +00:00
f18725a5be Accepting request 536615 from devel:languages:python
- License set to MIT
- Remove unnecessary fdupes call 
- Update to 0.27.0
  * Fix licence: it is MIT, not BSD
  * At least minimal support of SNI in httpslib.
  * Small bugfixes and cleanups.
  * More effort to make build system more robust.
  * Restore m2.rsa_set_e() and m2.rsa_set_n().
  * Make sure that every exceptional return throws and exception and viceversa.
- Add patch fix-build-python3.diff to let it build with python3
- Add patch fix-openssl-include-path.diff to fix openssl include path
  (the code already includes the openssl/ part)
- Create a new package python-M2Crypto-doc for documentation since rpmlint
  was complaining around 75% of the package was documentation.

OBS-URL: https://build.opensuse.org/request/show/536615
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-M2Crypto?expand=0&rev=24
2017-10-27 11:47:28 +00:00
9b9360b9c1 Accepting request 528798 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/528798
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-M2Crypto?expand=0&rev=23
2017-09-29 09:49:30 +00:00
3f087eec0a Accepting request 528579 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/528579
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-M2Crypto?expand=0&rev=22
2017-09-25 11:56:59 +00:00
7a3419bcd2 Accepting request 505953 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/505953
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-M2Crypto?expand=0&rev=21
2017-06-26 13:51:29 +00:00
61e6e3c861 Accepting request 493130 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/493130
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-M2Crypto?expand=0&rev=20
2017-05-09 15:58:43 +00:00
53e55b11b8 Accepting request 491646 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/491646
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-M2Crypto?expand=0&rev=19
2017-04-28 08:54:36 +00:00
a4b608c9c1 Accepting request 400229 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/400229
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-M2Crypto?expand=0&rev=18
2016-06-12 16:53:07 +00:00
7f2a739c2e Accepting request 347856 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/347856
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-M2Crypto?expand=0&rev=17
2015-12-09 18:33:44 +00:00
c90d89b96e Accepting request 345498 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/345498
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-M2Crypto?expand=0&rev=16
2015-12-01 09:01:48 +00:00
f30b923842 Accepting request 287546 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/287546
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-M2Crypto?expand=0&rev=15
2015-02-27 10:03:52 +00:00
Tomáš Chvátal
f7df5570a1 Accepting request 230734 from devel:languages:python
- Update to 0.22.3
 * No changelog provided
- Demos are no longer included

this has necessary adjustments for openssl w/o sslv2; needed for Factory! (forwarded request 230731 from sumski)

OBS-URL: https://build.opensuse.org/request/show/230734
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-M2Crypto?expand=0&rev=13
2014-04-18 10:33:55 +00:00
Tomáš Chvátal
f18e81ac72 Accepting request 204590 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/204590
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-M2Crypto?expand=0&rev=12
2013-10-25 09:23:09 +00:00
Stephan Kulow
c3fb90a0be Accepting request 199714 from devel:languages:python
- fixed %fdupes creating dangling symlinks (bnc#835687)
- changed the %doc filelist to appease SLE (forwarded request 199705 from matejcik)

OBS-URL: https://build.opensuse.org/request/show/199714
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-M2Crypto?expand=0&rev=11
2013-09-23 08:56:24 +00:00
Stephan Kulow
d8118bcfea Accepting request 162853 from devel:languages:python
- Add Source URL, see https://en.opensuse.org/SourceUrls (forwarded request 162849 from namtrac)

OBS-URL: https://build.opensuse.org/request/show/162853
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-M2Crypto?expand=0&rev=9
2013-04-05 15:05:05 +00:00
Stephan Kulow
a49c740587 Accepting request 139855 from devel:languages:python
- Narrow the scops of fdupes (see bnc#784670)

- fix Obsoletes

OBS-URL: https://build.opensuse.org/request/show/139855
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-M2Crypto?expand=0&rev=7
2012-11-02 14:20:51 +00:00
Stephan Kulow
7534e50a4e Accepting request 96631 from devel:languages:python
- fix license to be in spdx.org format (forwarded request 96449 from coolo)

OBS-URL: https://build.opensuse.org/request/show/96631
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-M2Crypto?expand=0&rev=5
2011-12-21 14:41:40 +00:00
Sascha Peilicke
18a3502ae3 Accepting request 84393 from devel:languages:python
- Use SPDX style license
- Require python-distribute instead of python-setuptools
- Don't package testsuite

OBS-URL: https://build.opensuse.org/request/show/84393
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-M2Crypto?expand=0&rev=3
2011-09-26 08:12:44 +00:00

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-M2Crypto
#
# Copyright (c) 2025 SUSE LLC and contributors
# 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