diff options
| author | Wang Mingyu <wangmy@fujitsu.com> | 2024-09-25 14:48:55 +0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-09-30 17:00:51 +0100 |
| commit | eb48a1feb94cf143d229d1674a43f4a542cecc4d (patch) | |
| tree | cbff374f35b1bc8d5e9f5d684449b4cbd467815e | |
| parent | cb82bbbbc01a5b4fdc73d91f236a9ba2476e0c82 (diff) | |
| download | poky-eb48a1feb94cf143d229d1674a43f4a542cecc4d.tar.gz | |
openssh: upgrade 9.8p1 -> 9.9p1
License-Update:
include openbsd-compat/base64.c license in LICENSE
0001-Cast-to-sockaddr-in-systemd-interface.patch
removed since it's included in 9.9p1
Changelog:
http://www.openssh.com/releasenotes.html
(From OE-Core rev: 26fb4541ffb471fc5a2e2d1ad4c2f3534890fed7)
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-Cast-to-sockaddr-in-systemd-interface.patch | 30 | ||||
| -rw-r--r-- | meta/recipes-connectivity/openssh/openssh_9.9p1.bb (renamed from meta/recipes-connectivity/openssh/openssh_9.8p1.bb) | 5 |
2 files changed, 2 insertions, 33 deletions
diff --git a/meta/recipes-connectivity/openssh/openssh/0001-Cast-to-sockaddr-in-systemd-interface.patch b/meta/recipes-connectivity/openssh/openssh/0001-Cast-to-sockaddr-in-systemd-interface.patch deleted file mode 100644 index c41642ae10..0000000000 --- a/meta/recipes-connectivity/openssh/openssh/0001-Cast-to-sockaddr-in-systemd-interface.patch +++ /dev/null | |||
| @@ -1,30 +0,0 @@ | |||
| 1 | From a3068c6edb81c0b0b9a2ced82e8632c79314e409 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Darren Tucker <dtucker@dtucker.net> | ||
| 3 | Date: Sun, 7 Jul 2024 18:46:19 +1000 | ||
| 4 | Subject: [PATCH] Cast to sockaddr * in systemd interface. | ||
| 5 | |||
| 6 | Fixes build with musl libx. bz#3707. | ||
| 7 | |||
| 8 | Upstream-Status: Backport [https://github.com/openssh/openssh-portable/commit/8b664df75966e5aed8dabea00b8838303d3488b8] | ||
| 9 | |||
| 10 | Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io> | ||
| 11 | --- | ||
| 12 | openbsd-compat/port-linux.c | 2 +- | ||
| 13 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 14 | |||
| 15 | diff --git a/openbsd-compat/port-linux.c b/openbsd-compat/port-linux.c | ||
| 16 | index 4c024c6d2..8adfec5a7 100644 | ||
| 17 | --- a/openbsd-compat/port-linux.c | ||
| 18 | +++ b/openbsd-compat/port-linux.c | ||
| 19 | @@ -366,7 +366,7 @@ ssh_systemd_notify(const char *fmt, ...) | ||
| 20 | error_f("socket \"%s\": %s", path, strerror(errno)); | ||
| 21 | goto out; | ||
| 22 | } | ||
| 23 | - if (connect(fd, &addr, sizeof(addr)) != 0) { | ||
| 24 | + if (connect(fd, (struct sockaddr *)&addr, sizeof(addr)) != 0) { | ||
| 25 | error_f("socket \"%s\" connect: %s", path, strerror(errno)); | ||
| 26 | goto out; | ||
| 27 | } | ||
| 28 | -- | ||
| 29 | 2.45.2 | ||
| 30 | |||
diff --git a/meta/recipes-connectivity/openssh/openssh_9.8p1.bb b/meta/recipes-connectivity/openssh/openssh_9.9p1.bb index 83145dbd18..6d9dac3497 100644 --- a/meta/recipes-connectivity/openssh/openssh_9.8p1.bb +++ b/meta/recipes-connectivity/openssh/openssh_9.9p1.bb | |||
| @@ -6,7 +6,7 @@ and for executing commands on a remote machine." | |||
| 6 | HOMEPAGE = "http://www.openssh.com/" | 6 | HOMEPAGE = "http://www.openssh.com/" |
| 7 | SECTION = "console/network" | 7 | SECTION = "console/network" |
| 8 | LICENSE = "BSD-2-Clause & BSD-3-Clause & ISC & MIT" | 8 | LICENSE = "BSD-2-Clause & BSD-3-Clause & ISC & MIT" |
| 9 | LIC_FILES_CHKSUM = "file://LICENCE;md5=072979064e691d342002f43cd89c0394" | 9 | LIC_FILES_CHKSUM = "file://LICENCE;md5=78ffb36e5a48c0d8c5648603a3b6c8eb" |
| 10 | 10 | ||
| 11 | DEPENDS = "zlib openssl virtual/crypt" | 11 | DEPENDS = "zlib openssl virtual/crypt" |
| 12 | DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" | 12 | DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" |
| @@ -23,11 +23,10 @@ SRC_URI = "http://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-${PV}.tar | |||
| 23 | file://volatiles.99_sshd \ | 23 | file://volatiles.99_sshd \ |
| 24 | file://run-ptest \ | 24 | file://run-ptest \ |
| 25 | file://sshd_check_keys \ | 25 | file://sshd_check_keys \ |
| 26 | file://0001-Cast-to-sockaddr-in-systemd-interface.patch \ | ||
| 27 | file://0001-regress-banner.sh-log-input-and-output-files-on-erro.patch \ | 26 | file://0001-regress-banner.sh-log-input-and-output-files-on-erro.patch \ |
| 28 | file://0001-regress-test-exec-use-the-absolute-path-in-the-SSH-e.patch \ | 27 | file://0001-regress-test-exec-use-the-absolute-path-in-the-SSH-e.patch \ |
| 29 | " | 28 | " |
| 30 | SRC_URI[sha256sum] = "dd8bd002a379b5d499dfb050dd1fa9af8029e80461f4bb6c523c49973f5a39f3" | 29 | SRC_URI[sha256sum] = "b343fbcdbff87f15b1986e6e15d6d4fc9a7d36066be6b7fb507087ba8f966c02" |
| 31 | 30 | ||
| 32 | CVE_STATUS[CVE-2007-2768] = "not-applicable-config: This CVE is specific to OpenSSH with the pam opie which we don't build/use here." | 31 | CVE_STATUS[CVE-2007-2768] = "not-applicable-config: This CVE is specific to OpenSSH with the pam opie which we don't build/use here." |
| 33 | 32 | ||
