mirror of
https://github.com/bensuperpc/dockcross.git
synced 2024-11-10 05:07:26 +01:00
23 lines
376 B
Bash
23 lines
376 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
set -ex
|
||
|
|
||
|
OPENSSH_ROOT=V_7_6_P1
|
||
|
|
||
|
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
|
||
|
|
||
|
./configure --prefix=/usr/local
|
||
|
|
||
|
make -j1 install
|
||
|
|
||
|
cd /usr/src
|
||
|
rm -rf ${OPENSSH_SRC_DIR}
|