gnu: libssh: Fetch the source code more efficiently.
* gnu/packages/ssh.scm (libssh)[source]: Use the git:// protocol. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
b55697fbb4
commit
12995856e2
|
@ -71,8 +71,14 @@
|
||||||
(source (origin
|
(source (origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
(url "https://git.libssh.org/projects/libssh.git")
|
;; git.libssh.org does not support the fast "smart" HTTP
|
||||||
(commit (string-append "libssh-" version))))
|
;; 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"))
|
(patches (search-patches "libssh-hostname-parser-bug.patch"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
|
|
Loading…
Reference in New Issue