From d7a889ce352aac45558b4fedd0b3acec068feee7 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 31 Aug 2020 12:22:51 +0100 Subject: net-misc/openssh : import from gentoo, do not force newer linux-headers since we don't run glibc2.31 (https://bugs.gentoo.org/708224) --- net-misc/openssh/files/openssh-8.0_p1-hpn-version.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 net-misc/openssh/files/openssh-8.0_p1-hpn-version.patch (limited to 'net-misc/openssh/files/openssh-8.0_p1-hpn-version.patch') diff --git a/net-misc/openssh/files/openssh-8.0_p1-hpn-version.patch b/net-misc/openssh/files/openssh-8.0_p1-hpn-version.patch new file mode 100644 index 00000000..37905ce6 --- /dev/null +++ b/net-misc/openssh/files/openssh-8.0_p1-hpn-version.patch @@ -0,0 +1,13 @@ +diff --git a/kex.c b/kex.c +index 34808b5c..88d7ccac 100644 +--- a/kex.c ++++ b/kex.c +@@ -1126,7 +1126,7 @@ kex_exchange_identification(struct ssh *ssh, int timeout_ms, + if (version_addendum != NULL && *version_addendum == '\0') + version_addendum = NULL; + if ((r = sshbuf_putf(our_version, "SSH-%d.%d-%.100s%s%s\r\n", +- PROTOCOL_MAJOR_2, PROTOCOL_MINOR_2, SSH_VERSION, ++ PROTOCOL_MAJOR_2, PROTOCOL_MINOR_2, SSH_RELEASE, + version_addendum == NULL ? "" : " ", + version_addendum == NULL ? "" : version_addendum)) != 0) { + error("%s: sshbuf_putf: %s", __func__, ssh_err(r)); -- cgit v1.2.3