package/libssh: fix select BR2_PACKAGE_LIBOPENSSL_ENGINES
PATCH 1/1 package/libssh: fix select BR2_PACKAGE_LIBOPENSSL_ENGINES
BR2_PACKAGE_LIBSSH_OPENSSL unconditionnally selects BR2_PACKAGE_LIBOPENSSL_ENGINES even though libressl is also supported as an OpenSSL provider (and BR2_PACKAGE_LIBOPENSSL_ENGINES doesn't make sense for libressl).
This causes the following Kconfig warning:
WARNING: unmet direct dependencies detected for BR2_PACKAGE_LIBOPENSSL_ENGINES
Depends on [n]: <choice> && BR2_PACKAGE_LIBOPENSSL [=n] Selected by [y]:
- BR2_PACKAGE_LIBSSH_OPENSSL [=y] && <choice> && BR2_PACKAGE_OPENSSL [=y]
We checked that libssh, with OpenSSL support and libressl selected as an OpenSSL provider works fine, using the following defconfig:
BR2_aarch64=y
BR2_TOOLCHAIN_EXTERNAL=y BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64_GLIBC_STABLE=y BR2_PACKAGE_LIBSSH=y BR2_PACKAGE_LIBSSH_SERVER=y BR2_PACKAGE_LIBRESSL=y
--- package/libssh/Config.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/libssh/Config.in +1 -1
@@ -36,7 +36,7 @@ config BR2_PACKAGE_LIBSSH_LIBGCRYPT config BR2_PACKAGE_LIBSSH_OPENSSL bool "openssl" depends on BR2_PACKAGE_OPENSSL - select BR2_PACKAGE_LIBOPENSSL_ENGINES + select BR2_PACKAGE_LIBOPENSSL_ENGINES if BR2_PACKAGE_LIBOPENSSL endchoice
Signature · 6 lines
2.55.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 24 lines · Thomas Petazzoni via buildroot
BR2_PACKAGE_LIBSSH_OPENSSLunconditionnally selectsBR2_PACKAGE_LIBOPENSSL_ENGINESeven though libressl is also supported as an OpenSSL provider (andBR2_PACKAGE_LIBOPENSSL_ENGINESdoesn't make sense for libressl).This causes the following
Kconfigwarning:WARNING: unmet direct dependencies detected for
BR2_PACKAGE_LIBOPENSSL_ENGINES
Depends on [n]: <choice> &&BR2_PACKAGE_LIBOPENSSL[=n] Selected by [y]:
-BR2_PACKAGE_LIBSSH_OPENSSL[=y] && <choice> &&BR2_PACKAGE_OPENSSL
[=y]We checked that libssh, with OpenSSL support and libressl selected as an OpenSSL provider works fine, using the following defconfig:
BR2_aarch64=y
BR2_TOOLCHAIN_EXTERNAL=y BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64_GLIBC_STABLE=y BR2_PACKAGE_LIBSSH=y BR2_PACKAGE_LIBSSH_SERVER=y BR2_PACKAGE_LIBRESSL=y
Quoted 2 lines
Fixes 62103be918e7a155749b1b3b680a9e4ecba6af87 ("package/libssh: select BR2_PACKAGE_LIBOPENSSL_ENGINES")Signed-off-by Thomas Petazzoni <[email protected]>
Applied to master, thanks.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot