From 2af886742c6daa041a59dd73c07736bb5c419b8a Mon Sep 17 00:00:00 2001 From: Konstantin Demin Date: Sun, 6 Jul 2025 09:01:50 +0300 Subject: [PATCH] nginx: 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 --- net/nginx/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/net/nginx/Makefile b/net/nginx/Makefile index 803d9ae49c..1bbbce853d 100644 --- a/net/nginx/Makefile +++ b/net/nginx/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=nginx PKG_VERSION:=1.26.3 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=nginx-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://nginx.org/download/ @@ -114,7 +114,7 @@ define Package/nginx-ssl $(Package/nginx/default) TITLE += with SSL support VARIANT:=ssl - DEPENDS+= +NGINX_PCRE:libpcre2 \ + DEPENDS+= +USE_GLIBC:libcrypt-compat +NGINX_PCRE:libpcre2 \ +NGINX_PCRE:nginx-ssl-util +!NGINX_PCRE:nginx-ssl-util-nopcre \ +NGINX_HTTP_GZIP:zlib +NGINX_DAV:libxml2 EXTRA_DEPENDS:=nginx-ssl-util$(if $(CONFIG_NGINX_PCRE),,-nopcre) (>=1.5-r1) @@ -164,7 +164,7 @@ endef define Package/nginx-full $(Package/nginx/default) TITLE += with ALL config selected - DEPENDS+=+libpcre2 +nginx-ssl-util +zlib +libxml2 + DEPENDS+= +USE_GLIBC:libcrypt-compat +libpcre2 +nginx-ssl-util +zlib +libxml2 EXTRA_DEPENDS:=nginx-ssl-util (>=1.5-r1) VARIANT:=full PROVIDES += nginx-ssl -- 2.30.2