mirror of
https://github.com/minoplhy/scriptbox.git
synced 2025-04-25 08:16:56 +00:00
nginx_build_script: fix BoringSSL Directory changes / add PCRE2 for ModSecurity
[1] :5e3ba4c15b
[2] :1a2b13967f
This commit is contained in:
parent
b958ae72cb
commit
8f7be21ee8
@ -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+=(
|
||||
|
Loading…
x
Reference in New Issue
Block a user