summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWang Mingyu <wangmy@fujitsu.com>2024-03-26 08:34:36 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-04-12 18:04:01 +0100
commit73d70da7d65e17c01f63f493639dc783db2f77dd (patch)
tree0743044ec33993d7646d1ad4dd1220f000102b0d
parent04d40538a0fd3d571b8e04f4fcbc46c85c1e2e08 (diff)
downloadpoky-73d70da7d65e17c01f63f493639dc783db2f77dd.tar.gz
openssh: upgrade 9.6p1 -> 9.7p1
0001-systemd-Add-optional-support-for-systemd-sd_notify.patch refresh for 9.7p1 Changelog: ============ New features ------------ * ssh(1), sshd(8): add a "global" ChannelTimeout type that watches all open channels and will close all open channels if there is no traffic on any of them for the specified interval. This is in addition to the existing per-channel timeouts added recently. * All: make DSA key support compile-time optional, defaulting to on. Bugfixes -------- * sshd(8): don't append an unnecessary space to the end of subsystem arguments * ssh(1): fix the multiplexing "channel proxy" mode, broken when keystroke timing obfuscation was added. * ssh(1), sshd(8): fix spurious configuration parsing errors when options that accept array arguments are overridden * ssh-agent(1): fix potential spin in signal handler * Many fixes to manual pages and other documentation * Greatly improve interop testing against PuTTY. (From OE-Core rev: 8abc886e23317f9747f2bee6bb7a6c59e20a1460) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-connectivity/openssh/openssh/0001-systemd-Add-optional-support-for-systemd-sd_notify.patch17
-rw-r--r--meta/recipes-connectivity/openssh/openssh_9.7p1.bb (renamed from meta/recipes-connectivity/openssh/openssh_9.6p1.bb)2
2 files changed, 8 insertions, 11 deletions
diff --git a/meta/recipes-connectivity/openssh/openssh/0001-systemd-Add-optional-support-for-systemd-sd_notify.patch b/meta/recipes-connectivity/openssh/openssh/0001-systemd-Add-optional-support-for-systemd-sd_notify.patch
index acda8f1ce9..f079d936a4 100644
--- a/meta/recipes-connectivity/openssh/openssh/0001-systemd-Add-optional-support-for-systemd-sd_notify.patch
+++ b/meta/recipes-connectivity/openssh/openssh/0001-systemd-Add-optional-support-for-systemd-sd_notify.patch
@@ -1,4 +1,4 @@
1From be187435911cde6cc3cef6982a508261074f1e56 Mon Sep 17 00:00:00 2001 1From b02ef7621758f06eb686ef4f620636dbad086eda Mon Sep 17 00:00:00 2001
2From: Matt Jolly <Matt.Jolly@footclan.ninja> 2From: Matt Jolly <Matt.Jolly@footclan.ninja>
3Date: Thu, 2 Feb 2023 21:05:40 +1100 3Date: Thu, 2 Feb 2023 21:05:40 +1100
4Subject: [PATCH] systemd: Add optional support for systemd `sd_notify` 4Subject: [PATCH] systemd: Add optional support for systemd `sd_notify`
@@ -15,10 +15,10 @@ Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
15 2 files changed, 37 insertions(+) 15 2 files changed, 37 insertions(+)
16 16
17diff --git a/configure.ac b/configure.ac 17diff --git a/configure.ac b/configure.ac
18index 22fee70f..486c189f 100644 18index 82e8bb7..d1145d3 100644
19--- a/configure.ac 19--- a/configure.ac
20+++ b/configure.ac 20+++ b/configure.ac
21@@ -4835,6 +4835,29 @@ AC_SUBST([GSSLIBS]) 21@@ -4870,6 +4870,29 @@ AC_SUBST([GSSLIBS])
22 AC_SUBST([K5LIBS]) 22 AC_SUBST([K5LIBS])
23 AC_SUBST([CHANNELLIBS]) 23 AC_SUBST([CHANNELLIBS])
24 24
@@ -48,7 +48,7 @@ index 22fee70f..486c189f 100644
48 # Looking for programs, paths and files 48 # Looking for programs, paths and files
49 49
50 PRIVSEP_PATH=/var/empty 50 PRIVSEP_PATH=/var/empty
51@@ -5634,6 +5657,7 @@ echo " libldns support: $LDNS_MSG" 51@@ -5688,6 +5711,7 @@ echo " libldns support: $LDNS_MSG"
52 echo " Solaris process contract support: $SPC_MSG" 52 echo " Solaris process contract support: $SPC_MSG"
53 echo " Solaris project support: $SP_MSG" 53 echo " Solaris project support: $SP_MSG"
54 echo " Solaris privilege support: $SPP_MSG" 54 echo " Solaris privilege support: $SPP_MSG"
@@ -57,7 +57,7 @@ index 22fee70f..486c189f 100644
57 echo " Translate v4 in v6 hack: $IPV4_IN6_HACK_MSG" 57 echo " Translate v4 in v6 hack: $IPV4_IN6_HACK_MSG"
58 echo " BSD Auth support: $BSD_AUTH_MSG" 58 echo " BSD Auth support: $BSD_AUTH_MSG"
59diff --git a/sshd.c b/sshd.c 59diff --git a/sshd.c b/sshd.c
60index 6321936c..859d6a0b 100644 60index b4f2b97..6820a41 100644
61--- a/sshd.c 61--- a/sshd.c
62+++ b/sshd.c 62+++ b/sshd.c
63@@ -88,6 +88,10 @@ 63@@ -88,6 +88,10 @@
@@ -71,7 +71,7 @@ index 6321936c..859d6a0b 100644
71 #include "xmalloc.h" 71 #include "xmalloc.h"
72 #include "ssh.h" 72 #include "ssh.h"
73 #include "ssh2.h" 73 #include "ssh2.h"
74@@ -310,6 +314,10 @@ static void 74@@ -308,6 +312,10 @@ static void
75 sighup_restart(void) 75 sighup_restart(void)
76 { 76 {
77 logit("Received SIGHUP; restarting."); 77 logit("Received SIGHUP; restarting.");
@@ -82,7 +82,7 @@ index 6321936c..859d6a0b 100644
82 if (options.pid_file != NULL) 82 if (options.pid_file != NULL)
83 unlink(options.pid_file); 83 unlink(options.pid_file);
84 platform_pre_restart(); 84 platform_pre_restart();
85@@ -2086,6 +2094,11 @@ main(int ac, char **av) 85@@ -2093,6 +2101,11 @@ main(int ac, char **av)
86 } 86 }
87 } 87 }
88 88
@@ -94,6 +94,3 @@ index 6321936c..859d6a0b 100644
94 /* Accept a connection and return in a forked child */ 94 /* Accept a connection and return in a forked child */
95 server_accept_loop(&sock_in, &sock_out, 95 server_accept_loop(&sock_in, &sock_out,
96 &newsock, config_s); 96 &newsock, config_s);
97--
982.25.1
99
diff --git a/meta/recipes-connectivity/openssh/openssh_9.6p1.bb b/meta/recipes-connectivity/openssh/openssh_9.7p1.bb
index edd8e8c2d1..3b0b47097c 100644
--- a/meta/recipes-connectivity/openssh/openssh_9.6p1.bb
+++ b/meta/recipes-connectivity/openssh/openssh_9.7p1.bb
@@ -28,7 +28,7 @@ SRC_URI = "http://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-${PV}.tar
28 file://0001-regress-banner.sh-log-input-and-output-files-on-erro.patch \ 28 file://0001-regress-banner.sh-log-input-and-output-files-on-erro.patch \
29 file://0001-systemd-Add-optional-support-for-systemd-sd_notify.patch \ 29 file://0001-systemd-Add-optional-support-for-systemd-sd_notify.patch \
30 " 30 "
31SRC_URI[sha256sum] = "910211c07255a8c5ad654391b40ee59800710dd8119dd5362de09385aa7a777c" 31SRC_URI[sha256sum] = "490426f766d82a2763fcacd8d83ea3d70798750c7bd2aff2e57dc5660f773ffd"
32 32
33CVE_STATUS[CVE-2007-2768] = "not-applicable-config: This CVE is specific to OpenSSH with the pam opie which we don't build/use here." 33CVE_STATUS[CVE-2007-2768] = "not-applicable-config: This CVE is specific to OpenSSH with the pam opie which we don't build/use here."
34 34