diff --git a/bootstrap.sh b/bootstrap.sh index 300467d2..350d3969 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -12,7 +12,7 @@ silence() { fi } -LIB_OPENSSL="https://ftp.openssl.org/source/old/1.0.1/openssl-1.0.1m.tar.gz" +LIB_OPENSSL="https://ftp.openssl.org/source/old/1.0.2/openssl-1.0.2u.tar.gz" LIB_BOOST="http://sourceforge.net/projects/boost/files/boost/1.61.0/boost_1_61_0.tar.gz" LIB_ZLIB="https://zlib.net/fossils/zlib-1.2.11.tar.gz" LIB_PROTOBUF="https://github.com/protocolbuffers/protobuf/releases/download/v3.11.4/protobuf-all-3.11.4.tar.gz" @@ -109,12 +109,12 @@ function conf { } # OpenSSL -if [ ! -d "openssl-1.0.1m" ]; then +if [ ! -d "openssl-1.0.2u" ]; then _curl "$LIB_OPENSSL" > openssl.tgz tar xf openssl.tgz rm openssl.tgz - cd openssl-1.0.1m + cd openssl-1.0.2u # Have to leave MD4 enabled because curl expects it OPTS="threads no-shared no-idea no-camellia no-seed no-bf no-cast no-rc2 no-rc4 no-rc5 no-md2 no-ripemd no-mdc2 no-ssl2 no-ssl3 no-krb5 no-jpake no-capieng no-dso" @@ -128,6 +128,7 @@ if [ ! -d "openssl-1.0.1m" ]; then silence ./config $OPTS --prefix=$INSTALL_DIR fi + silence make depend silence make # don't use -j, doesn't work half the time silence make install