Commit Graph

12 Commits

Author SHA1 Message Date
Fabrice Fontaine
4dcd1dcf67 package/python-m2crypto: add CPE variables
cpe:2.3🅰️m2crypto_project:m2crypto is a valid CPE identifier for this
package:

  https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=cpe%3A2.3%3Aa%3Am2crypto_project%3Am2crypto

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2021-04-05 11:41:53 +02:00
Gustavo Heinz
8c017f3777 package/python-m2crypto: bump to version 0.37.1
Also, removed 0001 patch since it's already merged upstream.

https://gitlab.com/m2crypto/m2crypto/-/merge_requests/248

Signed-off-by: Gustavo Heinz <gustavo@gsthnz.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2021-03-01 22:18:28 +01:00
Gustavo Heinz
8b9c3100ef package/python-m2crypto: new package
Signed-off-by: Gustavo Heinz <gustavo@gsthnz.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-09-22 22:22:35 +02:00
Gustavo Zacarias
484c04878e python-m2crypto: remove
It only provided the host variant, which was only used by crda (no
longer necessary), and wasn't available as a host selection.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-03-30 17:45:55 +02:00
Peter Korsgaard
9ec49ad064 python-m2crypto: bump version
And add stronger hash.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-03-28 22:25:40 +02:00
Nitin Mendiratta
f606c9d4f8 python-m2crypto: bump to 0.23.0
[Peter: license is MIT, fix license file name / variable]
Signed-off-by: Nitin Mendiratta <nitin.mendiratta@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-03-28 22:01:56 +02:00
Thomas Petazzoni
539eabe594 python-m2crypto: different fix for the OpenSSL problem
m2crypto provides a --openssl option to specify the location of the
OpenSSL library, when not installed in /usr. However, this option does
not apply to the standard "build" command normally called by the
python-package infrastructure, but only to the "build_ext" command.

This already required to override the default python-package build
commands for this package. Moreover, this the last bump to version
0.22.5, things got even more complicated since calling just
"build_ext" does not work, and additional quirks are needed.

This commit proposes to get away with this by relying on the default
python-package behavior, and simply hardcoding the OpenSSL location by
patching the setup.py script in a post-patch hook.

This issue has also been reported upstream at
https://gitlab.com/m2crypto/m2crypto/issues/89.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-12-12 16:59:37 +01:00
Yann E. MORIN
1682aeefa3 package/mpython-m2crypto: bump version
Fixes:

http://autobuild.buildroot.org/results/ee1/ee1bb80214a51c212712de8193b89a32e9901408/
http://autobuild.buildroot.org/results/ce8/ce8d5d68eef312ca168f351b845920eb62ca4eb1/
http://autobuild.buildroot.org/results/500/5004a2a9cabe75669bbe90f3ee35ab3869617fc9/

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-12-07 08:34:33 +01:00
Samuel Martin
09e8b6cd53 python-m2crypto: requires host-python2
Acording to its homepage [1], m2crypto does not support python3 yet.

So, this patch forces building the host m2crypto module for pyhton2.

[1] https://pypi.python.org/pypi/M2Crypto

[Thomas: take into account the rename of the new variable to
<pkg>_NEEDS_HOST_PYTHON.]

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-04-05 16:41:15 +02:00
Thomas Petazzoni
dcd90b00ed python-m2crypto: convert to the Python package infrastructure
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-12-15 13:37:06 +01:00
Alexandre Belloni
8dfd59d114 Normalize separator size to 80
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-06-06 22:30:24 +02:00
Gustavo Zacarias
b099bb199e python-m2crypto: new package
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-06 13:44:35 +02:00