From ca2baf10bad8433e92d7dde6629946f54043d63f Mon Sep 17 00:00:00 2001 From: Nikita Karetnikov Date: Sat, 12 Apr 2014 16:18:45 +0400 Subject: openssh: Add another mirror. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/ssh.scm (openssh): Add the mirror. Signed-off-by: Ludovic Courtès --- gnu/packages/ssh.scm | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/gnu/packages/ssh.scm b/gnu/packages/ssh.scm index 7d95ff0579..51e1990168 100644 --- a/gnu/packages/ssh.scm +++ b/gnu/packages/ssh.scm @@ -145,9 +145,11 @@ (define-public openssh (version "6.6p1") (source (origin (method url-fetch) - (uri (string-append - "ftp://ftp.fr.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-" - version ".tar.gz")) + (uri (let ((tail (string-append name "-" version ".tar.gz"))) + (list (string-append "ftp://ftp.fr.openbsd.org/pub/OpenBSD/OpenSSH/portable/" + tail) + (string-append "ftp://ftp2.fr.openbsd.org/pub/OpenBSD/OpenSSH/portable/" + tail)))) (sha256 (base32 "1fq3w86q05y5nn6z878wm312k0svaprw8k007188fd259dkg1ha8")))) (build-system gnu-build-system) -- cgit v1.2.3