gnu: ntp: Add HTTPS URL.

This works around an HTTP -> HTTPS redirection.

* gnu/packages/ntp.scm (ntp)[source]: Add HTTPS URL.
This commit is contained in:
Leo Famulari 2016-06-03 16:56:44 -04:00
parent 71cb237a7d
commit 620ce2ef23
No known key found for this signature in database
GPG Key ID: 2646FA30BACA7F08
1 changed files with 8 additions and 4 deletions

View File

@ -42,10 +42,14 @@
(version "4.2.8p7") (version "4.2.8p7")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append (uri (list (string-append
"http://archive.ntp.org/ntp4/ntp-" "http://archive.ntp.org/ntp4/ntp-"
(version-major+minor version) (version-major+minor version)
"/ntp-" version ".tar.gz")) "/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 (sha256
(base32 (base32
"1p100856h17nb0kpnppy70nja57hbcc95h7shhxvw6mhl030rll1")) "1p100856h17nb0kpnppy70nja57hbcc95h7shhxvw6mhl030rll1"))