Bug 222552

Summary: lang/python27: Fix OpenSSL 1.1 issues with 2.7/3.5/3.6
Product: Ports & Packages Reporter: Bernard Spil <brnrd>
Component: Individual Port(s)Assignee: Po-Chuan Hsieh <sunpoet>
Status: Closed FIXED    
Severity: Affects Only Me CC: brnrd, mfburdett, python
Priority: --- Keywords: needs-qa, patch
Version: LatestFlags: bugzilla: maintainer-feedback? (python)
Hardware: Any   
OS: Any   
URL: https://github.com/python/cpython/pull/2079
Bug Depends on: 222795, 225870, 225871    
Bug Blocks:    
Attachments:
Description Flags
svn diff for lang/python27,35,36 none

Description Bernard Spil freebsd_committer freebsd_triage 2017-09-24 12:43:42 UTC
Created attachment 186660 [details]
svn diff for lang/python27,35,36

```
lang/python27: Fix OpenSSL 1.1 issues with 2.7/3.5/3.6

 - Import upstream patch
 - Remove BROKEN for openssl-devel

PR: 

```
Poudriere logs
https://keg.brnrd.eu/build.html?mastername=111amd64-default-openssldev&build=2017-09-24_13h14m35s
https://keg.brnrd.eu/build.html?mastername=111amd64-default-openssldev&build=2017-09-24_12h45m20s
https://keg.brnrd.eu/build.html?mastername=111amd64-default-openssldev&build=2017-09-24_12h49m55s
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2017-09-24 12:50:07 UTC
Thanks Bernard

lang/python27 was recently updated to 2.7.14, could you please confirm the patch is still necessary,still applies and update the diff if necessary

Also, can a patch be provided for lang/python34?
Comment 2 Bernard Spil freebsd_committer freebsd_triage 2018-01-26 11:25:04 UTC
(In reply to Kubilay Kocak from comment #1)
Updated the patch for 2.7 (separate PR).

Still a bit of an issue wrt NPN. Our openssl-devel port has NPN disabled as that is a deprecated feature.
Comment 3 Po-Chuan Hsieh freebsd_committer freebsd_triage 2018-02-15 12:57:42 UTC
All supported Python versions are updated by adding patch files and removing BROKEN_SSL=openssl-devel. Thanks!