correct hdden pacakge install

This commit is contained in:
Mario Fetka 2024-04-20 13:52:13 +02:00
parent 67bf6b3e05
commit dc5d8baa88

View File

@ -26,7 +26,7 @@ msg_ok "Setting up ${APP} cryptlib for ssh/ssl (be patient compiling cryptlib)"
msg_info "Setting up ${APP} pemtrans (be patient compiling pemtrans)" msg_info "Setting up ${APP} pemtrans (be patient compiling pemtrans)"
SSLDEV=$(apt-cache madison libssl-dev | grep 1.0.1 | awk '{print $3}') SSLDEV=$(apt-cache madison libssl-dev | grep 1.0.1 | awk '{print $3}')
apt install -y --allow-downgrades libssl1.0.0 libssl-dev=${SSLDEV} apt install -y --allow-downgrades libssl1.0.0 libssl-dev=${SSLDEV} &>/dev/null
wget -N https://github.com/amenonsen/pemtrans/archive/refs/heads/master.zip -O $MSTEMPDIR/pemtrans.zip &>/dev/null 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 rm -rf $MSTEMPDIR/pemtrans-master &>/dev/null
pushd $MSTEMPDIR/ &>/dev/null pushd $MSTEMPDIR/ &>/dev/null
@ -45,6 +45,7 @@ pemtrans: pemtrans.c
-lcrypto -lssl -lcl $(EXTRA_LIBS) -lcrypto -lssl -lcl $(EXTRA_LIBS)
EOF EOF
pushd $MSTEMPDIR/pemtrans-master &>/dev/null pushd $MSTEMPDIR/pemtrans-master &>/dev/null
make &>/dev/null make &>/dev/null
cp pemtrans ${MYSTIC_DIR}/ cp pemtrans ${MYSTIC_DIR}/