From e7797603d260b498c864d089b107d01679edf0a6 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Wed, 18 Jan 2023 18:37:18 +0100 Subject: [PATCH] package/proftpd: sftpd does not build with libressl sftp doesn't build with libressl >= 3.5.0 resulting in the following build failure since commit 8b216927db080b38fdbf1f8b025b6f90a89d4bc2: mac.c: In function 'init_mac': mac.c:189:3: warning: implicit declaration of function 'HMAC_CTX_init'; did you mean 'HMAC_CTX_new'? [-Wimplicit-function-declaration] 189 | HMAC_CTX_init(hmac_ctx); | ^~~~~~~~~~~~~ | HMAC_CTX_new mac.c: In function 'set_mac_key': mac.c:435:14: error: storage size of 'ctx' isn't known 435 | EVP_MD_CTX ctx; | ^~~ So force use of openssl for sftpd, as no feedback was received on https://github.com/proftpd/proftpd/pull/1481 Fixes: - http://autobuild.buildroot.org/results/a16ccd7cc78eb63de06a6d738fccc6b947da13e7 Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/proftpd/Config.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/proftpd/Config.in b/package/proftpd/Config.in index 83094028a0..aed1958b8d 100644 --- a/package/proftpd/Config.in +++ b/package/proftpd/Config.in @@ -29,7 +29,8 @@ config BR2_PACKAGE_PROFTPD_MOD_REDIS config BR2_PACKAGE_PROFTPD_MOD_SFTP bool "mod_sftp support" select BR2_PACKAGE_OPENSSL - select BR2_PACKAGE_LIBOPENSSL_ENABLE_RMD160 if BR2_PACKAGE_LIBOPENSSL + select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL + select BR2_PACKAGE_LIBOPENSSL_ENABLE_RMD160 help Compile ProFTPD with mod_sftp support