From owner-svn-ports-head@freebsd.org Sun Oct 18 03:13:55 2015 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8ACB8A10A36; Sun, 18 Oct 2015 03:13:55 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 45545F51; Sun, 18 Oct 2015 03:13:55 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t9I3Dsw6094705; Sun, 18 Oct 2015 03:13:54 GMT (envelope-from koobs@FreeBSD.org) Received: (from koobs@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t9I3DsjZ094702; Sun, 18 Oct 2015 03:13:54 GMT (envelope-from koobs@FreeBSD.org) Message-Id: <201510180313.t9I3DsjZ094702@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: koobs set sender to koobs@FreeBSD.org using -f From: Kubilay Kocak Date: Sun, 18 Oct 2015 03:13:54 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r399604 - in head/security/py-cryptography: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Oct 2015 03:13:55 -0000 Author: koobs Date: Sun Oct 18 03:13:53 2015 New Revision: 399604 URL: https://svnweb.freebsd.org/changeset/ports/399604 Log: security/py-cryptography: Update to 1.0.2 - Update to 1.0.2 - Strip shared libraries - Add patch to support building with LibreSSL - Remove ALPN patch (upstreamed) Changes: https://github.com/pyca/cryptography/blob/1.0.2/CHANGELOG.rst PR: 203819 Submitted by: Ralf van der Enden Added: head/security/py-cryptography/files/patch-src___cffi__src_openssl_ec.py (contents, props changed) Deleted: head/security/py-cryptography/files/patch-src_cryptography_hazmat_bindings_openssl_ssl.py Modified: head/security/py-cryptography/Makefile head/security/py-cryptography/distinfo Modified: head/security/py-cryptography/Makefile ============================================================================== --- head/security/py-cryptography/Makefile Sat Oct 17 21:37:14 2015 (r399603) +++ head/security/py-cryptography/Makefile Sun Oct 18 03:13:53 2015 (r399604) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= cryptography -PORTVERSION= 0.8.2 +PORTVERSION= 1.0.2 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -33,6 +33,9 @@ LDFLAGS+= -L${OPENSSLLIB} BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}enum34>0:${PORTSDIR}/devel/py-enum34 .endif +post-install: + ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/cryptography/hazmat/bindings/*.so + regression-test: build @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test Modified: head/security/py-cryptography/distinfo ============================================================================== --- head/security/py-cryptography/distinfo Sat Oct 17 21:37:14 2015 (r399603) +++ head/security/py-cryptography/distinfo Sun Oct 18 03:13:53 2015 (r399604) @@ -1,2 +1,2 @@ -SHA256 (cryptography-0.8.2.tar.gz) = 1c9a022ab3decaf152093e2ef2d5ee4258c72c7d429446c86bd68ff8c0929db6 -SIZE (cryptography-0.8.2.tar.gz) = 268288 +SHA256 (cryptography-1.0.2.tar.gz) = d64cd491e91ddf642c643bea16532c2a2da2da054cca6df756edadd55a8bacca +SIZE (cryptography-1.0.2.tar.gz) = 332870 Added: head/security/py-cryptography/files/patch-src___cffi__src_openssl_ec.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/py-cryptography/files/patch-src___cffi__src_openssl_ec.py Sun Oct 18 03:13:53 2015 (r399604) @@ -0,0 +1,12 @@ +--- src/_cffi_src/openssl/ec.py.orig 2015-09-27 13:51:07 UTC ++++ src/_cffi_src/openssl/ec.py +@@ -396,7 +396,8 @@ EC_GROUP *(*EC_GROUP_new_curve_GF2m)( + static const long Cryptography_HAS_EC2M = 1; + #endif + +-#if defined(OPENSSL_NO_EC) || OPENSSL_VERSION_NUMBER < 0x1000200f || \ ++#if defined(OPENSSL_NO_EC) || \ ++ OPENSSL_VERSION_NUMBER < 0x1000200f && !defined(LIBRESSL_VERSION_NUMBER) || \ + defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20020002L + static const long Cryptography_HAS_EC_1_0_2 = 0; + const char *(*EC_curve_nid2nist)(int) = NULL;