ladybird/Ports/openssh/package.sh

23 lines
797 B
Bash
Raw Normal View History

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