-
Notifications
You must be signed in to change notification settings - Fork 689
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #542 from midoks/dev
0.16.6
- Loading branch information
Showing
17 changed files
with
79 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,7 @@ | |
|
||
class config_api: | ||
|
||
__version = '0.16.5' | ||
__version = '0.16.6' | ||
__api_addr = 'data/api.json' | ||
|
||
# 统一默认配置文件 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -91,6 +91,7 @@ Install_openresty() | |
|
||
|
||
opensslVersion="1.1.1p" | ||
libresslVersion="3.9.1" | ||
pcreVersion='8.38' | ||
if [ "$sysName" == "Darwin" ];then | ||
|
||
|
@@ -119,12 +120,36 @@ Install_openresty() | |
# brew info [email protected] | grep /opt/homebrew/Cellar/[email protected] | cut -d \ -f 1 | awk 'END {print}' | ||
# OPENSSL_LIB_DEPEND_DIR=`brew info [email protected] | grep ${BREW_DIR}/Cellar/[email protected] | cut -d \ -f 1 | awk 'END {print}'` | ||
# OPTIONS="${OPTIONS} --with-openssl=${OPENSSL_LIB_DEPEND_DIR}" | ||
fi | ||
else | ||
if [ "$VERSION" == "1.25.3.1" ]; then | ||
OPTIONS="${OPTIONS} --with-http_v3_module" | ||
|
||
if [ "$VERSION" == "1.25.3.1" ]; then | ||
OPTIONS="${OPTIONS} --with-http_v3_module" | ||
fi | ||
|
||
|
||
if [ ! -f ${openrestyDir}/libressl-${libresslVersion}.tar.gz ];then | ||
wget --no-check-certificate -O ${openrestyDir}/libressl-${libresslVersion}.tar.gz https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-${libresslVersion}.tar.gz | ||
fi | ||
|
||
if [ ! -d ${openrestyDir}/libressl-${libresslVersion} ];then | ||
cd ${openrestyDir} && tar -zxvf libressl-${libresslVersion}.tar.gz | ||
fi | ||
|
||
if [ ! -f ${openrestyDir}/openssl-${opensslVersion}.tar.gz ];then | ||
wget --no-check-certificate -O ${openrestyDir}/openssl-${opensslVersion}.tar.gz https://www.openssl.org/source/openssl-${opensslVersion}.tar.gz | ||
fi | ||
|
||
if [ ! -d ${openrestyDir}/openssl-${opensslVersion} ];then | ||
cd ${openrestyDir} && tar -zxvf openssl-${opensslVersion}.tar.gz | ||
fi | ||
|
||
OPTIONS="${OPTIONS} --with-openssl=${openrestyDir}/openssl-${opensslVersion}" | ||
OPTIONS="${OPTIONS} --with-cc-opt=-I${openrestyDir}/libressl-${libresslVersion}/libressl/build/include" | ||
OPTIONS="${OPTIONS} --with-cc-opt=-I${openrestyDir}/libressl-${libresslVersion}/libressl/build/lib" | ||
|
||
# --with-cc-opt="-I../libressl/build/include" | ||
# --with-ld-opt="-L../libressl/build/lib" | ||
fi | ||
fi | ||
|
||
|
||
# --with-openssl=$serverPath/source/lib/openssl-1.0.2q | ||
|
@@ -168,6 +193,10 @@ Install_openresty() | |
if [ -d ${openrestyDir}/openssl-${opensslVersion} ];then | ||
rm -rf ${openrestyDir}/openssl-${opensslVersion} | ||
fi | ||
|
||
if [ -d ${openrestyDir}/libressl-${libresslVersion} ];then | ||
rm -rf ${openrestyDir}/libressl-${libresslVersion} | ||
fi | ||
echo '安装完成' | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters