Created attachment 204615 [details]
conditionally mark broken, depending on OPENSSL option
In r497650 https://svnweb.freebsd.org/ports?view=revision&revision=497650
this port was marked broken on stable/12 and head, unconditionally if OPENSSL option is true or not.
I suggest disabling OPENSSL default option for now and allow users to build that port (and most likely the package depending on libesmtp, like GeomWatch, which in many cases will use a LAN MSA, where TLS isn't a prerequisite – but GeomWatch can do it's job).
At least the options check for OPENSSL must be included, since if the user deselects OPENSSL, the port isn't broken.
Created attachment 206682 [details]
I got it from here:
Build tested with libressl and openssl111. Not tested with openssl-base.
*** Bug 229017 has been marked as a duplicate of this bug. ***
A commit references this bug:
Date: Tue Jul 7 11:47:19 UTC 2020
New revision: 541412
Pull the patch from Gentoo Linux to unbreak the build against contemporary
versions of OpenSSL.
I've pulled the patch from Gentoo Linux instead, as it looked more complete than OpenWRT's one, see the hunk about TLSv1_client_method() vs. TLS_client_method().
Committed as ports r541412.