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: |
|
Created attachment 156821 [details]
Poudriere build log for mail/up-imapproxy
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
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 |
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)