1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00

Update to 1.7.2 and fix building with libressl-devel

PR:		216825
Approved by:	maintainer (timeout), swills (mentor)
Differential Revision:	https://reviews.freebsd.org/D9711
This commit is contained in:
Matthew Rezny 2017-02-22 19:10:26 +00:00
parent 8b84c255e7
commit 13d338e152
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=434632
3 changed files with 23 additions and 4 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= cryptography
PORTVERSION= 1.6
PORTVERSION= 1.7.2
CATEGORIES= security python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1480367088
SHA256 (cryptography-1.6.tar.gz) = 4d0d86d2c8d3fc89133c3fa0d164a688a458b6663ab6fa965c80d6c2cdaf9b3f
SIZE (cryptography-1.6.tar.gz) = 410073
TIMESTAMP = 1486315564
SHA256 (cryptography-1.7.2.tar.gz) = 878cb68b3da3d493ffd68f36db11c29deee623671d3287c3f8d685117ffda9a9
SIZE (cryptography-1.7.2.tar.gz) = 420867

View File

@ -0,0 +1,19 @@
--- src/_cffi_src/openssl/x509_vfy.py.orig 2017-01-27 15:09:52 UTC
+++ src/_cffi_src/openssl/x509_vfy.py
@@ -221,10 +221,16 @@ static const long X509_V_ERR_SUITE_B_INV
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;
+#endif
+#ifndef X509_V_ERR_EMAIL_MISMATCH
static const long X509_V_ERR_EMAIL_MISMATCH = 0;
+#endif
+#ifndef X509_V_ERR_IP_ADDRESS_MISMATCH
static const long X509_V_ERR_IP_ADDRESS_MISMATCH = 0;
#endif
+#endif
/* OpenSSL 1.0.2beta2+ verification parameters */
#if CRYPTOGRAPHY_OPENSSL_102BETA2_OR_GREATER && \