2021-01-22 16:44:05 +00:00
|
|
|
#!/usr/bin/env -S bash ../.port_include.sh
|
2020-09-26 15:12:27 +00:00
|
|
|
port=openssh
|
2022-04-30 10:58:10 +00:00
|
|
|
workdir=openssh-portable-94eb6858efecc1b4f02d8a6bd35e149f55c814c8
|
|
|
|
version=9.0-94eb685
|
2023-07-10 11:10:29 +00:00
|
|
|
files=(
|
2023-09-02 04:32:27 +00:00
|
|
|
"https://github.com/openssh/openssh-portable/archive/94eb6858efecc1b4f02d8a6bd35e149f55c814c8.tar.gz#8a6bfb4c21d32f4e82d6d7734cd68585337cdd57428a2799295e1b1e72c332b5"
|
2023-07-10 11:10:29 +00:00
|
|
|
)
|
2021-09-26 22:16:18 +00:00
|
|
|
depends=("zlib" "openssl")
|
2020-09-26 15:12:27 +00:00
|
|
|
useconfigure=true
|
2022-01-08 13:32:29 +00:00
|
|
|
use_fresh_config_sub=true
|
2021-09-26 22:16:18 +00:00
|
|
|
configopts=("--prefix=/usr/local" "--disable-utmp" "--disable-strip" "--sysconfdir=/etc/ssh" "--with-ssl-dir=${SERENITY_INSTALL_ROOT}/usr/local/lib")
|
2021-01-21 18:12:25 +00:00
|
|
|
|
2024-03-30 19:58:09 +00:00
|
|
|
export LDFLAGS="-lcrypt -lcore -lcoreminimal"
|
2021-05-01 09:38:19 +00:00
|
|
|
|
2020-09-26 15:12:27 +00:00
|
|
|
pre_configure() {
|
2021-04-20 16:29:35 +00:00
|
|
|
run autoreconf
|
2020-09-26 15:12:27 +00:00
|
|
|
}
|
2021-01-21 18:12:25 +00:00
|
|
|
|
2020-09-26 15:12:27 +00:00
|
|
|
install() {
|
2021-04-20 16:29:35 +00:00
|
|
|
# Can't make keys outside of Serenity since ssh-keygen is built for Serenity.
|
2021-09-26 22:16:18 +00:00
|
|
|
run make DESTDIR="${SERENITY_INSTALL_ROOT}" "${installopts[@]}" install-nokeys
|
2020-09-26 15:12:27 +00:00
|
|
|
}
|