1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-06-12 15:04:05 +02:00

gnu: ntp: Update leap-seconds list URI.

* gnu/packages/ntp.scm (ntp)[arguments]: Add a phase to update the
location of the leap-seconds list.

Change-Id: I7e97f4d97391a785bc53db1e3e883a55326c4fc5
This commit is contained in:
Efraim Flashner
2025-09-09 09:49:31 +03:00
parent 92c95f0a94
commit 574c9f23e8
+8 -1
View File
@@ -190,7 +190,14 @@ time-stamping or reference clock, sub-microsecond accuracy is possible.")
(lambda _
(substitute* "tests/libntp/Makefile.in"
(("test-decodenetnum\\$\\(EXEEXT\\) ")
"")))))))
""))))
(add-after 'unpack 'update-leap-file-source
;; Follow the text redirect from the IETF.
(lambda _
(substitute* '("scripts/update-leap/invoke-update-leap.texi"
"scripts/update-leap/update-leap.in")
(("https://www.ietf.org/timezones/data/leap-seconds.list")
"https://data.iana.org/time-zones/data/leap-seconds.list")))))))
(build-system gnu-build-system)
(synopsis "Real time clock synchronization system")
(description "NTP is a system designed to synchronize the clocks of