mailx: Force mailx to build with openssl10
PATCH 1/1 mailx: Force mailx to build with openssl10
The latest changes in oe-core switch to using openssl 1.1. The SSLv3_client_method and RAND_egd functions are removed in the openssl 1.1. This causes mailx to fail to compile.
For now we can use openssl10 in the same manner that openssh is doing. At the point in time that openssl10 goes away the code for openssl in mailx will have to be altered.
--- meta-oe/recipes-extended/mailx/mailx_12.5-5.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-extended/mailx/mailx_12.5-5.bb +1 -1
@@ -9,7 +9,7 @@ SECTION = "console/network" LICENSE = "BSD & MPL-1" LIC_FILES_CHKSUM = "file://COPYING;md5=4202a0a62910cf94f7af8a3436a2a2dd" -DEPENDS = "openssl" +DEPENDS = "openssl10" SRC_URI = "http://snapshot.debian.org/archive/debian/20160728T043443Z/pool/main/h/heirloom-mailx/heirloom-mailx_12.5.orig.tar.gz;name=archive \ file://0001-Don-t-reuse-weak-symbol-optopt-to-fix-FTBFS-on-mips.patch \
Signature · 1 line
2.11.0
Quoted 7 lines · Jason Wessel
The latest changes in oe-core switch to using openssl 1.1. The
SSLv3_client_methodandRAND_egdfunctions are removed in the openssl 1.1. This causes mailx to fail to compile.For now we can use openssl10 in the same manner that openssh is doing. At the point in time that openssl10 goes away the code for openssl in mailx will have to be altered.
Please note the following (from mailx removal commit in oe-core):
This recipe was carried only for LSB compatibility, with upstream being defunct for a long time; if there is a need for a modern, supported implementation of mail/mailx, then s-nail (http://sdaoden.eu/code.html) or mailutils
(http://mailutils.org/) should be used.
So when openssl 1.0 goes away, it's better to package either of these two.
Alex