[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/02: gnu: libssh: Fetch the source code more efficiently.
From: |
Ludovic Court�s |
Subject: |
01/02: gnu: libssh: Fetch the source code more efficiently. |
Date: |
Tue, 23 Oct 2018 17:58:46 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 12995856e2fe31dfbc5cf97aa0d2c6c128aa7c81
Author: Leo Famulari <address@hidden>
Date: Mon Oct 22 13:00:55 2018 -0400
gnu: libssh: Fetch the source code more efficiently.
* gnu/packages/ssh.scm (libssh)[source]: Use the git:// protocol.
Signed-off-by: Ludovic Courtès <address@hidden>
---
gnu/packages/ssh.scm | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/ssh.scm b/gnu/packages/ssh.scm
index e806fc8..b93cb03 100644
--- a/gnu/packages/ssh.scm
+++ b/gnu/packages/ssh.scm
@@ -71,8 +71,14 @@
(source (origin
(method git-fetch)
(uri (git-reference
- (url "https://git.libssh.org/projects/libssh.git";)
- (commit (string-append "libssh-" version))))
+ ;; git.libssh.org does not support the fast "smart" HTTP
+ ;; Git protocol. The "dumb" HTTP Git protocol is extremely
+ ;; slow, and does not support shallow clones, so we use
the
+ ;; plain Git protocol despite its flaws. This offers an
+ ;; incredible speedup and reduces the size of the the
+ ;; source by more than half.
+ (url "git://git.libssh.org/projects/libssh.git")
+ (commit (string-append "libssh-" version))))
(patches (search-patches "libssh-hostname-parser-bug.patch"))
(sha256
(base32