haproxy: 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 18:23:33 +03:00
committed by Josef Schlehofer
parent de02961c02
commit 7b80a07302

View File

@@ -11,7 +11,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=haproxy PKG_NAME:=haproxy
PKG_VERSION:=3.0.10 PKG_VERSION:=3.0.10
PKG_RELEASE:=1 PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://www.haproxy.org/download/3.0/src PKG_SOURCE_URL:=https://www.haproxy.org/download/3.0/src
@@ -31,6 +31,7 @@ define Package/haproxy/Default
CATEGORY:=Network CATEGORY:=Network
TITLE:=TCP/HTTP Load Balancer TITLE:=TCP/HTTP Load Balancer
URL:=https://www.haproxy.org/ URL:=https://www.haproxy.org/
DEPENDS:= +USE_GLIBC:libcrypt-compat +libpcre2 +libltdl +zlib +libpthread +liblua5.4 +libatomic
endef endef
define Package/haproxy/conffiles define Package/haproxy/conffiles
@@ -46,7 +47,7 @@ endef
define Package/haproxy define Package/haproxy
$(call Package/haproxy/Default) $(call Package/haproxy/Default)
TITLE+=with SSL support TITLE+=with SSL support
DEPENDS+= +libpcre2 +libltdl +zlib +libpthread +liblua5.4 +libopenssl +libncurses +libreadline +libatomic DEPENDS+= +libopenssl +libncurses +libreadline
VARIANT:=ssl VARIANT:=ssl
endef endef
@@ -59,7 +60,6 @@ define Package/haproxy-nossl
$(call Package/haproxy/Default) $(call Package/haproxy/Default)
TITLE+=without SSL support TITLE+=without SSL support
VARIANT:=nossl VARIANT:=nossl
DEPENDS+= +libpcre2 +libltdl +zlib +libpthread +liblua5.4 +libatomic
CONFLICTS:=haproxy CONFLICTS:=haproxy
endef endef