pull/496/head
midoks 2 years ago
parent c592086d29
commit abcabeb2a1
  1. 1
      plugins/php/lib/freetype_new.sh
  2. 2
      plugins/php/lib/freetype_old.sh
  3. 4
      plugins/php/lib/icu.sh
  4. 2
      plugins/php/lib/libiconv.sh
  5. 2
      plugins/php/lib/libmcrypt.sh
  6. 3
      plugins/php/lib/libmemcached.sh
  7. 2
      plugins/php/lib/libsodium.sh
  8. 9
      plugins/php/lib/oniguruma.sh
  9. 2
      plugins/php/lib/openssl.sh
  10. 2
      plugins/php/lib/openssl_10.sh
  11. 2
      plugins/php/lib/openssl_11.sh
  12. 2
      plugins/php/lib/zlib.sh

@ -30,5 +30,6 @@ if [ ! -d ${SERVER_ROOT}/freetype ];then
./configure --prefix=${SERVER_ROOT}/freetype && make && make install
cd $SOURCE_ROOT && rm -rf freetype-2.12.1
#rm -rf freetype-2.12.1.tar.gz
cd $SOURCE_ROOT && rm -rf $SOURCE_ROOT/freetype-2.12.1
fi

@ -29,6 +29,6 @@ if [ ! -d ${SERVER_ROOT}/freetype_old ];then
./configure --prefix=${SERVER_ROOT}/freetype_old && make && make install
cd $SOURCE_ROOT && rm -rf freetype-2.7.1
cd $SOURCE_ROOT && rm -rf $SOURCE_ROOT/freetype-2.7.1
#rm -rf freetype-2.7.1.tar.gz
fi

@ -25,7 +25,7 @@ if [ ! -d ${SERVER_ROOT}/icu ];then
wget --no-check-certificate -O ${SOURCE_ROOT}/icu4c-52_2-src.tgz ${HTTP_PREFIX}github.com/unicode-org/icu/releases/download/release-52-2/icu4c-52_2-src.tgz
fi
if [ ! -d ${SERVER_ROOT}/icu/52.2 ];then
if [ ! -d ${SERVER_ROOT}/lib/icu/lib ];then
cd ${SOURCE_ROOT} && tar -zxvf icu4c-52_2-src.tgz
cd ${SOURCE_ROOT}/icu/source
@ -39,6 +39,8 @@ if [ ! -d ${SERVER_ROOT}/icu ];then
fi
ldconfig
cd $SOURCE_ROOT && rm -rf ${SERVER_ROOT}/icu/52.2
fi
fi

@ -25,7 +25,7 @@ if [ ! -d ${SERVER_ROOT}/libiconv ];then
tar zxvf libiconv-1.15.tar.gz
cd libiconv-1.15
./configure --prefix=${SERVER_ROOT}/libiconv --enable-static && make && make install
cd $SOURCE_ROOT
cd $SOURCE_ROOT && rm -rf $SOURCE_ROOT/libiconv-1.15
#rm -rf libiconv-1.15
#rm -rf libiconv-1.15.tar.gz
fi

@ -31,6 +31,8 @@ if [ $ISFIND == "0" ];then
tar -zxvf libmcrypt-2.5.8.tar.gz
cd libmcrypt-2.5.8
./configure && make && make install && make clean
cd $SOURCE_ROOT && rm -rf $SOURCE_ROOT/libmcrypt-2.5.8
fi

@ -39,5 +39,8 @@ if [ ! -d ${SERVER_ROOT}/libmemcached ];then
sed -i "s#opt_servers == false#\!opt_servers#g" ${SERVER_ROOT}/libmemcached-1.0.18/clients/memflush.cc
# sed -i "s#opt_servers == false#\!opt_servers#g" /www/server/source/lib/libmemcached-1.0.18/clients/memflush.cc
./configure --prefix=${SERVER_ROOT}/libmemcached -with-memcached && make && make install
cd $SOURCE_ROOT && rm -rf $SOURCE_ROOT/libmemcached-1.0.18
fi
#----------------------------- libmemcached end -------------------------#

@ -25,5 +25,7 @@ if [ ! -f /usr/local/lib/libsodium.so ];then
tar -zxvf libsodium-${VERSION}-stable.tar.gz
cd libsodium-stable
./configure && make && make check && make install
cd $SOURCE_ROOT && rm -rf $SOURCE_ROOT/libsodium-stable
fi
#----------------------------- libsodium end -------------------------#

@ -24,8 +24,13 @@ if [ "$?" != "0" ];then
cd ${SOURCE_ROOT}
if [ ! -f ${SOURCE_ROOT}/oniguruma-6.9.4.tar.gz ];then
wget --no-check-certificate -O ${SOURCE_ROOT}/oniguruma-6.9.4.tar.gz ${HTTP_PREFIX}github.com/kkos/oniguruma/archive/v6.9.4.tar.gz
fi
cd ${SOURCE_ROOT} && tar -zxvf oniguruma-6.9.4.tar.gz
fi
if [ ! -d cd ${SOURCE_ROOT}/oniguruma-6.9.4 ];then
cd ${SOURCE_ROOT} && tar -zxvf oniguruma-6.9.4.tar.gz
fi
cd ${SOURCE_ROOT}/oniguruma-6.9.4 && ./autogen.sh && ./configure --prefix=/usr && make && make install
cd $SOURCE_ROOT && rm -rf $SOURCE_ROOT/oniguruma-6.9.4
fi

@ -23,5 +23,7 @@ if [ ! -d ${SERVER_ROOT}/openssl ];then
cd openssl-${opensslVersion}
./config --prefix=${SERVER_ROOT}/openssl zlib-dynamic shared
make && make install
cd $SOURCE_ROOT && rm -rf $SOURCE_ROOT/openssl-${opensslVersion}
fi

@ -28,6 +28,8 @@ if [ ! -d ${SERVER_ROOT}/openssl10 ];then
cd openssl-1.0.2q
./config --openssldir=${SERVER_ROOT}/openssl10 zlib-dynamic shared
make && make install
cd $SOURCE_ROOT && rm -rf $SOURCE_ROOT/openssl-${opensslVersion}
fi

@ -23,5 +23,7 @@ if [ ! -d ${SERVER_ROOT}/openssl11 ];then
cd openssl-${opensslVersion}
./config --prefix=${SERVER_ROOT}/openssl11 zlib-dynamic shared
make && make install
cd $SOURCE_ROOT && rm -rf $SOURCE_ROOT/openssl-${opensslVersion}
fi

@ -31,7 +31,7 @@ if [ ! -d ${SERVER_ROOT}/zlib ];then
./configure --prefix=${SERVER_ROOT}/zlib && make && make install
#cd $SOURCE_ROOT
cd $SOURCE_ROOT && rm -rf $SOURCE_ROOT/zlib-1.2.11
#rm -rf zlib-1.2.11
#rm -rf zlib-1.2.11.tar.gz
fi
Loading…
Cancel
Save