Bug 198776 - [PATCH] devel/ace: Make EGD conditional/Fix build with LibreSSL
Summary: [PATCH] devel/ace: Make EGD conditional/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
: --- Affects Some People
Assignee: Kurt Jaeger
URL:
Keywords: easy, patch, patch-ready
Depends on:
Blocks:
 
Reported: 2015-03-21 16:16 UTC by Bernard Spil
Modified: 2015-03-29 19:01 UTC (History)
1 user (show)

See Also:


Attachments
svn diff for devel/ace (1.28 KB, patch)
2015-03-21 16:16 UTC, Bernard Spil
no flags Details | Diff
Poudriere build log for devel/ace (65.46 KB, application/x-gzip)
2015-03-21 16:16 UTC, Bernard Spil
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bernard Spil freebsd_committer freebsd_triage 2015-03-21 16:16:22 UTC
Created attachment 154633 [details]
svn diff for devel/ace

devel/ace RAND_egd with OpenSSL version > 0.9.5 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.

Using the same construct but checking for LIBRESSL_VERSION_NUMBER this is fixed.
Comment 1 Bernard Spil freebsd_committer freebsd_triage 2015-03-21 16:16:56 UTC
Created attachment 154634 [details]
Poudriere build log for devel/ace

1.5MB so compressed
Comment 2 Kurt Jaeger freebsd_committer freebsd_triage 2015-03-29 18:57:50 UTC
test builds 10.1a, 9.3a, 8.4i done, looks fine
Comment 3 commit-hook freebsd_committer freebsd_triage 2015-03-29 19:00:23 UTC
A commit references this bug:

Author: pi
Date: Sun Mar 29 19:00:19 UTC 2015
New revision: 382620
URL: https://svnweb.freebsd.org/changeset/ports/382620

Log:
  devel/ace: Make EGD conditional/Fix build with LibreSSL

  PR:		198776
  Submitted by:	Bernard Spil <spil.oss@gmail.com>

Changes:
  head/devel/ace/files/patch-ace__SSL__SSL_Context.cpp
Comment 4 Kurt Jaeger freebsd_committer freebsd_triage 2015-03-29 19:01:16 UTC
Committed, thanks.