libpam: adjust with glibc and libcrypt-compat
authorKonstantin Demin <[email protected]>
Fri, 4 Jul 2025 07:51:40 +0000 (10:51 +0300)
committerJosef Schlehofer <[email protected]>
Mon, 14 Jul 2025 08:40:15 +0000 (10:40 +0200)
glibc 2.39 has removed libcrypt completely.
solution: link against libxcrypt built with glibc compatibility.

Signed-off-by: Konstantin Demin <[email protected]>
libs/libpam/Makefile

index 7561fc20940214eabd81430a4913e4f95b6acfcc..e5c33f7d1c1eafab60b0f18c06480d7c28655f16 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=libpam
 PKG_VERSION:=1.7.1
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=Linux-PAM-$(PKG_VERSION).tar.xz
 PKG_SOURCE_URL:=https://github.com/linux-pam/linux-pam/releases/download/v$(PKG_VERSION)
@@ -33,6 +33,7 @@ define Package/libpam
   CATEGORY:=Libraries
   TITLE:=the Linux-PAM libraries and modules.
   URL:=http://www.kernel.org/pub/linux/libs/pam
+  DEPENDS:= +USE_GLIBC:libcrypt-compat
 endef
 
 define Package/libpam/description