Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/public-domain/tz/dist Import tzdata2016b from ftp:/...



details:   https://anonhg.NetBSD.org/src/rev/baf19915a010
branches:  trunk
changeset: 814283:baf19915a010
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Mar 15 17:10:27 2016 +0000

description:
Import tzdata2016b from ftp://ftp.iana.org/tz/releases/tzdata2016b.tar.gz

Summary of changes in tzdata2016b (2016-03-12 17:30:14 -0800):
  * New zones Europe/Astrakhan and Europe/Ulyanovsk for Astrakhan and
    Ulyanovsk Oblasts, Russia, both of which will switch from +03 to +04 on
    2016-03-27 at 02:00 local time.
  * As a trial of a new system that needs less information to be made up,
    the new zones use numeric time zone abbreviations like "+04"
    instead of invented abbreviations like "ASTT".
  * Haiti will not observe DST in 2016.
  * Palestine's spring-forward transition on 2016-03-26 is at 01:00, not 00:00.
  * Europe/Chisinau observed DST during 1990, and switched from +04 to
    +03 at 1990-05-06 02:00, instead of switching from +03 to +02.
  * 1991 abbreviations in Europe/Samara should be SAMT/SAMST, not
    KUYT/KUYST.
  * tzselect's diagnostics and checking, and checktab.awk's checking,
    have been improved.
  * tzcode now builds under MinGW.
  * tzselect now tests Julian-date TZ settings more accurately.
  * Comments in zone tables have been improved.
  * tzselect again limits its menu comments so that menus fit on a
    24x80 alphanumeric display.
  * A new web page tz-how-to.html.
  * In the Theory file, the description of possible time zone abbreviations in
    tzdata has been cleaned up, as the old description was unclear and
    inconsistent.

Summary of changes in tzdata2016a (2016-01-26 23:28:02 -0800):
  * America/Cayman will not observe daylight saving this year after all.
  * Asia/Chita switches from +0800 to +0900 on 2016-03-27 at 02:00.
  * Asia/Tehran now has DST predictions for the year 2038 and later,
    to be March 21 00:00 to September 21 00:00.
  * America/Metlakatla switched from PST all year to AKST/AKDT on
    2015-11-01 at 02:00.
  * America/Santa_Isabel has been removed, and replaced with a
    backward compatibility link to America/Tijuana.
  * Asia/Karachi's two transition times in 2002 were off by a minute.
  * Changes affecting documentation and commentary.

Summary of changes in tzdata2015g (2015-10-01 00:39:51 -0700):
  * Turkey's 2015 fall-back transition is scheduled for Nov.
  * Norfolk moves from +1130 to +1100 on 2015-10-04 at 02:00 local time.
  * Fiji's 2016 fall-back transition is scheduled for January 17, not 24.
  * Fort Nelson, British Columbia will not fall back on 2015-11-01.
  * Norfolk observed DST from 1974-10-27 02:00 to 1975-03-02 02:00.
  * Changes affecting documentation.

diffstat:

 external/public-domain/tz/dist/CONTRIBUTING      |    4 +
 external/public-domain/tz/dist/LICENSE           |    4 +
 external/public-domain/tz/dist/Makefile          |   96 ++++--
 external/public-domain/tz/dist/NEWS              |  159 ++++++++++++
 external/public-domain/tz/dist/README            |   10 +-
 external/public-domain/tz/dist/Theory            |   33 +-
 external/public-domain/tz/dist/asia              |   51 +++-
 external/public-domain/tz/dist/australasia       |   42 ++-
 external/public-domain/tz/dist/backward          |    1 +
 external/public-domain/tz/dist/backzone          |    7 +-
 external/public-domain/tz/dist/checklinks.awk    |   41 ++-
 external/public-domain/tz/dist/checktab.awk      |    5 +-
 external/public-domain/tz/dist/europe            |  138 +++++++++-
 external/public-domain/tz/dist/iso3166.tab       |    6 +-
 external/public-domain/tz/dist/leap-seconds.list |    8 +-
 external/public-domain/tz/dist/leapseconds       |    5 +-
 external/public-domain/tz/dist/leapseconds.awk   |    1 +
 external/public-domain/tz/dist/northamerica      |   97 ++++--
 external/public-domain/tz/dist/zone.tab          |  289 +++++++++++-----------
 external/public-domain/tz/dist/zone1970.tab      |  298 +++++++++++-----------
 20 files changed, 868 insertions(+), 427 deletions(-)

diffs (truncated from 2205 to 300 lines):

diff -r f96be740c9db -r baf19915a010 external/public-domain/tz/dist/CONTRIBUTING
--- a/external/public-domain/tz/dist/CONTRIBUTING       Tue Mar 15 15:29:19 2016 +0000
+++ b/external/public-domain/tz/dist/CONTRIBUTING       Tue Mar 15 17:10:27 2016 +0000
@@ -67,3 +67,7 @@
 Please do not create issues or pull requests on GitHub, as the
 proper procedure for proposing and distributing patches is via
 email as illustrated above.
+
+-----
+
+This file is in the public domain.
diff -r f96be740c9db -r baf19915a010 external/public-domain/tz/dist/LICENSE
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/public-domain/tz/dist/LICENSE    Tue Mar 15 17:10:27 2016 +0000
@@ -0,0 +1,4 @@
+With a few exceptions, all files in the tz code and data (including
+this one) are in the public domain.  The exceptions are tzcode's
+date.c, newstrftime.3, and strftime.c, which contain material derived
+from BSD and which use the BSD 3-clause license.
diff -r f96be740c9db -r baf19915a010 external/public-domain/tz/dist/Makefile
--- a/external/public-domain/tz/dist/Makefile   Tue Mar 15 15:29:19 2016 +0000
+++ b/external/public-domain/tz/dist/Makefile   Tue Mar 15 17:10:27 2016 +0000
@@ -5,7 +5,7 @@
 PACKAGE=       tzcode
 
 # Version numbers of the code and data distributions.
-VERSION=       2015f
+VERSION=       2016b
 
 # Email address for bug reports.
 BUGEMAIL=      tz%iana.org@localhost
@@ -84,14 +84,18 @@
 # below.  If you want both sets of data available, with leap seconds counted
 # normally, use
 #      REDO=           right_posix
-# below.  If you want just POSIX-compatible time values, but with
-# out-of-scope and often-wrong data from the file 'backzone', use
-#      REDO=           posix_packrat
-# POSIX mandates that leap seconds not be counted; for compatibility with it,
-# use "posix_only", "posix_right", or "posix_packrat".
+# below.  POSIX mandates that leap seconds not be counted; for compatibility
+# with it, use "posix_only" or "posix_right".
 
 REDO=          posix_right
 
+# If you want out-of-scope and often-wrong data from the file 'backzone', use
+#      PACKRATDATA=    backzone
+# To omit this data, use
+#      PACKRATDATA=
+
+PACKRATDATA=
+
 # Since "." may not be in PATH...
 
 YEARISTYPE=    ./yearistype
@@ -102,6 +106,8 @@
 
 # Add the following to the end of the "CFLAGS=" line as needed.
 #  -DBIG_BANG=-9999999LL if the Big Bang occurred at time -9999999 (see zic.c)
+#  -DHAVE_DECL_ASCTIME_R=0 if <time.h> does not declare asctime_r
+#  -DHAVE_DIRECT_H if mkdir needs <direct.h> (MS-Windows)
 #  -DHAVE_DOS_FILE_NAMES if file names have drive specifiers etc. (MS-DOS)
 #  -DHAVE_GETTEXT=1 if 'gettext' works (GNU, Linux, Solaris); also see LDLIBS
 #  -DHAVE_INCOMPATIBLE_CTIME_R=1 if your system's time.h declares
@@ -112,6 +118,8 @@
 #  -DHAVE_LOCALTIME_RZ=0 if you do not want zdump to use localtime_rz
 #      This defaults to 1 if a working localtime_rz seems to be available.
 #      localtime_rz can make zdump significantly faster, but is nonstandard.
+#  -DHAVE_POSIX_DECLS=0 if your system's include files do not declare
+#      functions like 'link' or variables like 'tzname' required by POSIX
 #  -DHAVE_STDINT_H=1 if you have a pre-C99 compiler with "stdint.h"
 #  -DHAVE_STRFTIME_L=1 if <time.h> declares locale_t and strftime_l
 #      This defaults to 0 if _POSIX_VERSION < 200809, 1 otherwise.
@@ -236,11 +244,22 @@
 
 LDFLAGS=       $(LFLAGS)
 
+# For leap seconds, this Makefile uses LEAPSECONDS='-L leapseconds' in
+# submake command lines.  The default is no leap seconds.
+
+LEAPSECONDS=
+
+# The zic command and its arguments.
+
 zic=           ./zic
 ZIC=           $(zic) $(ZFLAGS)
 
 ZFLAGS=
 
+# How to use zic to install tzdata binary files.
+
+ZIC_INSTALL=   $(ZIC) -y $(YEARISTYPE) -d $(DESTDIR)$(TZDIR) $(LEAPSECONDS)
+
 # The name of a Posix-compliant 'awk' on your system.
 AWK=           awk
 
@@ -344,8 +363,8 @@
                        time2posix.3.txt \
                        tzfile.5.txt tzselect.8.txt zic.8.txt zdump.8.txt \
                        date.1.txt
-COMMON=                CONTRIBUTING Makefile NEWS README Theory
-WEB_PAGES=     tz-art.htm tz-link.htm
+COMMON=                CONTRIBUTING LICENSE Makefile NEWS README Theory
+WEB_PAGES=     tz-art.htm tz-how-to.html tz-link.htm
 DOCS=          $(MANS) date.1 $(MANTXTS) $(WEB_PAGES)
 PRIMARY_YDATA= africa antarctica asia australasia \
                europe northamerica southamerica
@@ -366,7 +385,7 @@
 
 SHELL=         /bin/sh
 
-all:           tzselect zic zdump libtz.a $(TABDATA)
+all:           tzselect yearistype zic zdump libtz.a $(TABDATA)
 
 ALL:           all date $(ENCHILADA)
 
@@ -375,8 +394,7 @@
                        $(DESTDIR)$(LIBDIR) \
                        $(DESTDIR)$(MANDIR)/man3 $(DESTDIR)$(MANDIR)/man5 \
                        $(DESTDIR)$(MANDIR)/man8
-               $(ZIC) -y $(YEARISTYPE) \
-                       -d $(DESTDIR)$(TZDIR) -l $(LOCALTIME) -p $(POSIXRULES)
+               $(ZIC_INSTALL) -l $(LOCALTIME) -p $(POSIXRULES)
                cp -f iso3166.tab $(ZONETABLES) $(DESTDIR)$(TZDIR)/.
                cp tzselect zic zdump $(DESTDIR)$(ETCDIR)/.
                cp libtz.a $(DESTDIR)$(LIBDIR)/.
@@ -398,7 +416,7 @@
 zdump:         $(TZDOBJS)
                $(CC) -o $@ $(CFLAGS) $(LDFLAGS) $(TZDOBJS) $(LDLIBS)
 
-zic:           $(TZCOBJS) yearistype
+zic:           $(TZCOBJS)
                $(CC) -o $@ $(CFLAGS) $(LDFLAGS) $(TZCOBJS) $(LDLIBS)
 
 yearistype:    yearistype.sh
@@ -408,13 +426,28 @@
 leapseconds:   $(LEAP_DEPS)
                $(AWK) -f leapseconds.awk leap-seconds.list >$@
 
-posix_only:    zic $(TDATA)
-               $(ZIC) -y $(YEARISTYPE) -d $(DESTDIR)$(TZDIR) \
-                       -L /dev/null $(TDATA)
+# Arguments to pass to submakes of install_data.
+# They can be overridden by later submake arguments.
+INSTALLARGS = \
+ DESTDIR=$(DESTDIR) \
+ LEAPSECONDS='$(LEAPSECONDS)' \
+ PACKRATDATA='$(PACKRATDATA)' \
+ TZDIR=$(TZDIR) \
+ YEARISTYPE=$(YEARISTYPE) \
+ ZIC='$(ZIC)'
 
-right_only:    zic leapseconds $(TDATA)
-               $(ZIC) -y $(YEARISTYPE) -d $(DESTDIR)$(TZDIR) \
-                       -L leapseconds $(TDATA)
+# 'make install_data' installs one set of tz binary files.
+# It can be tailored by setting LEAPSECONDS, PACKRATDATA, etc.
+install_data:  zic leapseconds yearistype $(PACKRATDATA) $(TDATA)
+               $(ZIC_INSTALL) $(TDATA)
+               $(AWK) '/^Rule/' $(TDATA) | $(ZIC_INSTALL) - $(PACKRATDATA)
+
+posix_only:
+               $(MAKE) $(INSTALLARGS) LEAPSECONDS= install_data
+
+right_only:
+               $(MAKE) $(INSTALLARGS) LEAPSECONDS='-L leapseconds' \
+                       install_data
 
 # In earlier versions of this makefile, the other two directories were
 # subdirectories of $(TZDIR).  However, this led to configuration errors.
@@ -425,26 +458,22 @@
 # Therefore, the other two directories are now siblings of $(TZDIR).
 # You must replace all of $(TZDIR) to switch from not using leap seconds
 # to using them, or vice versa.
-right_posix:   right_only leapseconds
+right_posix:   right_only
                rm -fr $(DESTDIR)$(TZDIR)-leaps
                ln -s $(TZDIR_BASENAME) $(DESTDIR)$(TZDIR)-leaps || \
-                 $(ZIC) -y $(YEARISTYPE) -d $(DESTDIR)$(TZDIR)-leaps \
-                       -L leapseconds $(TDATA)
-               $(ZIC) -y $(YEARISTYPE) -d $(DESTDIR)$(TZDIR)-posix \
-                       -L /dev/null $(TDATA)
+                 $(MAKE) $(INSTALLARGS) TZDIR=$(TZDIR)-leaps right_only
+               $(MAKE) $(INSTALLARGS) TZDIR=$(TZDIR)-posix posix_only
 
-posix_right:   posix_only leapseconds
+posix_right:   posix_only
                rm -fr $(DESTDIR)$(TZDIR)-posix
                ln -s $(TZDIR_BASENAME) $(DESTDIR)$(TZDIR)-posix || \
-                 $(ZIC) -y $(YEARISTYPE) -d $(DESTDIR)$(TZDIR)-posix \
-                       -L /dev/null $(TDATA)
-               $(ZIC) -y $(YEARISTYPE) -d $(DESTDIR)$(TZDIR)-leaps \
-                       -L leapseconds $(TDATA)
+                 $(MAKE) $(INSTALLARGS) TZDIR=$(TZDIR)-posix posix_only
+               $(MAKE) $(INSTALLARGS) TZDIR=$(TZDIR)-leaps right_only
 
-posix_packrat: posix_only backzone
-               $(AWK) '/^Rule/' $(TDATA) | \
-                 $(ZIC) -y $(YEARISTYPE) -d $(DESTDIR)$(TZDIR) \
-                       -L /dev/null - backzone
+# This obsolescent rule is present for backwards compatibility with
+# tz releases 2014g through 2015g.  It should go away eventually.
+posix_packrat:
+               $(MAKE) $(INSTALLARGS) PACKRATDATA=backzone posix_only
 
 zones:         $(REDO)
 
@@ -660,6 +689,7 @@
 .PHONY: check check_character_set check_links
 .PHONY: check_public check_sorted check_tables
 .PHONY: check_time_t_alternatives check_web check_white_space clean clean_misc
-.PHONY: install maintainer-clean names posix_packrat posix_only posix_right
+.PHONY: install install_data maintainer-clean names
+.PHONY: posix_only posix_packrat posix_right
 .PHONY: public right_only right_posix signatures tarballs typecheck
 .PHONY: zonenames zones
diff -r f96be740c9db -r baf19915a010 external/public-domain/tz/dist/NEWS
--- a/external/public-domain/tz/dist/NEWS       Tue Mar 15 15:29:19 2016 +0000
+++ b/external/public-domain/tz/dist/NEWS       Tue Mar 15 17:10:27 2016 +0000
@@ -1,5 +1,164 @@
 News for the tz database
 
+Release 2016b - 2016-03-12 17:30:14 -0800
+
+  Changes affecting future time stamps
+
+    New zones Europe/Astrakhan and Europe/Ulyanovsk for Astrakhan and
+    Ulyanovsk Oblasts, Russia, both of which will switch from +03 to +04 on
+    2016-03-27 at 02:00 local time.  They need distinct zones since their
+    post-1970 histories disagree.  New zone Asia/Barnaul for Altai Krai and
+    Altai Republic, Russia, which will switch from +06 to +07 on the same date
+    and local time.  The Astrakhan change is already official; the others have
+    passed the first reading in the State Duma and are extremely likely.
+    Also, Asia/Sakhalin moves from +10 to +11 on 2016-03-27 at 02:00.
+    (Thanks to Alexander Krivenyshev for the heads-up, and to Matt Johnson
+    and Stepan Golosunov for followup.)
+
+    As a trial of a new system that needs less information to be made up,
+    the new zones use numeric time zone abbreviations like "+04"
+    instead of invented abbreviations like "ASTT".
+
+    Haiti will not observe DST in 2016.  (Thanks to Jean Antoine via
+    Steffen Thorsen.)
+
+    Palestine's spring-forward transition on 2016-03-26 is at 01:00, not 00:00.
+    (Thanks to Hannah Kreitem.) Guess future transitions will be March's last
+    Saturday at 01:00, not March's last Friday at 24:00.
+
+  Changes affecting past time stamps
+
+    Europe/Chisinau observed DST during 1990, and switched from +04 to
+    +03 at 1990-05-06 02:00, instead of switching from +03 to +02.
+    (Thanks to Stepan Golosunov.)
+
+    1991 abbreviations in Europe/Samara should be SAMT/SAMST, not
+    KUYT/KUYST.  (Thanks to Stepan Golosunov.)
+
+  Changes to code
+
+    tzselect's diagnostics and checking, and checktab.awk's checking,
+    have been improved.  (Thanks to J William Piggott.)
+
+    tzcode now builds under MinGW.  (Thanks to Ian Abbott and Esben Haabendal.)
+
+    tzselect now tests Julian-date TZ settings more accurately.
+    (Thanks to J William Piggott.)
+
+  Changes to commentary
+
+    Comments in zone tables have been improved.  (Thanks to J William Piggott.)
+
+    tzselect again limits its menu comments so that menus fit on a
+    24x80 alphanumeric display.
+
+    A new web page tz-how-to.html.  (Thanks to Bill Seymour.)
+
+    In the Theory file, the description of possible time zone abbreviations in
+    tzdata has been cleaned up, as the old description was unclear and
+    inconsistent.  (Thanks to Alain Mouette for reporting the problem.)
+
+
+Release 2016a - 2016-01-26 23:28:02 -0800
+
+  Changes affecting future time stamps
+
+    America/Cayman will not observe daylight saving this year after all.
+    Revert our guess that it would.  (Thanks to Matt Johnson.)
+
+    Asia/Chita switches from +0800 to +0900 on 2016-03-27 at 02:00.
+    (Thanks to Alexander Krivenyshev.)
+
+    Asia/Tehran now has DST predictions for the year 2038 and later,
+    to be March 21 00:00 to September 21 00:00.  This is likely better
+    than predicting no DST, albeit off by a day every now and then.
+
+  Changes affecting past and future time stamps
+
+    America/Metlakatla switched from PST all year to AKST/AKDT on
+    2015-11-01 at 02:00.  (Thanks to Steffen Thorsen.)
+



Home | Main Index | Thread Index | Old Index