FreeBSD Bugzilla – Attachment 215762 Details for
Bug 247403
security/py-cryptography: update to 2.9.2
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
update of distinfo and port version
292.patch (text/plain), 3.21 KB, created by
Alessandro Sagratini
on 2020-06-19 07:02:22 UTC
(
hide
)
Description:
update of distinfo and port version
Filename:
MIME Type:
Creator:
Alessandro Sagratini
Created:
2020-06-19 07:02:22 UTC
Size:
3.21 KB
patch
obsolete
>diff -urN /usr/ports/security/py-cryptography/Makefile py-cryptography/Makefile >--- /usr/ports/security/py-cryptography/Makefile 2019-03-21 19:41:59.000000000 +0000 >+++ py-cryptography/Makefile 2020-06-19 05:59:26.394470000 +0000 >@@ -2,7 +2,7 @@ > # $FreeBSD: head/security/py-cryptography/Makefile 496506 2019-03-21 19:41:59Z sunpoet $ > > PORTNAME= cryptography >-PORTVERSION= 2.6.1 >+PORTVERSION= 2.9.2 > CATEGORIES= security python > MASTER_SITES= CHEESESHOP > PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} >diff -urN /usr/ports/security/py-cryptography/distinfo py-cryptography/distinfo >--- /usr/ports/security/py-cryptography/distinfo 2019-03-21 19:41:59.000000000 +0000 >+++ py-cryptography/distinfo 2020-06-19 06:04:43.509633000 +0000 >@@ -1,3 +1,3 @@ >-TIMESTAMP = 1551354433 >-SHA256 (cryptography-2.6.1.tar.gz) = 26c821cbeb683facb966045e2064303029d572a87ee69ca5a1bf54bf55f93ca6 >-SIZE (cryptography-2.6.1.tar.gz) = 491580 >+TIMESTAMP = 1592546683 >+SHA256 (cryptography-2.9.2.tar.gz) = a0c30272fb4ddda5f5ffc1089d7405b7a71b0b0f51993cb4e5dbb4590b2fc229 >+SIZE (cryptography-2.9.2.tar.gz) = 517571 >diff -urN /usr/ports/security/py-cryptography/files/patch-PR4855 py-cryptography/files/patch-PR4855 >--- /usr/ports/security/py-cryptography/files/patch-PR4855 2019-04-26 05:13:26.000000000 +0000 >+++ py-cryptography/files/patch-PR4855 1970-01-01 00:00:00.000000000 +0000 >@@ -1,49 +0,0 @@ >-# security/py-cryptography fails to build with libressl-2.9.1 >-# https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237487 >-# Use generic DTLS functions added in LibreSSL 2.9.1 >-# https://github.com/pyca/cryptography/pull/4855 >- >-index 4124dcb879..ac32fdffde 100644 >---- src/_cffi_src/openssl/cryptography.py.orig >-+++ src/_cffi_src/openssl/cryptography.py >-@@ -38,9 +38,12 @@ >- (LIBRESSL_VERSION_NUMBER >= 0x2070000f) >- #define CRYPTOGRAPHY_LIBRESSL_28_OR_GREATER \ >- (LIBRESSL_VERSION_NUMBER >= 0x2080000f) >-+#define CRYPTOGRAPHY_LIBRESSL_291_OR_GREATER \ >-+ (LIBRESSL_VERSION_NUMBER >= 0x2090100f) >- #else >- #define CRYPTOGRAPHY_LIBRESSL_27_OR_GREATER (0) >- #define CRYPTOGRAPHY_LIBRESSL_28_OR_GREATER (0) >-+#define CRYPTOGRAPHY_LIBRESSL_291_OR_GREATER (0) >- #endif >- >- #define CRYPTOGRAPHY_OPENSSL_102_OR_GREATER \ >-diff --git a/src/_cffi_src/openssl/ssl.py b/src/_cffi_src/openssl/ssl.py >-index 92fd1e3ec8..da21f3ce90 100644 >---- src/_cffi_src/openssl/ssl.py.orig >-+++ src/_cffi_src/openssl/ssl.py >-@@ -719,17 +719,20 @@ >- static const long TLS_ST_OK = 0; >- #endif >- >--#if CRYPTOGRAPHY_OPENSSL_LESS_THAN_102 >-+/* LibreSSL 2.9.1 added only the DTLS_*_method functions */ >-+#if CRYPTOGRAPHY_OPENSSL_LESS_THAN_102 && !CRYPTOGRAPHY_LIBRESSL_291_OR_GREATER >- static const long Cryptography_HAS_GENERIC_DTLS_METHOD = 0; >- const SSL_METHOD *(*DTLS_method)(void) = NULL; >- const SSL_METHOD *(*DTLS_server_method)(void) = NULL; >- const SSL_METHOD *(*DTLS_client_method)(void) = NULL; >-+#else >-+static const long Cryptography_HAS_GENERIC_DTLS_METHOD = 1; >-+#endif >-+#if CRYPTOGRAPHY_OPENSSL_LESS_THAN_102 >- 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; >- long (*DTLS_get_link_min_mtu)(SSL *) = NULL; >--#else >--static const long Cryptography_HAS_GENERIC_DTLS_METHOD = 1; >- #endif >- >- static const long Cryptography_HAS_DTLS = 1;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 247403
: 215762
Working