summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/openssh/openssh_8.9p1.bb
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2022-03-17 15:38:45 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-03-20 00:02:22 +0000
commitafcbe8232028acd1be034fdbc13d3338c6ce1732 (patch)
tree7aaff2b6f8c75f453ad533050e4f8ac45538b2a6 /meta/recipes-connectivity/openssh/openssh_8.9p1.bb
parentf8134d36926efc7b4b2150a3e4fe98281a476212 (diff)
downloadpoky-afcbe8232028acd1be034fdbc13d3338c6ce1732.tar.gz
openssh: Default to not using sandbox when cross compiling
backport a patch to fix sandboxing issues seen on ppc32 and also on riscv32 [1] [1] https://bugzilla.mindrot.org/show_bug.cgi?id=3398 (From OE-Core rev: 90895a627be5e8a4e4943fa9195b5553416086d3) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/openssh/openssh_8.9p1.bb')
-rw-r--r--meta/recipes-connectivity/openssh/openssh_8.9p1.bb4
1 files changed, 1 insertions, 3 deletions
diff --git a/meta/recipes-connectivity/openssh/openssh_8.9p1.bb b/meta/recipes-connectivity/openssh/openssh_8.9p1.bb
index 6c5c1912e8..f306b1245a 100644
--- a/meta/recipes-connectivity/openssh/openssh_8.9p1.bb
+++ b/meta/recipes-connectivity/openssh/openssh_8.9p1.bb
@@ -25,6 +25,7 @@ SRC_URI = "http://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-${PV}.tar
25 file://sshd_check_keys \ 25 file://sshd_check_keys \
26 file://add-test-support-for-busybox.patch \ 26 file://add-test-support-for-busybox.patch \
27 file://f107467179428a0e3ea9e4aa9738ac12ff02822d.patch \ 27 file://f107467179428a0e3ea9e4aa9738ac12ff02822d.patch \
28 file://0001-Default-to-not-using-sandbox-when-cross-compiling.patch \
28 " 29 "
29SRC_URI[sha256sum] = "fd497654b7ab1686dac672fb83dfb4ba4096e8b5ffcdaccd262380ae58bec5e7" 30SRC_URI[sha256sum] = "fd497654b7ab1686dac672fb83dfb4ba4096e8b5ffcdaccd262380ae58bec5e7"
30 31
@@ -77,9 +78,6 @@ EXTRA_OECONF = "'LOGIN_PROGRAM=${base_bindir}/login' \
77# musl doesn't implement wtmp/utmp and logwtmp 78# musl doesn't implement wtmp/utmp and logwtmp
78EXTRA_OECONF:append:libc-musl = " --disable-wtmp --disable-lastlog" 79EXTRA_OECONF:append:libc-musl = " --disable-wtmp --disable-lastlog"
79 80
80# https://bugzilla.mindrot.org/show_bug.cgi?id=3398
81EXTRA_OECONF:append:powerpc = " --with-sandbox=no"
82
83# Since we do not depend on libbsd, we do not want configure to use it 81# Since we do not depend on libbsd, we do not want configure to use it
84# just because it finds libutil.h. But, specifying --disable-libutil 82# just because it finds libutil.h. But, specifying --disable-libutil
85# causes compile errors, so... 83# causes compile errors, so...