From 8f7be21ee8a6d5fd2cdbfe11d1cf5ea56513555a Mon Sep 17 00:00:00 2001 From: minoplhy Date: Thu, 24 Apr 2025 18:27:52 +0700 Subject: [PATCH] nginx_build_script: fix BoringSSL Directory changes / add PCRE2 for ModSecurity [1] : https://github.com/google/boringssl/commit/5e3ba4c15b67ed00fe8a71dc3a45ebd6211d299f [2] : https://github.com/owasp-modsecurity/ModSecurity/commit/1a2b13967f435a4c0837c3d181f7471f6c0c03ac --- nginx_build_script/build.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/nginx_build_script/build.sh b/nginx_build_script/build.sh index 1fc5395..955cbd8 100644 --- a/nginx_build_script/build.sh +++ b/nginx_build_script/build.sh @@ -138,7 +138,6 @@ case $os in libunwind-dev \ libpcre3 \ libpcre3-dev \ - libpcre2 \ libpcre2-dev \ zlib1g-dev \ cmake \ @@ -260,7 +259,7 @@ case $SSL_LIB in ;; "boringssl") # Golang - GO_VERSION=1.23.1 + GO_VERSION=1.24.2 wget https://go.dev/dl/go$GO_VERSION.linux-amd64.tar.gz -O $HOMEDIRECTORY/go$GO_VERSION.linux-amd64.tar.gz tar -C $HOMEDIRECTORY -xzf $HOMEDIRECTORY/go$GO_VERSION.linux-amd64.tar.gz @@ -422,7 +421,7 @@ case $SSL_LIB in NGINX_CONFIG_PARAMS+=( --with-cc-opt="-I../boringssl/include -x c" ) - WITH_LD_OPT="-L../boringssl/build/ssl -L../boringssl/build/crypto" + WITH_LD_OPT="-L../boringssl/build" ;; "libressl") NGINX_CONFIG_PARAMS+=(