1
0
mirror of https://github.com/openbsd/src.git synced 2026-04-30 00:56:33 +00:00

Stop installing the "leap-second" zoneinfo files in share/zoneinfo/right

(and the second copy of the "normal" files in share/zoneinfo/posix).

The way these files are supposed to work is that you set the system
clock to the time with leap-seconds included (UTC+leap, or TAI-10) and
copy the entire "right" set of files to the main zoneinfo directory
(upstream provides them as parallel directories to encourage this).

And everyone else sets the system clock to UTC and uses the "posix" files.

https://data.iana.org/time-zones/theory.html#leapsec

We don't have much support for a non-UTC system clock, and these files
have been seen to cause some confusion.

kettenis@ says "Software that really cares probably has its own leap-
second table and will actually rely on the POSIX definition of time_t to
convert times into human readable form."

ok deraadt naddy millert
This commit is contained in:
sthen
2019-11-07 16:25:05 +00:00
parent c3c35d86c3
commit 26f4f05d1b

View File

@@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.13 2019/01/22 05:44:40 tb Exp $
# $OpenBSD: Makefile,v 1.14 2019/11/07 16:25:05 sthen Exp $
# $NetBSD: Makefile,v 1.14 1995/04/22 12:10:17 cgd Exp $
# Change the line below for your time zone (after finding the zone you want in
@@ -36,7 +36,7 @@ TZDIR= ${DESTDIR}/usr/share/zoneinfo
# REDO= right_posix
# below.
REDO= posix_right
REDO= posix_only
# Since "." may not be in PATH...
YEARISTYPE= ${.CURDIR}/datfiles/yearistype.sh