mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 21:24:31 +04:00
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:
committed by
Josef Schlehofer
parent
de02961c02
commit
7b80a07302
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user