[openwrt/openwrt] dropbear: adjust with glibc and libcrypt-compat

LEDE Commits lede-commits at lists.infradead.org
Sat Jul 12 14:41:21 PDT 2025


hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/eecc53cbe5c2978c95ee7c87b6e8e31cfe0f595b

commit eecc53cbe5c2978c95ee7c87b6e8e31cfe0f595b
Author: Konstantin Demin <rockdrilla at gmail.com>
AuthorDate: Fri Jul 4 11:03:14 2025 +0300

    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 at gmail.com>
    Link: https://github.com/openwrt/openwrt/pull/19293
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 package/network/services/dropbear/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/network/services/dropbear/Makefile b/package/network/services/dropbear/Makefile
index c997798860..35b1468490 100644
--- a/package/network/services/dropbear/Makefile
+++ b/package/network/services/dropbear/Makefile
@@ -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,)




More information about the lede-commits mailing list