openssh: update to 9.2p1.

This commit is contained in:
Leah Neukirchen 2023-02-02 16:57:27 +01:00
parent fa9eba4672
commit 30aa45e97d
2 changed files with 14 additions and 3 deletions

View File

@ -0,0 +1,11 @@
--- openssh-9.2p1.orig/channels.c
+++ openssh-9.2p1/channels.c
@@ -2558,7 +2558,7 @@ channel_handler(struct ssh *ssh, int tab
if (table == CHAN_PRE &&
c->type == SSH_CHANNEL_OPEN &&
c->inactive_deadline != 0 && c->lastused != 0 &&
- now >= c->lastused + c->inactive_deadline) {
+ now >= c->lastused + (time_t)c->inactive_deadline) {
/* channel closed for inactivity */
verbose("channel %d: closing after %u seconds "
"of inactivity", c->self,

View File

@ -1,7 +1,7 @@
# Template file for 'openssh' # Template file for 'openssh'
pkgname=openssh pkgname=openssh
version=9.1p1 version=9.2p1
revision=2 revision=1
build_style=gnu-configure build_style=gnu-configure
configure_args="--datadir=/usr/share/openssh configure_args="--datadir=/usr/share/openssh
--sysconfdir=/etc/ssh --without-selinux --with-privsep-user=nobody --sysconfdir=/etc/ssh --without-selinux --with-privsep-user=nobody
@ -23,7 +23,7 @@ maintainer="Leah Neukirchen <leah@vuxu.org>"
license="BSD-2-Clause, ISC" license="BSD-2-Clause, ISC"
homepage="https://www.openssh.com" homepage="https://www.openssh.com"
distfiles="https://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/${pkgname}-${version}.tar.gz" distfiles="https://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/${pkgname}-${version}.tar.gz"
checksum=19f85009c7e3e23787f0236fbb1578392ab4d4bf9f8ec5fe6bc1cd7e8bfdd288 checksum=3f66dbf1655fb45f50e1c56da62ab01218c228807b21338d634ebcdf9d71cf46
conf_files="/etc/ssh/moduli /etc/ssh/ssh_config /etc/ssh/sshd_config /etc/pam.d/sshd" conf_files="/etc/ssh/moduli /etc/ssh/ssh_config /etc/ssh/sshd_config /etc/pam.d/sshd"
make_dirs="/var/chroot/ssh 0755 root root" make_dirs="/var/chroot/ssh 0755 root root"