devel/python27 is marked as BROKEN with openssl-devel, but it is not. Python 2.7.14 at least (possibly earlier versions) have added support for OpenSSL 1.1, which is what openssl-devel provides. This port should not be marked as broken.
Ping!
Looks like this was fixed in 2.7.14. From the changelog - Issue #26470: Port ssl and hashlib module to OpenSSL 1.1.0. See https://raw.githubusercontent.com/python/cpython/84471935ed2f62b8c5758fd544c7d37076fe0fa5/Misc/NEWS
Doesn't build with the current openssl-devel port. This is due to errors in Python's tests for NPN (deprecated). Creating a patch, will report back here,
Thanks, for reply.
Created attachment 190080 [details] svn diff for lang/python27 Created an upstream Pull-Request. Backporting from 2.7 wasn't complete. We can easily add this to the port, see patch. From make test: > 0:09:54 load avg: 0.64 [397/403/1] test_ssl passed I've also sent a pull-request for cpython master branch to align detection and use of NPN with detection/use of ALPN.
Currently looking at updating security/openssl to 1.1.0, we need to get this moving.
A commit references this bug: Author: sunpoet Date: Thu Feb 15 12:47:59 UTC 2018 New revision: 461915 URL: https://svnweb.freebsd.org/changeset/ports/461915 Log: Fix build with OpenSSL 1.1.0 (security/openssl-devel) - Remove BROKEN_SSL=openssl-devel Reference: https://bugs.python.org/issue30622 https://github.com/python/cpython/commit/b2d096bd2a5ff86e53c25d00ee5fa097b36bf1d8 PR: 222795 Submitted by: brnrd MFH: 2018Q1 Changes: head/lang/python27/Makefile head/lang/python27/files/patch-issue30622
Committed. Thanks!
ports r462630 (followup to this issue, but not PR: referenced), likely caused a regression (see bug 226135). I am investigating and will attempt to produce a workaround (for including OPENSSL framework flags), before reverting.