Bug 200237

Summary: [PACTH] mail/up-imapproxy: 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    
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
svn diff for mail/up-imapproxy
none
Poudriere build log for mail/up-imapproxy
none
svn diff for mail/up-imapproxy none

Description Bernard Spil freebsd_committer freebsd_triage 2015-05-16 10:22:55 UTC
Created attachment 156820 [details]
svn diff for mail/up-imapproxy

Currently mail/up-imapproxy does not build with LibreSSL because of the removed RAND_egd function. FreeBSD has not needed RAND_egd since FreeBSD 2.2 when random(2) was added.

1. Fix build with LibreSSL (patch-configure.in patch-src_main.c)
2. Remove config.h.in patch (autoreconf regenerates it)
3. re-roll patches with make makepatch (split patch-ssl)
4. Convert to Options helpers for RUN_DEPENDS and SUB_LIST
5. USE_AUTOTOOLS to USES= autoreconf (trade make warning for configure warnings)
Comment 1 Bernard Spil freebsd_committer freebsd_triage 2015-05-16 10:23:39 UTC
Created attachment 156821 [details]
Poudriere build log for mail/up-imapproxy
Comment 2 Bernard Spil freebsd_committer freebsd_triage 2016-02-15 10:14:49 UTC
Created attachment 167018 [details]
svn diff for mail/up-imapproxy

Updated (simplified) diff. No more configure changes required since LibreSSL added OPENSSL_NO_EGD define
Comment 3 commit-hook freebsd_committer freebsd_triage 2016-07-03 10:02:00 UTC
A commit references this bug:

Author: brnrd
Date: Sun Jul  3 10:01:54 UTC 2016
New revision: 417964
URL: https://svnweb.freebsd.org/changeset/ports/417964

Log:
  mail/up-imapproxy: Fix build without EGD methods

    - Use OPENSSL_NO_EGD define to fix build
    - Replace USE_OPENSSL with new USES= ssl

  PR:		200237

Changes:
  head/mail/up-imapproxy/Makefile
  head/mail/up-imapproxy/files/patch-src_main.c