summaryrefslogtreecommitdiff
path: root/share/zoneinfo/Makefile
diff options
context:
space:
mode:
authorStuart Henderson <sthen@cvs.openbsd.org>2019-11-07 16:25:06 +0000
committerStuart Henderson <sthen@cvs.openbsd.org>2019-11-07 16:25:06 +0000
commit72b6c6bf657a0e75e2b56289cb9f8a86fedad9ed (patch)
treed150d18752002dff14dfca5e978a6ee1a68e5a2e /share/zoneinfo/Makefile
parent950c91b342543819b1c57782eb9e6c0086e3ab99 (diff)
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
Diffstat (limited to 'share/zoneinfo/Makefile')
-rw-r--r--share/zoneinfo/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/zoneinfo/Makefile b/share/zoneinfo/Makefile
index 8646cb97a5f..3fabde8c044 100644
--- a/share/zoneinfo/Makefile
+++ b/share/zoneinfo/Makefile
@@ -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