How does the time zone info get updated?

Stefan Esser se at freebsd.org
Tue Jan 5 11:24:28 UTC 2021


Am 05.01.21 um 08:51 schrieb Hal Murray:> It gets distributed with the 
base packages, but I haven't figured out how to
> keep it up to date.
> 
> The info is distributed via IANA.
>    https://www.iana.org/time-zones
> 
> It gets updated several times a year.  There were 6 during 2020.  When is
> unpredictable, often shortly after some government passes a law to change
> something with short notice.
> 
> I'd expect there to be some mechanism to track the updates but I haven't found
>   it.
> 
> The tz database includes the leap-seconds.list file.  That gets updated every
> 6 months.  I'd like to get whatever FreeBSD does for time zones to include
> that file so ntpd can use it without having to be concerned with keeping it up
> to date.  That only works if the zone info is kept up to date.

We have recently moved the calendar files out of -CURRENT and into a 
port, and I could imagine providing the timezone files in the same
way (without removal from base, but from there only used as a fall-back
if the port supplied files are not available).

That way -STABLE users could update the definitions with base, but if
you strictly follow a release, you could install the port and decouple
timezone file updates from base updates ...

I'd be willing to support this change and maintain the data files, but
I can imagine that the current maintainer of those files in base might
want to do it himself.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20210105/780ecefc/attachment.sig>


More information about the freebsd-hackers mailing list