lfam pushed a commit to branch master
in repository guix.

commit 620ce2ef23326c40cd907f564483d133b0bedd07
Author: Leo Famulari <[email protected]>
Date:   Fri Jun 3 16:56:44 2016 -0400

    gnu: ntp: Add HTTPS URL.
    
    This works around an HTTP -> HTTPS redirection.
    
    * gnu/packages/ntp.scm (ntp)[source]: Add HTTPS URL.
---
 gnu/packages/ntp.scm |   12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/ntp.scm b/gnu/packages/ntp.scm
index 4ae2545..8b4f53d 100644
--- a/gnu/packages/ntp.scm
+++ b/gnu/packages/ntp.scm
@@ -42,10 +42,14 @@
    (version "4.2.8p7")
    (source (origin
            (method url-fetch)
-           (uri (string-append
-                  "http://archive.ntp.org/ntp4/ntp-";
-                  (version-major+minor version)
-                  "/ntp-" version ".tar.gz"))
+           (uri (list (string-append
+                         "http://archive.ntp.org/ntp4/ntp-";
+                         (version-major+minor version)
+                         "/ntp-" version ".tar.gz")
+                       (string-append
+                         "https://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-";
+                         (version-major+minor version)
+                         "/ntp-" version ".tar.gz")))
            (sha256
             (base32
               "1p100856h17nb0kpnppy70nja57hbcc95h7shhxvw6mhl030rll1"))

Reply via email to