Bug 264000

Summary: lang/python*: Fix build with LibreSSL 3.5
Product: Ports & Packages Reporter: Bernard Spil <brnrd>
Component: Individual Port(s)Assignee: Po-Chuan Hsieh <sunpoet>
Status: Closed FIXED    
Severity: Affects Some People CC: vishwin
Priority: --- Keywords: needs-patch, needs-qa
Version: LatestFlags: bugzilla: maintainer-feedback? (python)
Hardware: Any   
OS: Any   
See Also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264180
Attachments:
Description Flags
git diff for lang/python39 none

Description Bernard Spil freebsd_committer freebsd_triage 2022-05-15 17:50:47 UTC
Created attachment 233939 [details]
git diff for lang/python39

```
lang/python39: Fix build with LibreSSL 3.5

 * from OpenBSD ports
   http://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/ports/lang/python/3.9/patches/patch-Modules__hashopenssl_c?rev=1.4&content-type=text/plain

PR: ?
```
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2022-05-15 23:47:16 UTC
Thanks for the report Bernard. Are other lang/python* ports affected?
Comment 2 Charlie Li freebsd_committer freebsd_triage 2022-05-16 00:53:36 UTC
This probably also applies to 3.8 and 3.7 since iirc/assuming the ssl module code is more or less the same between them. 3.10 and later need a different fix to (continue) support LibreSSL (which I'm still dogfooding)
Comment 3 Kubilay Kocak freebsd_committer freebsd_triage 2022-05-16 01:05:14 UTC
(In reply to Charlie Li from comment #2)
Comment 4 commit-hook freebsd_committer freebsd_triage 2022-07-11 13:54:50 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4c2fddeb7f59dbb8a861e425784a4a02fc11e40b

commit 4c2fddeb7f59dbb8a861e425784a4a02fc11e40b
Author:     Bernard Spil <brnrd@freebsd.org>
AuthorDate: 2022-07-11 13:51:30 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-07-11 13:51:30 +0000

    lang/python37: Fix build with LibreSSL 3.5.*

    PR:             264000

 lang/python37/files/patch-libressl (new) | 13 +++++++++++++
 1 file changed, 13 insertions(+)
Comment 5 commit-hook freebsd_committer freebsd_triage 2022-07-11 13:54:52 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=45b8965983b9eb9ef808fe36a3346e2881bb16a0

commit 45b8965983b9eb9ef808fe36a3346e2881bb16a0
Author:     Bernard Spil <brnrd@freebsd.org>
AuthorDate: 2022-07-11 13:51:31 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-07-11 13:51:31 +0000

    lang/python38: Fix build with LibreSSL 3.5.*

    PR:             264000

 lang/python38/files/patch-libressl (new) | 13 +++++++++++++
 1 file changed, 13 insertions(+)
Comment 6 commit-hook freebsd_committer freebsd_triage 2022-07-11 13:54:53 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=19051b3d996c9ec8dc2d43d925bb54b9a2116a21

commit 19051b3d996c9ec8dc2d43d925bb54b9a2116a21
Author:     Bernard Spil <brnrd@freebsd.org>
AuthorDate: 2022-07-11 13:51:31 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-07-11 13:51:31 +0000

    lang/python39: Fix build with LibreSSL 3.5.*

    PR:             264000

 lang/python39/files/patch-libressl (new) | 13 +++++++++++++
 1 file changed, 13 insertions(+)
Comment 7 Po-Chuan Hsieh freebsd_committer freebsd_triage 2022-07-11 13:58:14 UTC
Committed. Thanks!