|
|
@@ -216,7 +216,7 @@ echo "Build version $BUILD_VER, with Nginx version $NGINX_V and PHP version $PHP
|
|
|
|
|
|
HESTIA_V="${BUILD_VER}_${BUILD_ARCH}"
|
|
|
OPENSSL_V='1.1.1l'
|
|
|
-PCRE_V='8.45'
|
|
|
+PCRE_V='10.39'
|
|
|
ZLIB_V='1.2.11'
|
|
|
|
|
|
# Create build directories
|
|
|
@@ -290,7 +290,7 @@ fi
|
|
|
HESTIA_ARCHIVE_LINK='https://github.com/hestiacp/hestiacp/archive/'$branch'.tar.gz'
|
|
|
NGINX='https://nginx.org/download/nginx-'$(echo $NGINX_V |cut -d"~" -f1)'.tar.gz'
|
|
|
OPENSSL='https://www.openssl.org/source/openssl-'$OPENSSL_V'.tar.gz'
|
|
|
-PCRE='https://sourceforge.net/projects/pcre/files/pcre/'$PCRE_V'/pcre-'$PCRE_V'.tar.gz/download'
|
|
|
+PCRE='https://github.com/PhilipHazel/pcre2/releases/download/pcre2-'$PCRE_V'/pcre2-'$PCRE_V'.tar.gz'
|
|
|
ZLIB='https://www.zlib.net/zlib-'$ZLIB_V'.tar.gz'
|
|
|
PHP='http://de2.php.net/distributions/php-'$(echo $PHP_V |cut -d"~" -f1)'.tar.gz'
|
|
|
|
|
|
@@ -342,7 +342,7 @@ if [ "$NGINX_B" = true ] ; then
|
|
|
--with-openssl-opt=no-nextprotoneg \
|
|
|
--with-openssl-opt=no-weak-ssl-ciphers \
|
|
|
--with-openssl-opt=no-ssl3 \
|
|
|
- --with-pcre=../pcre-$PCRE_V \
|
|
|
+ --with-pcre=../pcre2-$PCRE_V \
|
|
|
--with-pcre-jit \
|
|
|
--with-zlib=../zlib-$ZLIB_V
|
|
|
fi
|