move cryptlib compile to install script

This commit is contained in:
Mario Fetka
2024-04-20 13:35:01 +02:00
parent f4faf1f737
commit af389e8981
2 changed files with 7 additions and 7 deletions

View File

@@ -24,9 +24,9 @@ ln -sf libcl.so.3 ${LIBDIR}/libcl.so &>/dev/null
popd &>/dev/null
msg_ok "Setting up ${APP} cryptlib for ssh/ssl (be patient compiling cryptlib)"
msg_info "Setting up ${APP} pemtrans (be patient compiling cryptlib)"
msg_info "Setting up ${APP} pemtrans (be patient compiling pemtrans)"
SSLDEV=$(apt-cache madison libssl-dev | grep 1.0.1 | awk '{print $3}')
apt install -y =libssl-dev-${SSLDEV}
apt install -y libssl-dev=${SSLDEV}
wget -N https://github.com/amenonsen/pemtrans/archive/refs/heads/master.zip -O $MSTEMPDIR/pemtrans.zip &>/dev/null
rm -rf $MSTEMPDIR/pemtrans-master &>/dev/null
pushd $MSTEMPDIR/ &>/dev/null
@@ -53,7 +53,7 @@ popd &>/dev/null
apt purge -y gcc g++ cpp &>/dev/null
apt install -y gcc g++ cpp &>/dev/null
msg_ok "Setting up ${APP} pemtrans (be patient compiling cryptlib)"
msg_ok "Setting up ${APP} pemtrans (be patient compiling pemtrans)"
fi