aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2021-11-16 09:22:36 +0100
committerSören Tempel <soeren+git@soeren-tempel.net>2021-11-16 09:22:36 +0100
commitb5e3d52e5a95ff8a73c23908201474bb15048a11 (patch)
treea067e754c925436682cb2b720b6db4d3a0331a8e
parent4c7df8423291d9323a0d7565f6beb4761a7b47a9 (diff)
downloadaports-b5e3d52e5a95ff8a73c23908201474bb15048a11.tar.gz
aports-b5e3d52e5a95ff8a73c23908201474bb15048a11.tar.bz2
aports-b5e3d52e5a95ff8a73c23908201474bb15048a11.tar.xz
main/openssh: use a more sensible default $PATH value
Workaround for $PATH order issue with SSH, this is due to the fact that path is now appended instead of overwritten in /etc/profile and thus the order of the default SSH path is not changed. By supplying a better default SSH path value we can workaround this issue for now. Merge requested by @ncopa. See #13017
-rw-r--r--main/openssh/APKBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/main/openssh/APKBUILD b/main/openssh/APKBUILD
index 006c4d4f17..93f3318c0a 100644
--- a/main/openssh/APKBUILD
+++ b/main/openssh/APKBUILD
@@ -4,7 +4,7 @@
pkgname=openssh
pkgver=8.8_p1
_myver=${pkgver%_*}${pkgver#*_}
-pkgrel=0
+pkgrel=1
pkgdesc="Port of OpenBSD's free SSH release"
url="https://www.openssh.com/portable.html"
arch="all"
@@ -90,6 +90,7 @@ _do_configure() {
--disable-wtmp \
--with-privsep-path=/var/empty \
--with-xauth=/usr/bin/xauth \
+ --with-default-path='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin' \
--with-privsep-user=sshd \
--with-md5-passwords \
--with-ssl-engine \