summary refs log tree commit diff
diff options
context:
space:
mode:
authorLeo Famulari <leo@famulari.name>2021-09-03 12:54:55 -0400
committerLeo Famulari <leo@famulari.name>2021-09-03 14:42:02 -0400
commit49bb544b77c7dcd7d2a1bade00fb0844a2e8f7ee (patch)
tree9f4b4cedbcf429fe19490db8508aa8b24125a2c4
parent3b748152ac45d7903882e8f03098f0f754ee7a85 (diff)
downloadguix-49bb544b77c7dcd7d2a1bade00fb0844a2e8f7ee.tar.gz
gnu: libssh: Update to 0.9.6 [fixes CVE-2021-3634].
* gnu/packages/ssh.scm (libssh): Update to 0.9.6.
[source]: Use URL-FETCH.
-rw-r--r--gnu/packages/ssh.scm13
1 files changed, 6 insertions, 7 deletions
diff --git a/gnu/packages/ssh.scm b/gnu/packages/ssh.scm
index 854dd19067..0e55c23f35 100644
--- a/gnu/packages/ssh.scm
+++ b/gnu/packages/ssh.scm
@@ -127,16 +127,15 @@ file names.
 (define-public libssh
   (package
     (name "libssh")
-    (version "0.9.5")
+    (version "0.9.6")
     (source (origin
-              (method git-fetch)
-              (uri (git-reference
-                     (url "https://git.libssh.org/projects/libssh.git")
-                     (commit (string-append "libssh-" version))))
+              (method url-fetch)
+              (uri (string-append "https://www.libssh.org/files/"
+                                  (version-major+minor version)
+                                  "/libssh-" version ".tar.xz"))
               (sha256
                (base32
-                "1b2klflmn0mdkcyjl4dqfg116bf9nhmqm4qla5cqa9xis89a5bn6"))
-              (file-name (git-file-name name version))))
+                "16w2mc7pyv9mijjlgacbz8dgczc7ig2m6m70w1pld04vpn2zig46"))))
     (build-system cmake-build-system)
     (outputs '("out" "debug"))
     (arguments