Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Feb 2017 19:10:26 +0000 (UTC)
From:      Matthew Rezny <rezny@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r434632 - in head/security/py-cryptography: . files
Message-ID:  <201702221910.v1MJAQOo022879@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rezny
Date: Wed Feb 22 19:10:26 2017
New Revision: 434632
URL: https://svnweb.freebsd.org/changeset/ports/434632

Log:
  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

Added:
  head/security/py-cryptography/files/
  head/security/py-cryptography/files/patch-src___cffi__src_openssl_x509__vfy.py   (contents, props changed)
Modified:
  head/security/py-cryptography/Makefile
  head/security/py-cryptography/distinfo

Modified: head/security/py-cryptography/Makefile
==============================================================================
--- head/security/py-cryptography/Makefile	Wed Feb 22 19:04:03 2017	(r434631)
+++ head/security/py-cryptography/Makefile	Wed Feb 22 19:10:26 2017	(r434632)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	cryptography
-PORTVERSION=	1.6
+PORTVERSION=	1.7.2
 CATEGORIES=	security python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

Modified: head/security/py-cryptography/distinfo
==============================================================================
--- head/security/py-cryptography/distinfo	Wed Feb 22 19:04:03 2017	(r434631)
+++ head/security/py-cryptography/distinfo	Wed Feb 22 19:10:26 2017	(r434632)
@@ -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

Added: head/security/py-cryptography/files/patch-src___cffi__src_openssl_x509__vfy.py
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/py-cryptography/files/patch-src___cffi__src_openssl_x509__vfy.py	Wed Feb 22 19:10:26 2017	(r434632)
@@ -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 && \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201702221910.v1MJAQOo022879>