mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
python-cryptography: rebuild for libressl-2.9.2.
This commit is contained in:
parent
193a104a55
commit
a2ff56ad8b
2 changed files with 19 additions and 1 deletions
18
srcpkgs/python-cryptography/patches/libressl.patch
Normal file
18
srcpkgs/python-cryptography/patches/libressl.patch
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
$OpenBSD: patch-src__cffi_src_openssl_ssl_py,v 1.2 2019/04/19 10:18:16 sthen Exp $
|
||||||
|
|
||||||
|
Index: src/_cffi_src/openssl/ssl.py
|
||||||
|
--- src/_cffi_src/openssl/ssl.py.orig
|
||||||
|
+++ src/_cffi_src/openssl/ssl.py
|
||||||
|
@@ -721,9 +721,11 @@ static const long TLS_ST_OK = 0;
|
||||||
|
|
||||||
|
#if CRYPTOGRAPHY_OPENSSL_LESS_THAN_102
|
||||||
|
static const long Cryptography_HAS_GENERIC_DTLS_METHOD = 0;
|
||||||
|
+#if !CRYPTOGRAPHY_IS_LIBRESSL
|
||||||
|
const SSL_METHOD *(*DTLS_method)(void) = NULL;
|
||||||
|
const SSL_METHOD *(*DTLS_server_method)(void) = NULL;
|
||||||
|
const SSL_METHOD *(*DTLS_client_method)(void) = NULL;
|
||||||
|
+#endif
|
||||||
|
static const long SSL_OP_NO_DTLSv1 = 0;
|
||||||
|
static const long SSL_OP_NO_DTLSv1_2 = 0;
|
||||||
|
long (*DTLS_set_link_mtu)(SSL *, long) = NULL;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'python-cryptography'
|
# Template file for 'python-cryptography'
|
||||||
pkgname=python-cryptography
|
pkgname=python-cryptography
|
||||||
version=2.4.2
|
version=2.4.2
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="cryptography-${version}"
|
wrksrc="cryptography-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
hostmakedepends="python-setuptools python3-setuptools libressl-devel
|
hostmakedepends="python-setuptools python3-setuptools libressl-devel
|
||||||
|
|
Loading…
Add table
Reference in a new issue