<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-openembedded.git/meta-python/recipes-devtools/python/python3-m2crypto_0.37.1.bb, branch kirkstone-next</title>
<subtitle>Mirror of git.openembedded.org/meta-openembedded</subtitle>
<id>https://git.enea.com/cgit/linux/meta-openembedded.git/atom?h=kirkstone-next</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-openembedded.git/atom?h=kirkstone-next'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/'/>
<updated>2021-07-06T16:40:42+00:00</updated>
<entry>
<title>python3-m2crypto: upgrade 0.37.1 -&gt; 0.38.0</title>
<updated>2021-07-06T16:40:42+00:00</updated>
<author>
<name>zangrc</name>
<email>zangrc.fnst@fujitsu.com</email>
</author>
<published>2021-07-05T01:55:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=eb7030939983dc4fc5dfb29e4f0ef4e4b4d3f505'/>
<id>urn:sha1:eb7030939983dc4fc5dfb29e4f0ef4e4b4d3f505</id>
<content type='text'>
0.38.0 - 2021-06-14
-------------------

- Remove the last use of setup.py test idiom.
- Use m2_PyObject_AsReadBuffer instead of PyObject_AsReadBuffer.
- Add support for arm64 big endian &lt;Steev Klimaszewski&gt;
- 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  &lt;Casey Deccio&gt;
- 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.

Refresh the following patch:
cross-compile-platform.patch

0001-Allow-verify_cb_-to-be-called-with-ok-True.patch
0001-Use-of-RSA_SSLV23_PADDING-has-been-deprecated.patch
Removed since these are included in 0.38.0

Signed-off-by: Zang Ruochen &lt;zangrc.fnst@fujitsu.com&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
Signed-off-by: Trevor Gamblin &lt;trevor.gamblin@windriver.com&gt;
</content>
</entry>
<entry>
<title>python3-m2crypto: avoid host contamination for swig</title>
<updated>2021-06-28T16:02:47+00:00</updated>
<author>
<name>Kai Kang</name>
<email>kai.kang@windriver.com</email>
</author>
<published>2021-06-24T08:32:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=cff3116f665c2d17f6a6ae9bbe61025c88da99c0'/>
<id>urn:sha1:cff3116f665c2d17f6a6ae9bbe61025c88da99c0</id>
<content type='text'>
If the version of libssl-dev is not match the version of libssl on the
build machine, it fails to compile SWIG/_m2crypto_wrap.c which is
created by swig for python3-m2crypto-native:

| SWIG/_m2crypto_wrap.c:9757:19: error: dereferencing pointer to
   incomplete type 'struct stack_st'
|   if (arg1) (arg1)-&gt;num = arg2;
|                   ^~

But it works if no libssl-dev installed on the build machine.

Export STAGING_DIR to make existing patch
0001-setup.py-link-in-sysroot-not-in-host-directories.patch work. And
filter out '/usr/inlucde' from include pathes of swig.

Signed-off-by: Kai Kang &lt;kai.kang@windriver.com&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
Signed-off-by: Trevor Gamblin &lt;trevor.gamblin@windriver.com&gt;
</content>
</entry>
<entry>
<title>python3-m2crypto: fix word size for qemuppc64 little endian</title>
<updated>2021-06-09T15:45:24+00:00</updated>
<author>
<name>Kai Kang</name>
<email>kai.kang@windriver.com</email>
</author>
<published>2021-06-08T08:38:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=cf84284bb07a2e3d80e8aa6a7a7a33812d8636d8'/>
<id>urn:sha1:cf84284bb07a2e3d80e8aa6a7a7a33812d8636d8</id>
<content type='text'>
It fails to compile python3-m2crypto for qemuppc64 little endian:

| /path/to/tmp-glibc/work/ppc64p9le-wrs-linux/python3-m2crypto/0.37.1-r0/
    recipe-sysroot/usr/include/openssl/opensslconf.h:23:
| Error: Unable to find 'openssl/opensslconf-32.h'

It defines '__powerpc64le__' but expects '__powerpc64__'. Define the
right macro for qemuppc64le.

Signed-off-by: Kai Kang &lt;kai.kang@windriver.com&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
Signed-off-by: Trevor Gamblin &lt;trevor.gamblin@windriver.com&gt;
</content>
</entry>
<entry>
<title>python3-m2crypto: Fix build on riscv and mips</title>
<updated>2021-05-17T15:52:24+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2021-05-14T14:07:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=7de9c498be8a0487ef6503081bdb9e0278c3e8f6'/>
<id>urn:sha1:7de9c498be8a0487ef6503081bdb9e0278c3e8f6</id>
<content type='text'>
wordlen is not so easy to calculate on RISCV, therefore pass the right
ingredients so compiler does the right thing in the end

Do same for mips as well

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
Signed-off-by: Trevor Gamblin &lt;trevor.gamblin@windriver.com&gt;
</content>
</entry>
<entry>
<title>python3-m2crypto: Pass correct ABI defines to swig</title>
<updated>2021-05-11T15:25:56+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2021-05-08T05:44:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=4e36f13b04a8b7ff19a4205c66b3b27f0800ab9a'/>
<id>urn:sha1:4e36f13b04a8b7ff19a4205c66b3b27f0800ab9a</id>
<content type='text'>
This ensures that WORDSIZE is as per the target, currently this does not
get it right for cross-compilation env, and OE uses multilib headers by
default ( even when you do not use multilib ) which means if WORDSIZE
is wrong it will go on to include wrong headers due to these artificial stubs

Fixes
swig -python -py3 -ITOPDIR/tmp-glibc/work/cortexa57-oe-linux/python3-m2crypto/0.37.1-r0/recipe-sysroot-native/usr/bin/aarch64-oe-linux/../../lib/aarch64-oe-linux/gcc/aarch64-oe-linux/11.1.0/include -ITOPDIR/tmp-glibc/work/cortexa57-oe-linux/python3-m2crypto/0.37.1-r0/recipe-sysroot-native/usr/bin/aarch64-oe-linux/../../lib/aarch64-oe-linux/gcc/aarch64-oe-linux/11.1.0/include-fixed -ITOPDIR/tmp-glibc/work/cortexa57-oe-linux/python3-m2crypto/0.37.1-r0/recipe-sysroot/usr/lib/aarch64-oe-linux/11.1.0/include -ITOPDIR/tmp-glibc/work/cortexa57-oe-linux/python3-m2crypto/0.37.1-r0/recipe-sysroot/usr/include -ITOPDIR/tmp-glibc/work/cortexa57-oe-linux/python3-m2crypto/0.37.1-r0/recipe-sysroot/usr/include -ITOPDIR/tmp-glibc/work/cortexa57-oe-linux/python3-m2crypto/0.37.1-r0/recipe-sysroot/usr/include/python3.9 -I/usr/include/openssl -includeall -modern -builtin -outdir TOPDIR/tmp-glibc/work/cortexa57-oe-linux/python3-m2crypto/0.37.1-r0/M2Crypto-0.37.1/M2Crypto -o SWIG/_m2crypto_wrap.c SWIG/_m2crypto.i
  TOPDIR/tmp-glibc/work/cortexa57-oe-linux/python3-m2crypto/0.37.1-r0/recipe-sysroot/usr/include/openssl/opensslconf.h:23: Error: Unable to find 'openssl/opensslconf-32.h'

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
Cc: Martin Jansa &lt;Martin.Jansa@gmail.com&gt;
Signed-off-by: Trevor Gamblin &lt;trevor.gamblin@windriver.com&gt;
</content>
</entry>
<entry>
<title>python3-m2crypto: Upgrade to 0.37.1</title>
<updated>2021-05-03T15:05:21+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2021-05-01T19:04:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=b8bbcd4dea422be57123d75fbf77db6d33542b06'/>
<id>urn:sha1:b8bbcd4dea422be57123d75fbf77db6d33542b06</id>
<content type='text'>
Unifiy .inc into .bb
Add patches to fix issues with openssl 1.1.x
Remove m2crypto-0.26.4-gcc_macros patch, its no longer needed
Refresh existing patches

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
Signed-off-by: Trevor Gamblin &lt;trevor.gamblin@windriver.com&gt;
</content>
</entry>
</feed>
