openssh: bump to version 7.7p1
PATCH 1/1 openssh: bump to version 7.7p1
Drop upstream patches, renumber the rest.
Signed-off-by Baruch Siach <[email protected]>
---
.../0001-configure-ac-detect-mips-abi.patch | 44 ---------------
...ch => 0001-fix-pam-uclibc-pthreads-clash.patch} | 0
...roperly-set-seccomp-audit-arch-for-mips64.patch | 63 ----------------------
...nclude.patch => 0002-fix-howmany-include.patch} | 0
...pat-bsd-getpagesize.c-include-includes.h-.patch | 35 ------------
package/openssh/openssh.hash | 4 +-
package/openssh/openssh.mk | 6 +--
7 files changed, 3 insertions(+), 149 deletions(-)
delete mode 100644 package/openssh/0001-configure-ac-detect-mips-abi.patch
rename package/openssh/{0003-fix-pam-uclibc-pthreads-clash.patch => 0001-fix-pam-uclibc-pthreads-clash.patch} (100%)
delete mode 100644 package/openssh/0002-configure-ac-properly-set-seccomp-audit-arch-for-mips64.patch
rename package/openssh/{0004-fix-howmany-include.patch => 0002-fix-howmany-include.patch} (100%)
delete mode 100644 package/openssh/0005-openbsd-compat-bsd-getpagesize.c-include-includes.h-.patchpackage/openssh/0001-configure-ac-detect-mips-abi.patch deleted +0 -44
@@ -1,44 +0,0 @@ -From f4fcd8c788a4854d4ebae400cf55e3957f906835 Mon Sep 17 00:00:00 2001 -From: Vicente Olivert Riera <[email protected]> -Date: Tue, 20 Jun 2017 16:42:11 +0100 -Subject: [PATCH] configure.ac: detect MIPS ABI - -Signed-off-by: Vicente Olivert Riera <[email protected]> -[Upstream commit: ttps://github.com/openssh/openssh-portable/commit/f4fcd8c788a4854d4ebae400cf55e3957f906835] -Signed-off-by: Thomas Petazzoni <[email protected]> ---- - configure.ac | 21 +++++++++++++++++++++ - 1 file changed, 21 insertions(+) - -diff --git a/configure.ac b/configure.ac -index 18079acba..f990cfe08 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -746,6 +746,27 @@ main() { if (NSVersionOfRunTimeLibrary("System") >= (60 << 16)) - fi - AC_CHECK_HEADERS([linux/seccomp.h linux/filter.h linux/audit.h], [], - [], [#include <linux/types.h>]) -+ # Obtain MIPS ABI -+ case "$host" in -+ mips*) -+ AC_COMPILE_IFELSE([ -+#if _MIPS_SIM != _ABIO32 -+#error -+#endif -+ ],[mips_abi="o32"],[AC_COMPILE_IFELSE([ -+#if _MIPS_SIM != _ABIN32 -+#error -+#endif -+ ],[mips_abi="n32"],[AC_COMPILE_IFELSE([ -+#if _MIPS_SIM != _ABI64 -+#error -+#endif -+ ],[mips_abi="n64"],[AC_MSG_ERROR([unknown MIPS ABI]) -+ ]) -+ ]) -+ ]) -+ ;; -+ esac - AC_MSG_CHECKING([for seccomp architecture]) - seccomp_audit_arch= - case "$host" in
package/openssh/0001-fix-pam-uclibc-pthreads-clash.patch renamed from package/openssh/0003-fix-pam-uclibc-pthreads-clash.patch +0 -0
package/openssh/0002-configure-ac-properly-set-seccomp-audit-arch-for-mips64.patch deleted +0 -63
63 lines not on this page · raw message
package/openssh/0002-fix-howmany-include.patch renamed from package/openssh/0004-fix-howmany-include.patch +0 -0
package/openssh/0005-openbsd-compat-bsd-getpagesize.c-include-includes.h-.patch deleted +0 -35
@@ -1,35 +0,0 @@ -From 9a43657a3dcb868b4f36ade3aba5dcf0871fb412 Mon Sep 17 00:00:00 2001 -From: Peter Korsgaard <[email protected]> -Date: Mon, 30 Oct 2017 23:36:56 +0100 -Subject: [PATCH] openbsd-compat/bsd-getpagesize.c: include includes.h for - config.h defines - -The configure script checks for getpagesize() and sets HAVE_GETPAGESIZE in -config.h, but bsd-getpagesize.c forgot to include includes.h (which -indirectly includes config.h) so the checks always fails, causing linker -issues when linking statically on systems with getpagesize(): - -http://autobuild.buildroot.net/results/8cc/8cc30818a400c7a392a3de787cabc9cd8425495f/build-end.log - -Fix it by including includes.h - -Signed-off-by: Peter Korsgaard <[email protected]> ---- - openbsd-compat/bsd-getpagesize.c | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/openbsd-compat/bsd-getpagesize.c b/openbsd-compat/bsd-getpagesize.c -index 9daddfbd..416a8d4c 100644 ---- a/openbsd-compat/bsd-getpagesize.c -+++ b/openbsd-compat/bsd-getpagesize.c -@@ -1,5 +1,7 @@ - /* Placed in the public domain */ - -+#include "includes.h" -+ - #ifndef HAVE_GETPAGESIZE - - #include <unistd.h> --- -2.11.0 -
package/openssh/openssh.hash +2 -2
@@ -1,4 +1,4 @@ -# From http://www.openssh.com/txt/release-7.6 (base64 encoded) -sha256 a323caeeddfe145baaa0db16e98d784b1fbc7dd436a6bf1f479dfd5cd1d21723 openssh-7.6p1.tar.gz +# From http://www.openssh.com/txt/release-7.7 (base64 encoded) +sha256 d73be7e684e99efcd024be15a30bffcbe41b012b2f7b3c9084aed621775e6b8f openssh-7.7p1.tar.gz # Locally calculated sha256 05a4c25ef464e19656c5259bd4f4da8428efab01044f3541b79fbb3ff209350f LICENCE
package/openssh/openssh.mk +1 -5
@@ -4,14 +4,10 @@ # ################################################################################ -OPENSSH_VERSION = 7.6p1 +OPENSSH_VERSION = 7.7p1 OPENSSH_SITE = http://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable OPENSSH_LICENSE = BSD-3-Clause, BSD-2-Clause, Public Domain OPENSSH_LICENSE_FILES = LICENCE -# Autoreconf needed due to the following patches modifying configure.ac: -# 0001-configure-ac-detect-mips-abi.patch -# 0002-configure-ac-properly-set-seccomp-audit-arch-for-mips64.patch -OPENSSH_AUTORECONF = YES OPENSSH_CONF_ENV = LD="$(TARGET_CC)" LDFLAGS="$(TARGET_CFLAGS)" OPENSSH_CONF_OPTS = \ --sysconfdir=/etc/ssh \
Signature · 1 line
2.16.3
Thomas Petazzoni
AppliedPATCH 1/1 openssh: bump to version 7.7p1
Hello,
Quoted 17 lines · Baruch Siach
Drop upstream patches, renumber the rest.
Signed-off-by Baruch Siach <[email protected]>--- .../0001-configure-ac-detect-mips-abi.patch | 44 --------------- ...ch => 0001-fix-pam-uclibc-pthreads-clash.patch} | 0 ...roperly-set-seccomp-audit-arch-for-mips64.patch | 63 ---------------------- ...nclude.patch => 0002-fix-howmany-include.patch} | 0 ...pat-bsd-getpagesize.c-include-includes.h-.patch | 35 ------------ package/openssh/openssh.hash | 4 +- package/openssh/openssh.mk | 6 +-- 7 files changed, 3 insertions(+), 149 deletions(-) delete mode 100644 package/openssh/0001-configure-ac-detect-mips-abi.patch rename package/openssh/{0003-fix-pam-uclibc-pthreads-clash.patch => 0001-fix-pam-uclibc-pthreads-clash.patch} (100%) delete mode 100644 package/openssh/0002-configure-ac-properly-set-seccomp-audit-arch-for-mips64.patch rename package/openssh/{0004-fix-howmany-include.patch => 0002-fix-howmany-include.patch} (100%) delete mode 100644 package/openssh/0005-openbsd-compat-bsd-getpagesize.c-include-includes.h-.patch
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com
PATCH 1/1 openssh: bump to version 7.7p1
In reply to Baruch SiachQuoted 4 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Baruch" == Baruch Siach <[email protected]> writes:
Drop upstream patches, renumber the rest.
Signed-off-by Baruch Siach <[email protected]>
Committed to 2018.02.x, thanks.
Signature · 1 line
Bye, Peter Korsgaard