Bug 235496

Summary: mail/spamd: FreeBSD 12 build failure
Product: Ports & Packages Reporter: Maxime Soulé <btik-fbsd>
Component: Individual Port(s)Assignee: Olli Hauer <ohauer>
Status: New ---    
Severity: Affects Many People CC: freebsd.bugs, yds
Priority: --- Flags: bugzilla: maintainer-feedback? (ohauer)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Patch to correct the compilation problem
none
statically link libressl to unbreak OpenSSL111 none

Description Maxime Soulé 2019-02-04 14:56:58 UTC
Created attachment 201721 [details]
Patch to correct the compilation problem

Hi,

mail/spamd port does not compile anymore against FreeBSD 12.0 since some functions have been deprecated on openssl side since 1.1.0.

> openssl version
OpenSSL 1.1.1a-freebsd  20 Nov 2018
> type openssl
openssl is /usr/bin/openssl

The attached patch fixes the problem.

Best regards,

Max.
Comment 1 Morgan Wesström 2019-02-10 21:47:58 UTC
For info, I've successfully been using the patch that was attached to the same bug in mail/spamassassin. The patches seems almost identical.
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228940
Comment 2 yds 2019-02-12 22:07:25 UTC
Created attachment 201967 [details]
statically link libressl to unbreak OpenSSL111

an alternate recipe to statically link libressl to unbreak OpenSSL111 shamelessly stolen from the net/openntpd port