Summary: | lang/python27: Marked as BROKEN with openssl-devel but is not | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Tom Francis <thomas.francis.jr> | ||||
Component: | Individual Port(s) | Assignee: | Po-Chuan Hsieh <sunpoet> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Some People | CC: | brnrd, koobs, mfburdett, w.schwarzenfeld | ||||
Priority: | --- | Keywords: | easy, needs-patch, needs-qa | ||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
See Also: |
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217703 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=226135 |
||||||
Bug Depends on: | |||||||
Bug Blocks: | 222552 | ||||||
Attachments: |
|
Description
Tom Francis
2017-10-05 13:11:12 UTC
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. |