summaryrefslogtreecommitdiff
path: root/Ports/openssh
diff options
context:
space:
mode:
authorTim Schumacher <timschumi@gmx.de>2021-09-27 00:16:18 +0200
committerAndreas Kling <kling@serenityos.org>2021-10-05 02:13:08 +0200
commitc07f91474de4088c4eccd45ccc6883a515439d69 (patch)
tree19bdb4797935e826f638053ea8d4250bd453dd0a /Ports/openssh
parente507cfcdb0cc3be9e8e3304952c81d4410e6b610 (diff)
downloadserenity-c07f91474de4088c4eccd45ccc6883a515439d69.zip
Ports: Make array-like settings actual arrays
We may need entries with spaces in makeopts, installopts, and configopts, and at that point we should also convert depends and auth_opts to avoid confusion.
Diffstat (limited to 'Ports/openssh')
-rwxr-xr-xPorts/openssh/package.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/Ports/openssh/package.sh b/Ports/openssh/package.sh
index b5eda60759..455126a2dd 100755
--- a/Ports/openssh/package.sh
+++ b/Ports/openssh/package.sh
@@ -4,9 +4,9 @@ workdir=openssh-portable-9ca7e9c861775dd6c6312bc8aaab687403d24676
version=8.3-9ca7e9c
files="https://github.com/openssh/openssh-portable/archive/9ca7e9c861775dd6c6312bc8aaab687403d24676.tar.gz openssh-8.3-9ca7e9c.tar.gz 78e3051cd76e505b1c9ea4fdcc108f47c64d4db058dad4f776908ed0229f6234"
auth_type=sha256
-depends="zlib openssl"
+depends=("zlib" "openssl")
useconfigure=true
-configopts="--prefix=/usr/local --disable-utmp --disable-strip --sysconfdir=/etc/ssh --with-ssl-dir=${SERENITY_INSTALL_ROOT}/usr/local/lib"
+configopts=("--prefix=/usr/local" "--disable-utmp" "--disable-strip" "--sysconfdir=/etc/ssh" "--with-ssl-dir=${SERENITY_INSTALL_ROOT}/usr/local/lib")
export LDFLAGS="-lcrypt -lcore"
@@ -16,7 +16,7 @@ pre_configure() {
install() {
# Can't make keys outside of Serenity since ssh-keygen is built for Serenity.
- run make DESTDIR="${SERENITY_INSTALL_ROOT}" $installopts install-nokeys
+ run make DESTDIR="${SERENITY_INSTALL_ROOT}" "${installopts[@]}" install-nokeys
if command -v ssh-keygen &>/dev/null; then
mkdir -p "${SERENITY_INSTALL_ROOT}/etc/ssh"