From: "Luca Barbato" <lu_zero@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/cryptography/, dev-python/cryptography/files/
Date: Sun, 26 Feb 2017 16:44:17 +0000 (UTC) [thread overview]
Message-ID: <1488127436.7cb9bf4b1803801f4670546a08e56a1a2b3b9756.lu_zero@gentoo> (raw)
commit: 7cb9bf4b1803801f4670546a08e56a1a2b3b9756
Author: Luca Barbato <lu_zero <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 26 16:43:28 2017 +0000
Commit: Luca Barbato <lu_zero <AT> gentoo <DOT> org>
CommitDate: Sun Feb 26 16:43:56 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7cb9bf4b
dev-python/cryptography: Fix libressl support
Package-Manager: portage-2.3.3
dev-python/cryptography/cryptography-1.7.2.ebuild | 1 +
.../files/cryptography-1.7.2-libressl-2.5.1.patch | 16 ++++++++++++++++
2 files changed, 17 insertions(+)
diff --git a/dev-python/cryptography/cryptography-1.7.2.ebuild b/dev-python/cryptography/cryptography-1.7.2.ebuild
index c8c7f9b25d..85f516caaf 100644
--- a/dev-python/cryptography/cryptography-1.7.2.ebuild
+++ b/dev-python/cryptography/cryptography-1.7.2.ebuild
@@ -43,6 +43,7 @@ DEPEND="${RDEPEND}
)"
DOCS=( AUTHORS.rst CONTRIBUTING.rst README.rst )
+PATCHES=( "${FILESDIR}"/${P}-libressl-2.5.1.patch )
python_test() {
distutils_install_for_testing
diff --git a/dev-python/cryptography/files/cryptography-1.7.2-libressl-2.5.1.patch b/dev-python/cryptography/files/cryptography-1.7.2-libressl-2.5.1.patch
new file mode 100644
index 0000000000..38fce99a5e
--- /dev/null
+++ b/dev-python/cryptography/files/cryptography-1.7.2-libressl-2.5.1.patch
@@ -0,0 +1,16 @@
+diff -urN cryptography-1.7.2.orig/src/_cffi_src/openssl/x509_vfy.py cryptography-1.7.2/src/_cffi_src/openssl/x509_vfy.py
+--- cryptography-1.7.2.orig/src/_cffi_src/openssl/x509_vfy.py 2017-01-27 15:09:52.000000000 +0000
++++ cryptography-1.7.2/src/_cffi_src/openssl/x509_vfy.py 2017-02-26 15:15:09.889855740 +0000
+@@ -221,10 +221,12 @@
+ static const long X509_V_ERR_SUITE_B_INVALID_SIGNATURE_ALGORITHM = 0;
+ static const long X509_V_ERR_SUITE_B_LOS_NOT_ALLOWED = 0;
+ static const long X509_V_ERR_SUITE_B_CANNOT_SIGN_P_384_WITH_P_256 = 0;
++#ifndef X509_V_ERR_HOSTNAME_MISMATCH
+ static const long X509_V_ERR_HOSTNAME_MISMATCH = 0;
+ static const long X509_V_ERR_EMAIL_MISMATCH = 0;
+ static const long X509_V_ERR_IP_ADDRESS_MISMATCH = 0;
+ #endif
++#endif
+
+ /* OpenSSL 1.0.2beta2+ verification parameters */
+ #if CRYPTOGRAPHY_OPENSSL_102BETA2_OR_GREATER && \
next reply other threads:[~2017-02-26 16:44 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-26 16:44 Luca Barbato [this message]
-- strict thread matches above, loose matches on Subject: below --
2017-05-03 11:02 [gentoo-commits] repo/gentoo:master commit in: dev-python/cryptography/, dev-python/cryptography/files/ Michał Górny
2018-04-13 1:07 Aaron Bauman
2021-05-15 11:51 Michał Górny
2022-07-29 14:37 Michał Górny
2024-05-25 15:07 Michał Górny
2024-07-21 18:28 Michał Górny
2024-11-03 13:30 Michał Górny
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1488127436.7cb9bf4b1803801f4670546a08e56a1a2b3b9756.lu_zero@gentoo \
--to=lu_zero@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox