mirror of
https://github.com/openwrt/packages.git
synced 2025-12-22 01:44:32 +04:00
openssh: bump to 9.8p1
Release notes: https://www.openssh.com/txt/release-9.8
* 9.8p1 fixes CVE-2024-6387
* Adjusted Makefile to provide /usr/lib/sshd-session
* Given the troubles with -fzero-call-used-regs and all the
broken checks, makes sense to skip it
Build system: x86/64
Build-tested: x86/64/AMD Cezanne
Run-tested: x86/64/AMD Cezanne
Signed-off-by: John Audia <therealgraysky@proton.me>
(cherry picked from commit 75674f0439)
This commit is contained in:
@@ -8,13 +8,13 @@
|
|||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=openssh
|
PKG_NAME:=openssh
|
||||||
PKG_VERSION:=9.7p1
|
PKG_VERSION:=9.8p1
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=1
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=https://cdn.openbsd.org/pub/OpenBSD/OpenSSH/portable/ \
|
PKG_SOURCE_URL:=https://cdn.openbsd.org/pub/OpenBSD/OpenSSH/portable/ \
|
||||||
https://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/
|
https://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/
|
||||||
PKG_HASH:=490426f766d82a2763fcacd8d83ea3d70798750c7bd2aff2e57dc5660f773ffd
|
PKG_HASH:=dd8bd002a379b5d499dfb050dd1fa9af8029e80461f4bb6c523c49973f5a39f3
|
||||||
|
|
||||||
PKG_LICENSE:=BSD ISC
|
PKG_LICENSE:=BSD ISC
|
||||||
PKG_LICENSE_FILES:=LICENCE
|
PKG_LICENSE_FILES:=LICENCE
|
||||||
@@ -179,7 +179,8 @@ CONFIGURE_ARGS += \
|
|||||||
--without-kerberos5 \
|
--without-kerberos5 \
|
||||||
--with-stackprotect \
|
--with-stackprotect \
|
||||||
--with$(if $(CONFIG_OPENSSL_ENGINE),,out)-ssl-engine \
|
--with$(if $(CONFIG_OPENSSL_ENGINE),,out)-ssl-engine \
|
||||||
--with$(if $(CONFIG_OPENSSH_LIBFIDO2),,out)-security-key-builtin
|
--with$(if $(CONFIG_OPENSSH_LIBFIDO2),,out)-security-key-builtin \
|
||||||
|
--with-cflags-after=-fzero-call-used-regs=skip
|
||||||
|
|
||||||
ifeq ($(BUILD_VARIANT),with-pam)
|
ifeq ($(BUILD_VARIANT),with-pam)
|
||||||
CONFIGURE_ARGS += \
|
CONFIGURE_ARGS += \
|
||||||
@@ -235,6 +236,8 @@ define Package/openssh-server/install
|
|||||||
$(INSTALL_BIN) ./files/sshd.failsafe $(1)/lib/preinit/99_10_failsafe_sshd
|
$(INSTALL_BIN) ./files/sshd.failsafe $(1)/lib/preinit/99_10_failsafe_sshd
|
||||||
$(INSTALL_DIR) $(1)/usr/sbin
|
$(INSTALL_DIR) $(1)/usr/sbin
|
||||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/sshd $(1)/usr/sbin/
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/sshd $(1)/usr/sbin/
|
||||||
|
$(INSTALL_DIR) $(1)/usr/lib
|
||||||
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/sshd-session $(1)/usr/lib/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/openssh-server-pam/install
|
define Package/openssh-server-pam/install
|
||||||
|
|||||||
Reference in New Issue
Block a user