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 195508 - [PATCH] lang/python34 Fix build with LibreSSL Generating a PR-number here, patch will follow shortly
Auto-assigned to maintainer python@FreeBSD.org
Created attachment 150002 [details] Patch for Makefile Primarily passes LDFLAGS and CPPFLAGS to configure otherwise it will not pick up OpenSSL/LibreSSL from ports
Created attachment 150003 [details] Single patch for this PR for the source tree
Created attachment 150004 [details] Build log
Created attachment 150005 [details] Output of the test_ssl unit test
This is now handled in https://reviews.freebsd.org/D4695 - Update to 3.3.6 - Fix No-EGD - Fix no-SSLv3
A commit references this bug: Author: brnrd Date: Thu Dec 24 12:06:31 UTC 2015 New revision: 404347 URL: https://svnweb.freebsd.org/changeset/ports/404347 Log: lang/python33: Update to 3.3.6 - Update to 3.3.6 (released 2014-10-11) - Backport issue21356 RAND_egd fix [1] - Fix build for openssl -nossl3 - Remove unixcompiler patch, included upstream - Switch regression-test to TEST_TARGET/TEST_ARGS - Mark DEPRECATED, EXPIRES Sept 2017 [2] [1] http://bugs.python.org/issue21356 [2] https://www.python.org/dev/peps/pep-0398/#lifespan This is a bug/security fix update. Changelog: https://docs.python.org/3.3/whatsnew/changelog.html#python-3-3-6 PR: 195511 Reviewed by: koobs (mentor, python), feld, miwi, AMDmi3 Approved by: koobs (python), miwi, AMDmi3 Differential_Revision: https://reviews.freebsd.org/D4695 Changes: head/lang/python-doc-html/distinfo head/lang/python33/Makefile head/lang/python33/distinfo head/lang/python33/files/patch-Lib__distutils__unixccompiler.py head/lang/python33/files/patch-PR195511 head/lang/python33/pkg-plist
Closed by https://reviews.freebsd.org/D4695 https://svnweb.freebsd.org/changeset/ports/404347