There's a new version of m2crypto. Changelog: https://github.com/mcepl/M2Crypto/blob/master/CHANGES
Please do, OpenSSL 1.1.1 support included. M2Crypto 0.27.0 fails to compile with OpenSSL 1.1.1_pre3
+1 here. The latest upstream version is 0.30.1 . Changelog is at https://gitlab.com/m2crypto/m2crypto/blob/master/CHANGES .
reminder.
lastest version meanwhile pushed into ::ixit overlay
Since someone was kind enough to add non-upstreamed patch for LibreSSL, we need an updated patch to bump it.
*** Bug 665624 has been marked as a duplicate of this bug. ***
CCing libressl team. The LibreSSL webpage has references to patches: https://www.libressl.org/patches.html This links to the openbsd repo which has patches that seem to be updated for 0.30.0: https://cvsweb.openbsd.org/cgi-bin/cvsweb/ports/security/py-M2Crypto/patches/ Ideally the people who care about using m2crypto with libressl should also try upstreaming these patches, right now there's not even an open issue for it: https://gitlab.com/m2crypto/m2crypto/issues?scope=all&utf8=%E2%9C%93&state=opened&search=libressl Given that these are relatively noninvasive it may not be too hard to get upstream to merge them.
In attempt to get rid of python2_7 dependency, I made the above PR, for now bluntly dropping libressl in this version, until a later fix is found (I don't use libressl and cannot sufficiently test it).
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7987851c2eca01511b8edc4ce33863481e6e2248 commit 7987851c2eca01511b8edc4ce33863481e6e2248 Author: Kalin KOZHUHAROV <me.kalin@gmail.com> AuthorDate: 2018-12-16 22:21:57 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2018-12-22 11:43:26 +0000 dev-python/m2crypto: new version upstream There is already a bug 651726, but no activity (>10weeks). * drop support for libressl, feel free to include again (need patch rediff or submission upstream, see bug 651726) * upstream adds python3 support, so include * update dependencies (swig and openssl) Amendig per @juippis review: * Header fixed * EAPI=7 * openssl: depend on :0 slot without version * swig: depend on available in portage version (unslotted) * keeping KEYWORDS as they were from 0.27.0-r2 * adding python3_7, so -> python3_{4..7} Amending per @a17r review: * Remove ${PN} from DESCRIPTION Closes: https://bugs.gentoo.org/651726 Signed-off-by: Kalin KOZHUHAROV <kalin@thinrope.net> Closes: https://github.com/gentoo/gentoo/pull/10628 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> dev-python/m2crypto/Manifest | 1 + dev-python/m2crypto/m2crypto-0.31.0.ebuild | 52 ++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+)
Regarding libressl support, as per https://gitlab.com/m2crypto/m2crypto/issues/244 I'd say the probablility of getting this upstreamed is quite low. Would be nice to bring back libressl support here as patches.
> Regarding libressl support, as per > https://gitlab.com/m2crypto/m2crypto/issues/244 > I'd say the probablility of getting this upstreamed is quite low. Upstream says if people are interested in libressl support they should supply working patches, make sure they pass tests and help supporting them. That's totally reasonable and it's also what we should expect for support within Gentoo.