Github messages for voidlinux
 help / color / mirror / Atom feed
From: sgn <sgn@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] openssh: update to 9.2p1.
Date: Fri, 03 Feb 2023 03:08:53 +0100	[thread overview]
Message-ID: <20230203020853.vM-xFctx_8Uub9B_X6BXrTxZicYAjxVtaQ67BZaIwjg@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-42036@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 489 bytes --]

There is an updated pull request by sgn against master on the void-packages repository

https://github.com/leahneukirchen/void-packages openssh92
https://github.com/void-linux/void-packages/pull/42036

openssh: update to 9.2p1.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **NO**


Please test!

A patch file from https://github.com/void-linux/void-packages/pull/42036.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-openssh92-42036.patch --]
[-- Type: text/x-diff, Size: 4593 bytes --]

From f555a0c87d19413e61422e814b361f80b3912dca Mon Sep 17 00:00:00 2001
From: Leah Neukirchen <leah@vuxu.org>
Date: Thu, 2 Feb 2023 16:57:27 +0100
Subject: [PATCH 1/4] openssh: update to 9.2p1.

---
 srcpkgs/openssh/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/openssh/template b/srcpkgs/openssh/template
index 2eb9f32405e6..3adadcdbac33 100644
--- a/srcpkgs/openssh/template
+++ b/srcpkgs/openssh/template
@@ -1,7 +1,7 @@
 # Template file for 'openssh'
 pkgname=openssh
-version=9.1p1
-revision=2
+version=9.2p1
+revision=1
 build_style=gnu-configure
 configure_args="--datadir=/usr/share/openssh
  --sysconfdir=/etc/ssh --without-selinux --with-privsep-user=nobody
@@ -23,7 +23,7 @@ maintainer="Leah Neukirchen <leah@vuxu.org>"
 license="BSD-2-Clause, ISC"
 homepage="https://www.openssh.com"
 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"
 make_dirs="/var/chroot/ssh 0755 root root"
 

From 3dd7bad8f8c21c795e7083a2f20281f685d4719f Mon Sep 17 00:00:00 2001
From: Leah Neukirchen <leah@vuxu.org>
Date: Thu, 2 Feb 2023 16:57:38 +0100
Subject: [PATCH 2/4] gnome-ssh-askpass: update to 9.2p1.

---
 srcpkgs/gnome-ssh-askpass/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/gnome-ssh-askpass/template b/srcpkgs/gnome-ssh-askpass/template
index 8b47bd4ca8cb..389516822702 100644
--- a/srcpkgs/gnome-ssh-askpass/template
+++ b/srcpkgs/gnome-ssh-askpass/template
@@ -1,6 +1,6 @@
 # Template file for 'gnome-ssh-askpass'
 pkgname=gnome-ssh-askpass
-version=9.1p1
+version=9.2p1
 revision=1
 build_wrksrc="contrib"
 build_style=gnu-makefile
@@ -12,7 +12,7 @@ maintainer="Leah Neukirchen <leah@vuxu.org>"
 license="BSD-3-Clause, BSD-2-Clause"
 homepage="http://www.openssh.org"
 distfiles="https://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-${version}.tar.gz"
-checksum=19f85009c7e3e23787f0236fbb1578392ab4d4bf9f8ec5fe6bc1cd7e8bfdd288
+checksum=3f66dbf1655fb45f50e1c56da62ab01218c228807b21338d634ebcdf9d71cf46
 
 alternatives="
  ssh-askpass:/usr/libexec/ssh-askpass:/usr/bin/gnome-ssh-askpass

From 9bca329e2c69a31463decc5c7a3f52c7b97e195b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
 <congdanhqx@gmail.com>
Date: Fri, 3 Feb 2023 08:47:33 +0700
Subject: [PATCH 3/4] openssh: patch for 32 bit time_t

---
 srcpkgs/openssh/patches/time_t-32-bit.patch | 11 +++++++++++
 1 file changed, 11 insertions(+)
 create mode 100644 srcpkgs/openssh/patches/time_t-32-bit.patch

diff --git a/srcpkgs/openssh/patches/time_t-32-bit.patch b/srcpkgs/openssh/patches/time_t-32-bit.patch
new file mode 100644
index 000000000000..31efce4ce1be
--- /dev/null
+++ b/srcpkgs/openssh/patches/time_t-32-bit.patch
@@ -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) {
++			    ((long long unsigned)now) >= c->lastused + c->inactive_deadline) {
+ 				/* channel closed for inactivity */
+ 				verbose("channel %d: closing after %u seconds "
+ 				    "of inactivity", c->self,

From 8bdbf529849b99b93e7e61d71a17ab305b4249c0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
 <congdanhqx@gmail.com>
Date: Fri, 3 Feb 2023 09:07:18 +0700
Subject: [PATCH 4/4] openssh: patch for 64-bit

---
 srcpkgs/openssh/patches/time_t-32-bit.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/openssh/patches/time_t-32-bit.patch b/srcpkgs/openssh/patches/time_t-32-bit.patch
index 31efce4ce1be..55138108b31e 100644
--- a/srcpkgs/openssh/patches/time_t-32-bit.patch
+++ b/srcpkgs/openssh/patches/time_t-32-bit.patch
@@ -5,7 +5,7 @@
  			    c->type == SSH_CHANNEL_OPEN &&
  			    c->inactive_deadline != 0 && c->lastused != 0 &&
 -			    now >= c->lastused + c->inactive_deadline) {
-+			    ((long long unsigned)now) >= c->lastused + c->inactive_deadline) {
++			    ((u_int64_t)now) >= (u_int64_t)c->lastused + c->inactive_deadline) {
  				/* channel closed for inactivity */
  				verbose("channel %d: closing after %u seconds "
  				    "of inactivity", c->self,

  parent reply	other threads:[~2023-02-03  2:08 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-02 15:58 [PR PATCH] " leahneukirchen
2023-02-02 16:14 ` leahneukirchen
2023-02-03  1:48 ` [PR PATCH] [Updated] " sgn
2023-02-03  2:08 ` sgn [this message]
2023-02-05  1:31 ` sgn
2023-02-05  3:59 ` sgn
2023-02-07 13:44 ` [PR PATCH] [Merged]: " leahneukirchen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230203020853.vM-xFctx_8Uub9B_X6BXrTxZicYAjxVtaQ67BZaIwjg@z \
    --to=sgn@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).