Summary: | [PATCH] www/links-hacked: Make EGD conditional/Fix build with LibreSSL | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Bernard Spil <brnrd> | ||||||||
Component: | Individual Port(s) | Assignee: | Bernard Spil <brnrd> | ||||||||
Status: | Closed FIXED | ||||||||||
Severity: | Affects Some People | Keywords: | patch | ||||||||
Priority: | --- | ||||||||||
Version: | Latest | ||||||||||
Hardware: | Any | ||||||||||
OS: | Any | ||||||||||
Attachments: |
|
Created attachment 154623 [details]
Poudriere build log for www/links-hacked
Loads of warnings, ca. 6MB plain
Created attachment 162414 [details]
svn diff for www/links-hacked
After the addition of the OPENSSL_NO_EGD define the patch can be greatly reduced as requested by maintainer.
A commit references this bug: Author: brnrd Date: Sat Jul 2 10:29:48 UTC 2016 New revision: 417919 URL: https://svnweb.freebsd.org/changeset/ports/417919 Log: www/links-hacked: Fix build without RAND_egd - Add patch for building without EGD (OpenSSL 1.1/LibreSSL) - Move from USE_OPENSSL to USES=ssl PR: 198766 Changes: head/www/links-hacked/Makefile head/www/links-hacked/files/patch-https.c |
Created attachment 154622 [details] svn diff for www/links-hacked www/links-hacked unconditionally relies on RAND_egd which makes building fail with LibreSSL which has removed EGD. FreeBSD does not require EGD at all, /dev/random has been available since FreeBSD 4.2 This patch checks for the existence of RAND_egd in libcrypto and disables the code using egd.