summaryrefslogtreecommitdiffstats
path: root/share/zoneinfo/Makefile
diff options
context:
space:
mode:
authorsthen <sthen@openbsd.org>2019-11-07 16:25:05 +0000
committersthen <sthen@openbsd.org>2019-11-07 16:25:05 +0000
commit26f4f05d1b09434243ab51baf8f2f3201bafb34a (patch)
treee0dc8fc1dc5e43816460a4e469e5512c5dfac962 /share/zoneinfo/Makefile
parentzap CDROM_ONLY (diff)
downloadwireguard-openbsd-26f4f05d1b09434243ab51baf8f2f3201bafb34a.tar.xz
wireguard-openbsd-26f4f05d1b09434243ab51baf8f2f3201bafb34a.zip
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