Bug 198504

Summary: [PATCH] irc/charybdis: Make EGD conditional/fix LibreSSL build
Product: Ports & Packages Reporter: Bernard Spil <brnrd>
Component: Individual Port(s)Assignee: Chris Rees <crees>
Status: Closed FIXED    
Severity: Affects Some People CC: crees
Priority: --- Keywords: patch
Version: LatestFlags: crees: maintainer-feedback+
Hardware: Any   
OS: Any   
Description Flags
svn diff for irc/charybdis
svn diff for irc/charybdis brnrd: maintainer-approval? (crees)

Description Bernard Spil freebsd_committer 2015-03-10 19:04:00 UTC
Created attachment 154160 [details]
svn diff for irc/charybdis

irc/charybdis 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

Upstream has already removed EGD support for the next version 3.5 (last week) pull request https://github.com/atheme/charybdis/pull/87
Comment 1 Bernard Spil freebsd_committer 2015-12-23 09:24:45 UTC
Created attachment 164539 [details]
svn diff for irc/charybdis

Use patch from upstream https://github.com/atheme/charybdis/commit/e861902fd9610229bc7327ea057152f66c8b374d

Completely removes RAND_egd

Edited the paths to make it apply ^a/ -> .orig$
Comment 2 Chris Rees freebsd_committer 2015-12-23 09:45:49 UTC
Please go ahead, and thanks!
Comment 3 commit-hook freebsd_committer 2015-12-24 17:01:12 UTC
A commit references this bug:

Author: brnrd
Date: Thu Dec 24 17:00:54 UTC 2015
New revision: 404377
URL: https://svnweb.freebsd.org/changeset/ports/404377

  irc/charybdis: Remove RAND_egd

   - Add patch to remove RAND_egd from v3.5 RC

  PR:		198504
  Reviewed by:	crees (maintainer), koobs (mentor)
  Approved by:	crees (maintainer), koobs (mentor)
  Differential Revision:	https://reviews.freebsd.org/D4694