git: 13f9c4addb6e - stable/14 - rc.conf: Leap-seconds sources: Add IANA back

From: Cy Schubert <cy_at_FreeBSD.org>
Date: Mon, 22 Jul 2024 02:36:40 UTC
The branch stable/14 has been updated by cy:

URL: https://cgit.FreeBSD.org/src/commit/?id=13f9c4addb6ed36221d89e61194ea9fe5f8f3aaf

commit 13f9c4addb6ed36221d89e61194ea9fe5f8f3aaf
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2024-07-19 18:04:43 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2024-07-22 02:36:30 +0000

    rc.conf: Leap-seconds sources: Add IANA back
    
    11da791920ba switched Leap-seconds source from IANA to IERS, as IERS
    is the canonoical source. The problem ist that IERS is not accessible
    from IPv6 only networks. To work around this we must add IANA back in
    order to provide IPv6-only users a source for leap-seconds fetch.
    
    PR:             279413
    Fixes:          11da791920ba
    
    (cherry picked from commit 66f360515d2829d261c0ad7bd516e9dd18c2dd83)
---
 libexec/rc/rc.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libexec/rc/rc.conf b/libexec/rc/rc.conf
index a7b149bb0cd4..5073718e91f4 100644
--- a/libexec/rc/rc.conf
+++ b/libexec/rc/rc.conf
@@ -424,7 +424,7 @@ ntp_src_leapfile="/etc/ntp/leap-seconds"
 				# Initial source for ntpd leapfile
 ntp_db_leapfile="/var/db/ntpd.leap-seconds.list"
 				# Canonical place to get the leap seconds from
-ntp_leapfile_sources="https://hpiers.obspm.fr/iers/bul/bulc/ntp/leap-seconds.list"
+ntp_leapfile_sources="https://hpiers.obspm.fr/iers/bul/bulc/ntp/leap-seconds.list https://data.iana.org/time-zones/tzdb/leap-seconds.list"
 				# Source from which to fetch leapfile
 ntp_leapfile_fetch_opts="-mq"	# Options to use for ntp leapfile fetch,
 				# e.g. --no-verify-peer