Commit Graph

94 Commits

Author SHA256 Message Date
Dominique Leuenberger
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
95872560fe - 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/package/show/devel:languages:python/python-M2Crypto?expand=0&rev=92
2020-12-08 18:37:18 +00:00
Dominique Leuenberger
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
901dadd8c2 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/package/show/devel:languages:python/python-M2Crypto?expand=0&rev=90
2020-07-13 21:14:29 +00:00
Dominique Leuenberger
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
Tomáš Chvátal
3601a68b8e - Do not pull in py2 pkg on doc subpkg
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-M2Crypto?expand=0&rev=88
2020-04-08 12:30:51 +00:00
Dominique Leuenberger
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
cc5d0523fe Accepting request 782869 from home:mstrigl:branches:devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/782869
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-M2Crypto?expand=0&rev=86
2020-03-09 10:09:18 +00:00
Dominique Leuenberger
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
3e2e735ccd Accepting request 708964 from home:mcepl:branches:devel:languages:python
Better

OBS-URL: https://build.opensuse.org/request/show/708964
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-M2Crypto?expand=0&rev=84
2019-06-10 12:57:07 +00:00
35ca199081 Accepting request 708732 from home:mcepl:branches:devel:languages:python
- Replace fix_OpenSSL111c.patch with proper new release 0.35.1
  (there is really not much more in it).

OBS-URL: https://build.opensuse.org/request/show/708732
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-M2Crypto?expand=0&rev=83
2019-06-08 07:30:27 +00:00
143ba85e2b Accepting request 708462 from home:mcepl:branches:devel:languages:python
- Add fix_OpenSSL111c.patch patch to ensure compatibility with
  OpenSSL 1.1.1c. gl#m2crypto/m2crypto#258

OBS-URL: https://build.opensuse.org/request/show/708462
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-M2Crypto?expand=0&rev=82
2019-06-07 21:11:09 +00:00
2f2c5ffc03 - Upgrade to 0.34.0
- no upstream changelog

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-M2Crypto?expand=0&rev=81
2019-06-06 12:28:18 +00:00
Dominique Leuenberger
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
507d684c3f Accepting request 698280 from home:mcepl:branches:devel:languages:python
- Upgrade to 0.33.0:
  - 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.

OBS-URL: https://build.opensuse.org/request/show/698280
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-M2Crypto?expand=0&rev=79
2019-04-26 15:10:16 +00:00
Dominique Leuenberger
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
2184e314eb Accepting request 682461 from home:mcepl:branches:devel:languages:python
- Fix for compatibility with OpenSSL 1.1.0h by adding the patch
  0001-tests-test_ssl-use-ciphercuites-for-TLS1.3-cipher-in.patch

OBS-URL: https://build.opensuse.org/request/show/682461
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-M2Crypto?expand=0&rev=77
2019-03-07 13:24:45 +00:00
900620b9a8 Wrong version in %setup
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-M2Crypto?expand=0&rev=76
2019-03-05 08:05:37 +00:00
dfe0c8b5f7 - 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>

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-M2Crypto?expand=0&rev=75
2019-03-05 08:03:37 +00:00
Dominique Leuenberger
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
dde65d7d1b Whoops! Here -devel dependency certainly should stay
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-M2Crypto?expand=0&rev=73
2018-12-05 14:30:33 +00:00
7a30c128f8 Remove superfluous devel dependency for noarch package
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-M2Crypto?expand=0&rev=72
2018-12-04 13:42:08 +00:00
Dominique Leuenberger
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
47a763319c Remove openssl-1_1_1-compat.patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-M2Crypto?expand=0&rev=70
2018-11-09 14:22:06 +00:00
e0dc617125 Fix Version tag
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-M2Crypto?expand=0&rev=69
2018-11-09 14:21:49 +00:00
51970a19dc Update openssl 1.1.1 patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-M2Crypto?expand=0&rev=68
2018-11-08 16:06:09 +00:00
8bbb80cc80 Update openssl-1_1_1-compat.patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-M2Crypto?expand=0&rev=67
2018-11-07 17:44:36 +00:00
08ca273753 - 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/package/show/devel:languages:python/python-M2Crypto?expand=0&rev=66
2018-11-06 17:12:04 +00:00
becda8b9cd - WIP: pre-release of 0.31.0 tarball and attempts to fix OpenSSL
1.1.1 compatibility.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-M2Crypto?expand=0&rev=65
2018-10-30 16:13:10 +00:00
Dominique Leuenberger
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
10a7f1863f - 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/package/show/devel:languages:python/python-M2Crypto?expand=0&rev=63
2018-09-24 15:21:46 +00:00
Dominique Leuenberger
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
Tomáš Chvátal
9c9f151241 Accepting request 579623 from home:stroeder:branches:devel:languages:python
- Update to 0.29.0 (Fixes of some small bugs)

OBS-URL: https://build.opensuse.org/request/show/579623
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-M2Crypto?expand=0&rev=61
2018-02-23 23:02:46 +00:00
dac76aefb7 Accepting request 579028 from home:glaubitz:branches:devel:languages:python
- Add bug reference for bsc#1001377 for 0.24.0

OBS-URL: https://build.opensuse.org/request/show/579028
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-M2Crypto?expand=0&rev=60
2018-02-22 15:02:11 +00:00
Tomáš Chvátal
287890a395 - fix SSLv2 link error for 13.2 and Leap 42.1 (M2Crypto-0.22.5-SSLv2_link_error.patch) (bsc#969731)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-M2Crypto?expand=0&rev=59
2018-02-22 13:19:28 +00:00
Tomáš Chvátal
0a2a5e2e7d - Require python-xml that is used by some parts of M2crypto
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-M2Crypto?expand=0&rev=58
2018-02-20 11:15:15 +00:00
Dominique Leuenberger
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
Tomáš Chvátal
62493603bd - Update to 0.28.2:
* Fix ppc builds

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-M2Crypto?expand=0&rev=56
2018-02-11 13:54:07 +00:00
Tomáš Chvátal
290a8e58e1 Accepting request 574872 from home:stroeder:branches:devel:languages:python
- Update to 0.28.2

OBS-URL: https://build.opensuse.org/request/show/574872
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-M2Crypto?expand=0&rev=55
2018-02-11 13:52:58 +00:00
Tomáš Chvátal
7a112816e9 - Enable tests, fix docu install phase
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-M2Crypto?expand=0&rev=54
2018-02-09 09:56:35 +00:00
14d389a317 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-M2Crypto?expand=0&rev=53 2018-02-09 08:32:43 +00:00
5d51fb72dc Accepting request 574391 from home:stroeder:branches:devel:languages:python
- Update to 0.28.1

OBS-URL: https://build.opensuse.org/request/show/574391
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-M2Crypto?expand=0&rev=52
2018-02-09 08:20:22 +00:00
Dominique Leuenberger
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
Jan Matejek
33ed0fdfda - use generic way to require python-typing now that python3 provides it
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-M2Crypto?expand=0&rev=50
2017-11-08 18:14:18 +00:00
Dominique Leuenberger
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
Michael Ströder
a7cea0608d OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-M2Crypto?expand=0&rev=48 2017-10-25 20:07:25 +00:00
Michael Ströder
55bd80ebe4 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-M2Crypto?expand=0&rev=47 2017-10-25 20:06:47 +00:00
Michael Ströder
50f02cb942 Accepting request 535913 from home:alarrosa:branches:devel:languages:python
- Remove unnecessary fdupes call

OBS-URL: https://build.opensuse.org/request/show/535913
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-M2Crypto?expand=0&rev=46
2017-10-23 08:24:03 +00:00
Jan Matejek
8e1366d91b Accepting request 535455 from home:alarrosa:branches:devel:languages:python
- 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/535455
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-M2Crypto?expand=0&rev=45
2017-10-20 13:26:33 +00:00
Dominique Leuenberger
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