summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-07-26 16:23:21 +0200
committerMichał Górny <mgorny@gentoo.org>2021-07-26 16:23:51 +0200
commita394d84a43ea75211b12edb7f57e1cb8377401b8 (patch)
tree3876e14ff6cef0257ad6259c18cdb1abdf863606 /dev-python/cryptography
parentsys-cluster/kube-scheduler: 1.19.13 bump (diff)
downloadgentoo-a394d84a43ea75211b12edb7f57e1cb8377401b8.tar.gz
gentoo-a394d84a43ea75211b12edb7f57e1cb8377401b8.tar.bz2
gentoo-a394d84a43ea75211b12edb7f57e1cb8377401b8.zip
dev-python/cryptography: Force-disable SSLv3 to avoid ABI breakage
Force-disable SSLv3 even if OpenSSL is built with SSLv3. Otherwise disabling sslv3 flag on dev-libs/openssl causes ABI breakage that requires manual intervention. Closes: https://bugs.gentoo.org/803887 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/cryptography')
-rw-r--r--dev-python/cryptography/cryptography-3.4.7-r2.ebuild (renamed from dev-python/cryptography/cryptography-3.4.7-r1.ebuild)4
1 files changed, 4 insertions, 0 deletions
diff --git a/dev-python/cryptography/cryptography-3.4.7-r1.ebuild b/dev-python/cryptography/cryptography-3.4.7-r2.ebuild
index 0bc251d53b55..57dc03c410a8 100644
--- a/dev-python/cryptography/cryptography-3.4.7-r1.ebuild
+++ b/dev-python/cryptography/cryptography-3.4.7-r2.ebuild
@@ -48,6 +48,10 @@ PATCHES=(
src_prepare() {
default
+ # avoid automagic dependency on dev-libs/openssl[sslv3]
+ # https://bugs.gentoo.org/789450
+ export CPPFLAGS="${CPPFLAGS} -DOPENSSL_NO_SSL3_METHOD=1"
+
# work around availability macros not supported in GCC (yet)
if [[ ${CHOST} == *-darwin* ]] ; then
local darwinok=0