Bug 195508 - lang/python34: Fix build with LibreSSL
Summary: lang/python34: Fix build with LibreSSL
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Some People
Assignee: freebsd-python mailing list
URL:
Keywords: needs-qa, patch
Depends on:
Blocks:
 
Reported: 2014-11-29 20:13 UTC by Bernard Spil
Modified: 2015-03-04 07:35 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (python)


Attachments
Backport of upstream issue21356 (5.92 KB, patch)
2014-11-29 20:56 UTC, Bernard Spil
no flags Details | Diff
Patch Makefile (735 bytes, patch)
2014-11-29 20:57 UTC, Bernard Spil
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bernard Spil freebsd_committer 2014-11-29 20:13:05 UTC
Python fails to build with LibreSSL since RAND_egd has been removed from LibreSSL.

This is a backport of http://bugs.python.org/issue21356 which started as Bug 192511 - [patch] fix lang/python27 build with libressl

Generating a PR-number here, patch will follow shortly
Comment 1 Bugzilla Automation freebsd_committer 2014-11-29 20:13:05 UTC
Auto-assigned to maintainer python@FreeBSD.org
Comment 2 Bernard Spil freebsd_committer 2014-11-29 20:56:41 UTC
Created attachment 149995 [details]
Backport of upstream issue21356

Patches
Modules/_ssl.c
Lib/ssl.py
Lib/test/test_ssl.py
configure.ac
configure
pyconfig.h.in
Comment 3 Bernard Spil freebsd_committer 2014-11-29 20:57:34 UTC
Created attachment 149996 [details]
Patch Makefile

check for OpenSSL from ports and pass LDFLAGS, CPPFLAGS to configure so it detects RAND_egd correctly
Comment 4 Bernard Spil freebsd_committer 2015-03-04 07:35:37 UTC
Closing, this is now part of the next point-release 3.4.3