diff options
| author | Efraim Flashner <efraim@flashner.co.il> | 2025-09-09 09:49:31 +0300 |
|---|---|---|
| committer | Efraim Flashner <efraim@flashner.co.il> | 2025-09-09 10:31:34 +0300 |
| commit | 574c9f23e8a8db111588f6127c265efea643d032 (patch) | |
| tree | 39d22bd24518ab53a0c58c9320aabf525e0a6912 /gnu/packages/ntp.scm | |
| parent | 92c95f0a94c9fa19d3945bf0384affdd845a4828 (diff) | |
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
Diffstat (limited to 'gnu/packages/ntp.scm')
| -rw-r--r-- | gnu/packages/ntp.scm | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gnu/packages/ntp.scm b/gnu/packages/ntp.scm index 7e83f151d46..a256be9d588 100644 --- a/gnu/packages/ntp.scm +++ b/gnu/packages/ntp.scm @@ -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 |
