3 curl -L https://cpanmin.us | sudo perl - --sudo App::cpanminus
4 sudo cpanm --notest Test2::V0 > build.log 2>&1 || (cat build.log && exit 1)
6 if [ "${APT_INSTALL-}" ]; then
7 sudo apt-get install -y $APT_INSTALL
10 git clone --depth 1 -b $OPENSSL_BRANCH https://github.com/openssl/openssl.git
12 patch -p0 < ../patches/openssl_111m.diff
13 patch -p0 < ../patches/openssl_111m_obj.diff
14 patch -p0 < ../patches/openssl_111m_tls13.diff
15 git describe --always --long
19 ${SETARCH-} ./config shared -d --prefix=$PREFIX --openssldir=$PREFIX -Wl,-rpath=$PREFIX/lib
20 ${SETARCH-} make -s -j$(nproc) build_libs
21 ${SETARCH-} make -s -j$(nproc) build_programs