]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
dropbear: adjust with glibc and libcrypt-compat
authorKonstantin Demin <rockdrilla@gmail.com>
Fri, 4 Jul 2025 08:03:14 +0000 (11:03 +0300)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 12 Jul 2025 21:38:19 +0000 (23:38 +0200)
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>
package/network/services/dropbear/Makefile

index c99779886001e7b9d55762a995c07f37df057c5f..35b1468490e3ee2781b5d189d3ae7d37b25d6071 100644 (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,)