Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 651726 - dev-python/m2crypto: Please bump to 0.30.1
Summary: dev-python/m2crypto: Please bump to 0.30.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: PullRequest
: 665624 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-03-27 15:09 UTC by Hanno Böck
Modified: 2018-12-23 19:00 UTC (History)
7 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hanno Böck gentoo-dev 2018-03-27 15:09:02 UTC
There's a new version of m2crypto. Changelog:
https://github.com/mcepl/M2Crypto/blob/master/CHANGES
Comment 1 David Heidelberg (okias) 2018-04-01 22:12:57 UTC
Please do, OpenSSL 1.1.1 support included.

M2Crypto 0.27.0 fails to compile with OpenSSL 1.1.1_pre3
Comment 2 Reuben Farrelly 2018-06-23 11:33:15 UTC
+1 here.  The latest upstream version is 0.30.1 .

Changelog is at https://gitlab.com/m2crypto/m2crypto/blob/master/CHANGES .
Comment 3 David Heidelberg (okias) 2018-06-24 10:17:29 UTC
reminder.
Comment 4 David Heidelberg (okias) 2018-06-24 10:26:49 UTC
lastest version meanwhile pushed into ::ixit overlay
Comment 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-06-24 10:39:59 UTC
Since someone was kind enough to add non-upstreamed patch for LibreSSL, we need an updated patch to bump it.
Comment 6 Hanno Böck gentoo-dev 2018-09-22 13:31:18 UTC
*** Bug 665624 has been marked as a duplicate of this bug. ***
Comment 7 Hanno Böck gentoo-dev 2018-09-22 13:39:42 UTC
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.
Comment 8 Kalin KOZHUHAROV 2018-12-13 15:30:52 UTC
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).
Comment 9 Larry the Git Cow gentoo-dev 2018-12-22 11:43:51 UTC
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(+)
Comment 10 Daniel Kenzelmann 2018-12-23 18:17:17 UTC
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.
Comment 11 Hanno Böck gentoo-dev 2018-12-23 19:00:46 UTC
> 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.