mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-27 15:45:21 +00:00
leapseconds: Update to the canonical place.
IERS is the source of truth for leap seconds. Their leapsecond file is
updated most quickly and is always right (unlike the IANA one which
often lags). IERS operates this public service for the express purpose
of random people downloading it. Their terms of service are compatible
with open source (we could include this in our release). Rather than
fighting with questions around this because the IANA one changed
locations or the auto update script broken, just use this.
This is in preference to the NIST ftp copy. NIST is in the process of
retiring their FTP services.
Sponsored by: Netflix
Reviewed by: philip, delphij, cy
Differential Revision: https://reviews.freebsd.org/D43752
(cherry picked from commit 11da791920
)
This commit is contained in:
parent
fe8df7ed1a
commit
0eea8292ae
@ -418,8 +418,8 @@ ntpd_flags="" # Additional flags to ntpd
|
|||||||
ntp_src_leapfile="/etc/ntp/leap-seconds"
|
ntp_src_leapfile="/etc/ntp/leap-seconds"
|
||||||
# Initial source for ntpd leapfile
|
# Initial source for ntpd leapfile
|
||||||
ntp_db_leapfile="/var/db/ntpd.leap-seconds.list"
|
ntp_db_leapfile="/var/db/ntpd.leap-seconds.list"
|
||||||
# Working copy (updated weekly) leapfile
|
# Canonical place to get the leap seconds from
|
||||||
ntp_leapfile_sources="https://data.iana.org/time-zones/tzdb/leap-seconds.list"
|
ntp_leapfile_sources="https://hpiers.obspm.fr/iers/bul/bulc/ntp/leap-seconds.list"
|
||||||
# Source from which to fetch leapfile
|
# Source from which to fetch leapfile
|
||||||
ntp_leapfile_fetch_opts="-mq" # Options to use for ntp leapfile fetch,
|
ntp_leapfile_fetch_opts="-mq" # Options to use for ntp leapfile fetch,
|
||||||
# e.g. --no-verify-peer
|
# e.g. --no-verify-peer
|
||||||
|
Loading…
Reference in New Issue
Block a user