This commit is contained in:
midoks
2023-10-31 21:01:21 +08:00
parent 165f6ee323
commit 7ab4572bdd
2 changed files with 6 additions and 5 deletions
+1 -1
View File
@@ -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
+5 -4
View File
@@ -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