libreswan: 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-09 19:35:40 +03:00
committed by Josef Schlehofer
parent 7b80a07302
commit cc4d6911e2

View File

@@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=libreswan PKG_NAME:=libreswan
PKG_VERSION:=4.12 PKG_VERSION:=4.12
PKG_RELEASE:=3 PKG_RELEASE:=4
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://download.libreswan.org/ PKG_SOURCE_URL:=https://download.libreswan.org/
@@ -38,6 +38,7 @@ endef
define Package/libreswan define Package/libreswan
$(Package/libreswan/default) $(Package/libreswan/default)
DEPENDS:= \ DEPENDS:= \
+USE_GLIBC:libcrypt-compat \
+kmod-ip-vti +IPV6:kmod-ip6-vti \ +kmod-ip-vti +IPV6:kmod-ip6-vti \
+kmod-ipsec +kmod-ipsec4 +IPV6:kmod-ipsec6 \ +kmod-ipsec +kmod-ipsec4 +IPV6:kmod-ipsec6 \
+ip-full +kmod-xfrm-interface \ +ip-full +kmod-xfrm-interface \