Bug 200237 - [PACTH] mail/up-imapproxy: Fix build with LibreSSL
Summary: [PACTH] mail/up-imapproxy: 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: Bernard Spil
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-16 10:22 UTC by Bernard Spil
Modified: 2016-07-03 12:32 UTC (History)
0 users

See Also:


Attachments
svn diff for mail/up-imapproxy (5.96 KB, patch)
2015-05-16 10:22 UTC, Bernard Spil
no flags Details | Diff
Poudriere build log for mail/up-imapproxy (24.28 KB, text/plain)
2015-05-16 10:23 UTC, Bernard Spil
no flags Details
svn diff for mail/up-imapproxy (1.14 KB, patch)
2016-02-15 10:14 UTC, Bernard Spil
no flags Details | Diff

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-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