]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
busybox: adjust with glibc and libcrypt-compat
authorKonstantin Demin <rockdrilla@gmail.com>
Fri, 4 Jul 2025 08:03:15 +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/utils/busybox/Makefile

index 5e3b4cd74d091d161d986786e7f4ee17011170f1..a77d1f80820f4a69fef9eb0fefb76633f1e1dd3c 100644 (file)
@@ -48,7 +48,7 @@ define Package/busybox/Default
   MAINTAINER:=Felix Fietkau <nbd@nbd.name>
   TITLE:=Core utilities for embedded Linux
   URL:=http://busybox.net/
-  DEPENDS:=+BUSYBOX_CONFIG_PAM:libpam +BUSYBOX_CONFIG_NTPD:jsonfilter +(USE_GLIBC&&BUSYBOX_CONFIG_FEATURE_MOUNT_NFS)||(USE_GLIBC&&BUSYBOX_CONFIG_FEATURE_INETD_RPC):libtirpc
+  DEPENDS:= +USE_GLIBC:libcrypt-compat +BUSYBOX_CONFIG_PAM:libpam +BUSYBOX_CONFIG_NTPD:jsonfilter +(USE_GLIBC&&BUSYBOX_CONFIG_FEATURE_MOUNT_NFS)||(USE_GLIBC&&BUSYBOX_CONFIG_FEATURE_INETD_RPC):libtirpc
   USERID:=ntp=123:ntp=123
 endef