mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 05:48:07 -05:00
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:
parent
71cb237a7d
commit
620ce2ef23
1 changed files with 8 additions and 4 deletions
|
@ -42,10 +42,14 @@ (define-public ntp
|
||||||
(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"))
|
||||||
|
|
Loading…
Reference in a new issue