2018-06-13 20:12:52 +02:00
|
|
|
#!/usr/bin/env bash
|
2018-04-13 20:56:49 +02:00
|
|
|
|
|
|
|
set -ex
|
|
|
|
|
2021-04-07 16:34:22 +02:00
|
|
|
OPENSSH_ROOT=V_8_5_P1
|
2018-04-13 20:56:49 +02:00
|
|
|
|
|
|
|
cd /usr/src
|
|
|
|
curl -LO https://github.com/openssh/openssh-portable/archive/${OPENSSH_ROOT}.tar.gz
|
|
|
|
tar -xvf ${OPENSSH_ROOT}.tar.gz
|
|
|
|
rm -f ${OPENSSH_ROOT}.tar.gz
|
|
|
|
|
|
|
|
OPENSSH_SRC_DIR=openssh-portable-${OPENSSH_ROOT}
|
|
|
|
cd ${OPENSSH_SRC_DIR}
|
|
|
|
|
|
|
|
autoreconf
|
|
|
|
|
2021-04-05 12:49:49 +02:00
|
|
|
./configure --with-ssl-dir=/usr/local/ssl --prefix=/usr/local --with-libs=-lpthread
|
2018-04-13 20:56:49 +02:00
|
|
|
|
|
|
|
make -j1 install
|
|
|
|
|
|
|
|
cd /usr/src
|
|
|
|
rm -rf ${OPENSSH_SRC_DIR}
|