Created attachment 152098 [details] svn diff against ports/head LibreSSL 2.1.3 has added ALPN support thereby breaking py-cryptography 0.7.2 This patch fixes that by making the definition of the ALPN features conditional on the existence of LIBRESSL_VERSION
Auto-assigned to maintainer koobs@FreeBSD.org
Bernard, can you attach a successful poudriere build for this along with links to the upstream issue and/or pull request references please
Hi Kubilay, That was the dept. of misinformation... My apologies for your wasted time. Attached patch is replacement of files/patch-src_cryptography_hazmat_bindings_openssl_ssl.py not an svndiff against port. Upstream pull request https://github.com/pyca/cryptography/pull/1636
Created attachment 152271 [details] Poudriere log of build
Bernard, The attached patch doesn't appear to match the upstream pull request changeset, which has not been merged yet. As such I'm hesitant to backport it (the upstream change). Is there an upstream pull-request, issue or commit for the patch attached here? If so, please: - Include the upstream issue, commit, or pr reference - Update the attached patch with a patch against the port (not the cryptography sources)
This issue is at risk of timing out on feedback
Created attachment 155602 [details] svn diff for security/py-cryptography Patch against current ports/head. Port is missing ALPN check.
Created attachment 155603 [details] Poudriere build log of security/py-cryptography
Current port contains most of the original fix but the ALPN support fix. This last piece fixes the ALPN support by checking LIBRESSL_VERSION_NUMBER Upstream in https://github.com/pyca/cryptography/pull/1849
Upstream imported this change https://github.com/pyca/cryptography/pull/1849
Created attachment 155798 [details] svn diff for security/py-cryptography The new version 0.8.2 adresses most issues building with LibreSSL. Most of the patches could therefor be removed, the only remaining patch has been merged upstream https://github.com/pyca/cryptography/pull/1849
Created attachment 155799 [details] Poudriere build log of security/py-cryptography
A commit references this bug: Author: koobs Date: Fri Apr 24 13:36:30 UTC 2015 New revision: 384640 URL: https://svnweb.freebsd.org/changeset/ports/384640 Log: security/py-cryptography: Update to 0.8.2 - Update to 0.8.2 - Update COMMENT (upstream) - Pet portlint (TEST_DEPENDS must appear earlier) - Remove patches that have been upstreamed - Backport ALPN patch merged upstream, not yet released [1] Changes: * https://github.com/pyca/cryptography/blob/0.8.2/CHANGELOG.rst [1] https://github.com/pyca/cryptography/pull/1849 PR: 197049 Submitted by: Bernard Spil <spil.oss gmail com> Changes: head/security/py-cryptography/Makefile head/security/py-cryptography/distinfo head/security/py-cryptography/files/patch-src_cryptography_hazmat_bindings_openssl_engine.py head/security/py-cryptography/files/patch-src_cryptography_hazmat_bindings_openssl_rand.py head/security/py-cryptography/files/patch-src_cryptography_hazmat_bindings_openssl_ssl.py head/security/py-cryptography/files/patch-src_cryptography_hazmat_bindings_openssl_x509__vfy.py
Thanks Bernard!