[PATCH] gnu: mosh: Update to 1.4.0.

  • Done
  • quality assurance status badge
Details
2 participants
  • Hilton Chain
  • Ludovic Courtès
Owner
unassigned
Submitted by
Hilton Chain
Severity
normal
H
H
Hilton Chain wrote on 28 Oct 2022 07:22
(address . guix-patches@gnu.org)
y76eduscykh.wl-hako@ultrarare.space
* gnu/packages/ssh.scm (mosh): Update to 1.4.0.
---
gnu/packages/ssh.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (24 lines)
diff --git a/gnu/packages/ssh.scm b/gnu/packages/ssh.scm
index 6a3779ee55..441cbaedc5 100644
--- a/gnu/packages/ssh.scm
+++ b/gnu/packages/ssh.scm
@@ -461,13 +461,13 @@ (define-public corkscrew
(define-public mosh
(package
(name "mosh")
- (version "1.3.2")
+ (version "1.4.0")
(source (origin
(method url-fetch)
(uri (string-append "https://mosh.org/mosh-" version ".tar.gz"))
(sha256
(base32
- "05hjhlp6lk8yjcy59zywpf0r6s0h0b9zxq0lw66dh9x8vxrhaq6s"))))
+ "0pxrpg74xn5cwpviwz1cwc0xni8blyw04ncd9ffga4m0n2rcjgnr"))))
(build-system gnu-build-system)
(arguments
'(#:phases

base-commit: 3511ad28575cac04b3f2e7dae00042690192cbd2
--
2.38.0
H
H
Hilton Chain wrote on 29 Oct 2022 16:02
[PATCH v2] gnu: mosh: Update to 1.4.0.
(address . 58829@debbugs.gnu.org)
y76sfj6pw1k.wl-hako@ultrarare.space
* gnu/packages/ssh.scm (mosh): Update to 1.4.0.
[source]: Switch to GitHub source.
---
gnu/packages/ssh.scm | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)

Toggle diff (27 lines)
diff --git a/gnu/packages/ssh.scm b/gnu/packages/ssh.scm
index 6a3779ee55..a7014d38b9 100644
--- a/gnu/packages/ssh.scm
+++ b/gnu/packages/ssh.scm
@@ -461,13 +461,15 @@ (define-public corkscrew
(define-public mosh
(package
(name "mosh")
- (version "1.3.2")
+ (version "1.4.0")
(source (origin
(method url-fetch)
- (uri (string-append "https://mosh.org/mosh-" version ".tar.gz"))
+ (uri (string-append "https://github.com/mobile-shell/mosh"
+ "/releases/download/mosh-" version
+ "/mosh-" version ".tar.gz"))
(sha256
(base32
- "05hjhlp6lk8yjcy59zywpf0r6s0h0b9zxq0lw66dh9x8vxrhaq6s"))))
+ "0pxrpg74xn5cwpviwz1cwc0xni8blyw04ncd9ffga4m0n2rcjgnr"))))
(build-system gnu-build-system)
(arguments
'(#:phases

base-commit: 7d9243432613a9574599cd41bcbefa5819e30e3f
--
2.38.0
L
L
Ludovic Courtès wrote on 14 Nov 2022 12:26
Re: bug#58829: [PATCH] gnu: mosh: Update to 1.4.0.
(name . Hilton Chain)(address . hako@ultrarare.space)(address . 58829@debbugs.gnu.org)
87zgctpyit.fsf_-_@gnu.org
Hi,

Hilton Chain <hako@ultrarare.space> skribis:

Toggle quote (3 lines)
> * gnu/packages/ssh.scm (mosh): Update to 1.4.0.
> [source]: Switch to GitHub source.

Both patches yield a hash mismatch; this is what I get for the second
one:

Toggle snippet (13 lines)
building /gnu/store/p4wnyqwpxfhvnarl6jd9ca3yp0dz6sx8-mosh-1.4.0.tar.gz.drv...

Starting download of /gnu/store/80q7zppywz2xbbc7hznbqp5vh0bgbbvz-mosh-1.4.0.tar.gz
From https://github.com/mobile-shell/mosh/releases/download/mosh-1.4.0/mosh-1.4.0.tar.gz...
following redirection to `https://objects.githubusercontent.com/github-production-release-asset-2e65be/1234783/ab5510da-ce1d-4a49-ba34-0eee2f83eb39?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20221114%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20221114T112245Z&X-Amz-Expires=300&X-Amz-Signature=4e8538a1e72f39d1619cea472a3d528007608b655ec356df5243e2e300302c69&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=1234783&response-content-disposition=attachment%3B%20filename%3Dmosh-1.4.0.tar.gz&response-content-type=application%2Foctet-stream'...
downloading from https://github.com/mobile-shell/mosh/releases/download/mosh-1.4.0/mosh-1.4.0.tar.gz ...
mosh-1.4.0.tar.gz 384KiB 7.2MiB/s 00:00 [##################] 100.0%
sha256 hash mismatch for /gnu/store/80q7zppywz2xbbc7hznbqp5vh0bgbbvz-mosh-1.4.0.tar.gz:
expected hash: 0pxrpg74xn5cwpviwz1cwc0xni8blyw04ncd9ffga4m0n2rcjgnr
actual hash: 1pax8sqlvcc7ammsxd9r53yx4m2hg1827wfz6f4rrwjx9q9lnbl7
hash mismatch for store item '/gnu/store/80q7zppywz2xbbc7hznbqp5vh0bgbbvz-mosh-1.4.0.tar.gz'

and for the first one:

Toggle snippet (8 lines)
downloading from https://mosh.org/mosh-1.4.0.tar.gz ...
mosh-1.4.0.tar.gz 384KiB 2.2MiB/s 00:00 [##################] 100.0%
sha256 hash mismatch for /gnu/store/80q7zppywz2xbbc7hznbqp5vh0bgbbvz-mosh-1.4.0.tar.gz:
expected hash: 0pxrpg74xn5cwpviwz1cwc0xni8blyw04ncd9ffga4m0n2rcjgnr
actual hash: 1pax8sqlvcc7ammsxd9r53yx4m2hg1827wfz6f4rrwjx9q9lnbl7
hash mismatch for store item '/gnu/store/80q7zppywz2xbbc7hznbqp5vh0bgbbvz-mosh-1.4.0.tar.gz'

So it looks like they’ve been updated in place.

Could you check what happened and submit an updated patch?

Thanks,
Ludo’.
H
H
Hilton Chain wrote on 14 Nov 2022 16:45
[PATCH v3] gnu: mosh: Update to 1.4.0.
(name . Ludovic Courtès)(address . ludo@gnu.org)(address . 58829@debbugs.gnu.org)
y76mt8t1qwl.wl-hako@ultrarare.space
* gnu/packages/ssh.scm (mosh): Update to 1.4.0.
---
v2 -> v3: Hash changed, switch back to offical site source.

When I was sending v1, they hadn't put 1.4.0 on their website yet, that's why v2 is about switching
to GitHub source.

From the GitHub release page, the original source was released 19 days ago by github-actions, and
the tarball currently visible was uploaded 5 days later, this file is the same one released on the
offical site.

gnu/packages/ssh.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (24 lines)
diff --git a/gnu/packages/ssh.scm b/gnu/packages/ssh.scm
index 6a3779ee55..4f8be760bf 100644
--- a/gnu/packages/ssh.scm
+++ b/gnu/packages/ssh.scm
@@ -461,13 +461,13 @@ (define-public corkscrew
(define-public mosh
(package
(name "mosh")
- (version "1.3.2")
+ (version "1.4.0")
(source (origin
(method url-fetch)
(uri (string-append "https://mosh.org/mosh-" version ".tar.gz"))
(sha256
(base32
- "05hjhlp6lk8yjcy59zywpf0r6s0h0b9zxq0lw66dh9x8vxrhaq6s"))))
+ "1pax8sqlvcc7ammsxd9r53yx4m2hg1827wfz6f4rrwjx9q9lnbl7"))))
(build-system gnu-build-system)
(arguments
'(#:phases

base-commit: f572de77c4fda3347bea16b4c86d630b193291dc
--
2.38.1
L
L
Ludovic Courtès wrote on 17 Nov 2022 18:14
(name . Hilton Chain)(address . hako@ultrarare.space)(address . 58829-done@debbugs.gnu.org)
87fsehh5a8.fsf@gnu.org
Hi,

Hilton Chain <hako@ultrarare.space> skribis:

Toggle quote (11 lines)
> * gnu/packages/ssh.scm (mosh): Update to 1.4.0.
> ---
> v2 -> v3: Hash changed, switch back to offical site source.
>
> When I was sending v1, they hadn't put 1.4.0 on their website yet, that's why v2 is about switching
> to GitHub source.
>
> From the GitHub release page, the original source was released 19 days ago by github-actions, and
> the tarball currently visible was uploaded 5 days later, this file is the same one released on the
> offical site.

I see. Applied, thanks for explaining!

Ludo’.
Closed
?