opendoas: 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>
This commit is contained in:
Konstantin Demin
2025-07-04 10:51:40 +03:00
committed by Josef Schlehofer
parent 8fc26989f9
commit 98b7d426fc

View File

@@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=opendoas
PKG_VERSION:=6.8.2
PKG_RELEASE:=3
PKG_RELEASE:=4
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=https://github.com/Duncaen/OpenDoas/releases/download/v$(PKG_VERSION)
@@ -22,7 +22,7 @@ define Package/opendoas
CATEGORY:=Utilities
TITLE:=Portable OpenBSD doas to execute commands as another user
URL:=https://github.com/Duncaen/OpenDoas
DEPENDS:=+BUSYBOX_CONFIG_PAM:libpam
DEPENDS:= +USE_GLIBC:libcrypt-compat +BUSYBOX_CONFIG_PAM:libpam
endef
define Package/opendoas/description