2018-06-13 20:12:52 +02:00
|
|
|
#!/usr/bin/env bash
|
2018-04-13 20:56:49 +02:00
|
|
|
|
|
|
|
set -ex
|
|
|
|
|
2018-12-17 04:10:31 +01:00
|
|
|
OPENSSH_ROOT=V_7_9_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
|
|
|
|
|
2018-12-17 04:10:31 +01:00
|
|
|
./configure --with-ssl-dir=/usr/local/ssl --prefix=/usr/local
|
2018-04-13 20:56:49 +02:00
|
|
|
|
|
|
|
make -j1 install
|
|
|
|
|
|
|
|
cd /usr/src
|
|
|
|
rm -rf ${OPENSSH_SRC_DIR}
|