From 7ab4572bdda7611c1f2325061cb100d978a841d7 Mon Sep 17 00:00:00 2001 From: midoks Date: Tue, 31 Oct 2023 21:01:21 +0800 Subject: [PATCH] update --- plugins/php/lib/icu.sh | 2 +- plugins/php/lib/openssl_10.sh | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/plugins/php/lib/icu.sh b/plugins/php/lib/icu.sh index e7cfc5778..b6cd37252 100644 --- a/plugins/php/lib/icu.sh +++ b/plugins/php/lib/icu.sh @@ -40,7 +40,7 @@ if [ ! -d ${SERVER_ROOT}/icu ];then ldconfig - cd $SOURCE_ROOT && rm -rf ${SERVER_ROOT}/icu/52.2 + cd $SOURCE_ROOT && rm -rf ${SOURCE_ROOT}/icu fi fi \ No newline at end of file diff --git a/plugins/php/lib/openssl_10.sh b/plugins/php/lib/openssl_10.sh index 69d432483..75fcc90c7 100644 --- a/plugins/php/lib/openssl_10.sh +++ b/plugins/php/lib/openssl_10.sh @@ -8,6 +8,7 @@ rootPath=$(dirname "$rootPath") rootPath=$(dirname "$rootPath") rootPath=$(dirname "$rootPath") +opensslVersion="1.0.2q" # echo $rootPath SERVER_ROOT=$rootPath/lib @@ -21,11 +22,11 @@ fi if [ ! -d ${SERVER_ROOT}/openssl10 ];then cd ${SOURCE_ROOT} - if [ ! -f ${SOURCE_ROOT}/openssl-1.0.2q.tar.gz ];then - wget --no-check-certificate ${HTTP_PREFIX}github.com/midoks/mdserver-web/releases/download/init/openssl-1.0.2q.tar.gz -T 20 + if [ ! -f ${SOURCE_ROOT}/openssl-${opensslVersion}.tar.gz ];then + wget --no-check-certificate ${HTTP_PREFIX}github.com/midoks/mdserver-web/releases/download/init/openssl-${opensslVersion}.tar.gz -T 20 fi - tar -zxf openssl-1.0.2q.tar.gz - cd openssl-1.0.2q + tar -zxf openssl-${opensslVersion}.tar.gz + cd openssl-${opensslVersion} ./config --openssldir=${SERVER_ROOT}/openssl10 zlib-dynamic shared make && make install