dropbear: adjust with glibc and libcrypt-compat

glibc 2.39 has removed libcrypt completely.
solution: link against libxcrypt built with glibc compatibility.

Signed-off-by: Konstantin Demin <rockdrilla@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/19293
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
Konstantin Demin 2025-07-04 11:03:14 +03:00 committed by Hauke Mehrtens
parent 34c2e7701a
commit eecc53cbe5

View file

@ -62,7 +62,7 @@ define Package/dropbear
CATEGORY:=Base system
TITLE:=Small SSH2 client/server
MENU:=1
DEPENDS:= +DROPBEAR_ZLIB:zlib
DEPENDS:= +USE_GLIBC:libcrypt-compat +DROPBEAR_ZLIB:zlib
ALTERNATIVES:=100:/usr/bin/ssh-keygen:/usr/sbin/dropbear
$(if $(CONFIG_DROPBEAR_SCP),ALTERNATIVES+= \
100:/usr/bin/scp:/usr/sbin/dropbear,)