Bug 198491

Summary: [PATCH] irc/unreal Detect EGD support / fix LibreSSL
Product: Ports & Packages Reporter: Bernard Spil <brnrd>
Component: Individual Port(s)Assignee: Mathieu Arnold <mat>
Status: Closed FIXED    
Severity: Affects Some People Keywords: patch
Priority: --- Flags: bugzilla: maintainer-feedback? (mat)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
svn diff for irc/unreal
none
Poudriere build log of irc/unreal none

Description Bernard Spil freebsd_committer freebsd_triage 2015-03-10 12:23:42 UTC
Created attachment 154136 [details]
svn diff for irc/unreal

irc/unreal 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
Comment 1 Bernard Spil freebsd_committer freebsd_triage 2015-03-10 12:25:24 UTC
Created attachment 154137 [details]
Poudriere build log of irc/unreal
Comment 2 Mathieu Arnold freebsd_committer freebsd_triage 2015-03-10 14:18:42 UTC
Have you sent this patch upstream for inclusion in the next release ?
Comment 3 Bernard Spil freebsd_committer freebsd_triage 2015-03-10 19:02:02 UTC
Darn! Forgot to mention... Has already been merged upstream (they were very quick)

https://github.com/unrealircd/unrealircd/pull/15
Comment 4 commit-hook freebsd_committer freebsd_triage 2015-03-31 14:45:00 UTC
A commit references this bug:

Author: mat
Date: Tue Mar 31 14:44:18 UTC 2015
New revision: 382826
URL: https://svnweb.freebsd.org/changeset/ports/382826

Log:
  Make it build with LibreSSL. [1]
  While there, catch up with new options behaviors.

  PR:		198491 [1]
  Submitted by:	Bernard Spil [1]
  Sponsored by:	Absolight

Changes:
  head/irc/unreal/Makefile
  head/irc/unreal/files/patch-configure
  head/irc/unreal/files/patch-configure.ac
  head/irc/unreal/files/patch-include_dynconf.h
  head/irc/unreal/files/patch-src_random.c