Created attachment 201721 [details]
Patch to correct the compilation problem
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.
For info, I've successfully been using the patch that was attached to the same bug in mail/spamassassin. The patches seems almost identical.
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
Created attachment 204226 [details]
Fix spamd port
Didn't see this bug report prior to trying to fix. Still attaching my patch which targets the whole port.
Oliver, can you have at look at this?
yes, could someone please look at this..
I created the diff for this PR a year ago.. then forgot I did that and rolled another diff (almost a year later to the day) for PR #243963 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243963
and a few others have spent much more time than I making OpenSSL patches to fix this issue.