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 tzdata2015e from http:...



details:   https://anonhg.NetBSD.org/src/rev/149c81a867ba
branches:  trunk
changeset: 338997:149c81a867ba
user:      apb <apb%NetBSD.org@localhost>
date:      Sun Jun 21 15:18:52 2015 +0000

description:
Import tzdata2015e from http://www.iana.org/time-zones/repository/releases/tzdata2015e.tar.gz

Summary of changes in tzdata2015e (2015-06-13 10:56:02 -0700):
  * Morocco will suspend DST from 2015-06-14 03:00 through 2015-07-19 02:00,
    not 06-13 and 07-18 as we had guessed.
  * Assume Cayman Islands will observe DST starting next year, using US rules.
  * The file 'iso3166.tab' now uses UTF-8, so that its entries can better
    spell the names of ?land Islands, C?te d'Ivoire, and R?union.

Summary of changes in tzdata2015d (2015-04-24 08:09:46 -0700):
  * Egypt will not observe DST in 2015 and will consider canceling it
    permanently.  For now, assume no DST indefinitely.
  * America/Whitehorse switched from UTC-9 to UTC-8 on 1967-05-28, not
    1966-07-01.
  * The abbreviations for Hawaii-Aleutian standard and daylight times
    have been changed from HAST/HADT to HST/HDT, as per US Government
    Printing Office style.

Summary of changes in tzdata2015c (2015-04-11 08:55:55 -0700):
  * Egypt's spring-forward transition is at 24:00 on April's last Thursday,
    not 00:00 on April's last Friday.  This affects 2015, 2026, 2037,
    2043, etc.
  * Changes to pre-1991 Chile-related time stamps in America/Santiago,
    Antarctica/Palmer, and Pacific/Easter.
  * The America/Montreal zone has been turned into a link, as it differed
    from an existing zone only for pre-1970 time stamps.

diffstat:

 external/public-domain/tz/dist/Makefile     |   75 +++++-----
 external/public-domain/tz/dist/NEWS         |  103 ++++++++++++++++
 external/public-domain/tz/dist/africa       |  149 +++++++++++-----------
 external/public-domain/tz/dist/antarctica   |   51 +-------
 external/public-domain/tz/dist/backward     |    1 +
 external/public-domain/tz/dist/backzone     |   45 ++++++-
 external/public-domain/tz/dist/checktab.awk |    3 -
 external/public-domain/tz/dist/europe       |    2 +-
 external/public-domain/tz/dist/iso3166.tab  |   11 +-
 external/public-domain/tz/dist/northamerica |  180 ++++++++++++++++++++-------
 external/public-domain/tz/dist/southamerica |  158 ++++++++++++++----------
 external/public-domain/tz/dist/zone1970.tab |    3 +-
 12 files changed, 485 insertions(+), 296 deletions(-)

diffs (truncated from 1204 to 300 lines):

diff -r 6fd92f7d4ab4 -r 149c81a867ba external/public-domain/tz/dist/Makefile
--- a/external/public-domain/tz/dist/Makefile   Sun Jun 21 15:00:06 2015 +0000
+++ b/external/public-domain/tz/dist/Makefile   Sun Jun 21 15:18:52 2015 +0000
@@ -5,7 +5,7 @@
 PACKAGE=       tzcode
 
 # Version numbers of the code and data distributions.
-VERSION=       2015b
+VERSION=       2015e
 
 # Email address for bug reports.
 BUGEMAIL=      tz%iana.org@localhost
@@ -120,6 +120,7 @@
 #  -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.
+#  -DHAVE_STRDUP=0 if your system lacks the strdup function
 #  -DHAVE_SYMLINK=0 if your system lacks the symlink function
 #  -DHAVE_SYS_STAT_H=0 if your compiler lacks a "sys/stat.h"
 #  -DHAVE_SYS_WAIT_H=0 if your compiler lacks a "sys/wait.h"
@@ -149,18 +150,18 @@
 #  $(GCC_DEBUG_FLAGS) if you are using GCC and want lots of checking
 GCC_DEBUG_FLAGS = -Dlint -g3 -O3 -fno-common -fstrict-aliasing \
        -Wall -Wextra \
-       -Wbad-function-cast -Wcast-align -Wcast-qual \
+       -Wbad-function-cast -Wcast-align -Wdate-time \
        -Wdeclaration-after-statement \
+       -Wdouble-promotion \
        -Wformat=2 -Winit-self -Wjump-misses-init \
-       -Wmissing-declarations -Wmissing-noreturn -Wmissing-prototypes \
-       -Wnested-externs -Wno-address -Wno-cast-qual \
-       -Wno-format-nonliteral -Wno-sign-compare -Wno-sign-conversion \
-       -Wno-type-limits \
-       -Wno-unused-parameter -Woverlength-strings -Wpointer-arith \
+       -Wlogical-op -Wmissing-prototypes -Wnested-externs \
+       -Wold-style-definition -Woverlength-strings -Wpointer-arith \
        -Wshadow -Wstrict-prototypes -Wsuggest-attribute=const \
        -Wsuggest-attribute=format -Wsuggest-attribute=noreturn \
        -Wsuggest-attribute=pure -Wtrampolines \
-       -Wwrite-strings
+       -Wunused -Wwrite-strings \
+       -Wno-address -Wno-format-nonliteral -Wno-sign-compare \
+       -Wno-type-limits -Wno-unused-parameter
 #
 # If you want to use System V compatibility code, add
 #      -DUSG_COMPAT
@@ -291,23 +292,24 @@
 SAFE_CHARSET1= $(TAB_CHAR)' !\"'$$sharp'$$%&'\''()*+,./0123456789:;<=>?@'
 SAFE_CHARSET2= 'ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\^_`'
 SAFE_CHARSET3= 'abcdefghijklmnopqrstuvwxyz{|}~'
-SAFE_CHARSET=  ]$(SAFE_CHARSET1)$(SAFE_CHARSET2)$(SAFE_CHARSET3)-
-SAFE_CHAR=     '['$(SAFE_CHARSET)']'
-# NONSYM_CHAR is a regular expression that matches any character
-# except for a small number of symbols, where we prefer to stick with
+SAFE_CHARSET=  $(SAFE_CHARSET1)$(SAFE_CHARSET2)$(SAFE_CHARSET3)
+SAFE_CHAR=     '[]'$(SAFE_CHARSET)'-]'
+
+# OK_CHAR matches any character allowed in the distributed files.
+# This is the same as SAFE_CHAR, except that multibyte letters are
+# also allowed so that commentary can contain people's names and quote
+# non-English sources.  For non-letters the sources are limited to
 # ASCII renderings for the convenience of maintainers whose text editors
 # mishandle UTF-8 by default (e.g., XEmacs 21.4.22).
-NONSYM_CHAR=   '[^â??â??°â?²â?³â??â? â?¤â?¥Â±â??Ã?÷â??â??â??â??·â?¢Â§Â¶Â«Â»â??â??â??â??â??â??â??â??â?¹â?ºã??ã??ã??ã??ã??ã??ã??]'
+OK_CHAR=       '[][:alpha:]'$(SAFE_CHARSET)'-]'
 
 # SAFE_LINE matches a line of safe characters.
-# SAFE_SHARP_LINE is similar, except any character can follow '#';
+# SAFE_SHARP_LINE is similar, except any OK character can follow '#';
 # this is so that comments can contain non-ASCII characters.
-# NONSYM_LINE matches a line of non-symbols.
-# VALID_LINE matches a line of any validly-encoded characters.
+# OK_LINE matches a line of OK characters.
 SAFE_LINE=     '^'$(SAFE_CHAR)'*$$'
-SAFE_SHARP_LINE='^'$(SAFE_CHAR)'*('$$sharp$(NONSYM_CHAR)'*)?$$'
-NONSYM_LINE=   '^'$(NONSYM_CHAR)'*$$'
-VALID_LINE=    '^.*$$'
+SAFE_SHARP_LINE='^'$(SAFE_CHAR)'*('$$sharp$(OK_CHAR)'*)?$$'
+OK_LINE=       '^'$(OK_CHAR)'*$$'
 
 # Flags to give 'tar' when making a distribution.
 # Try to use flags appropriate for GNU tar.
@@ -322,6 +324,8 @@
 
 ###############################################################################
 
+#MAKE=         make
+
 cc=            cc
 CC=            $(cc) -DTZDIR=\"$(TZDIR)\"
 
@@ -330,13 +334,13 @@
 # ':' on typical hosts; 'ranlib' on the ancient hosts that still need ranlib.
 RANLIB=                :
 
-TZCOBJS=       zic.o scheck.o ialloc.o
+TZCOBJS=       zic.o
 TZDOBJS=       zdump.o localtime.o asctime.o
 DATEOBJS=      date.o localtime.o strftime.o asctime.o
 LIBSRCS=       localtime.c asctime.c difftime.c
 LIBOBJS=       localtime.o asctime.o difftime.o
 HEADERS=       tzfile.h private.h
-NONLIBSRCS=    zic.c zdump.c scheck.c ialloc.c
+NONLIBSRCS=    zic.c zdump.c
 NEWUCBSRCS=    date.c strftime.c
 SOURCES=       $(HEADERS) $(LIBSRCS) $(NONLIBSRCS) $(NEWUCBSRCS) \
                        tzselect.ksh workman.sh
@@ -370,7 +374,7 @@
 
 all:           tzselect zic zdump libtz.a $(TABDATA)
 
-ALL:           all date
+ALL:           all date $(ENCHILADA)
 
 install:       all $(DATA) $(REDO) $(MANS)
                mkdir -p $(DESTDIR)$(ETCDIR) $(DESTDIR)$(TZDIR) \
@@ -474,14 +478,11 @@
 check_character_set: $(ENCHILADA)
                LC_ALL=en_US.utf8 && export LC_ALL && \
                sharp='#' && \
-               ! grep -Env $(SAFE_LINE) $(MANS) date.1 $(MANTXTS) \
+               ! grep -Env $(SAFE_LINE) Makefile $(MANS) date.1 $(MANTXTS) \
                        $(MISC) $(SOURCES) $(WEB_PAGES) && \
                ! grep -Env $(SAFE_SHARP_LINE) $(TDATA) backzone \
-                       iso3166.tab leapseconds yearistype.sh zone.tab && \
-               test $$(grep -Ecv $(SAFE_SHARP_LINE) Makefile) -eq 1 && \
-               ! grep -Env $(NONSYM_LINE) CONTRIBUTING NEWS README Theory \
-                       $(MANS) date.1 zone1970.tab && \
-               ! grep -Env $(VALID_LINE) $(ENCHILADA)
+                       leapseconds yearistype.sh zone.tab && \
+               ! grep -Env $(OK_LINE) $(ENCHILADA)
 
 check_white_space: $(ENCHILADA)
                ! grep -En ' '$(TAB_CHAR)"|$$(printf '[\f\r\v]')" $(ENCHILADA)
@@ -572,9 +573,9 @@
 # The zics below ensure that each data file can stand on its own.
 # We also do an all-files run to catch links to links.
 
-check_public:  $(ENCHILADA)
-               make maintainer-clean
-               make "CFLAGS=$(GCC_DEBUG_FLAGS)" $(ENCHILADA) all
+check_public:
+               $(MAKE) maintainer-clean
+               $(MAKE) "CFLAGS=$(GCC_DEBUG_FLAGS)" ALL
                mkdir tzpublic
                for i in $(TDATA) ; do \
                  $(zic) -v -d tzpublic $$i 2>&1 || exit; \
@@ -593,8 +594,8 @@
                zones=`$(AWK) '/^[^#]/ { print $$3 }' <zone1970.tab` && \
                for type in $(TIME_T_ALTERNATIVES); do \
                  mkdir -p tzpublic/$$type && \
-                 make clean_misc && \
-                 make TOPDIR=`pwd`/tzpublic/$$type \
+                 $(MAKE) clean_misc && \
+                 $(MAKE) TOPDIR=`pwd`/tzpublic/$$type \
                    CFLAGS='$(CFLAGS) -Dtime_tz='"'$$type'" \
                    REDO='$(REDO)' \
                    install && \
@@ -640,12 +641,12 @@
                gpg --armor --detach-sign $?
 
 typecheck:
-               make clean
+               $(MAKE) clean
                for i in "long long" unsigned; \
                do \
-                       make CFLAGS="-DTYPECHECK -D__time_t_defined -D_TIME_T \"-Dtime_t=$$i\"" ; \
+                       $(MAKE) CFLAGS="-DTYPECHECK -D__time_t_defined -D_TIME_T \"-Dtime_t=$$i\"" ; \
                        ./zdump -v Europe/Rome ; \
-                       make clean ; \
+                       $(MAKE) clean ; \
                done
 
 zonenames:     $(TDATA)
@@ -654,9 +655,7 @@
 asctime.o:     private.h tzfile.h
 date.o:                private.h
 difftime.o:    private.h
-ialloc.o:      private.h
 localtime.o:   private.h tzfile.h
-scheck.o:      private.h
 strftime.o:    private.h tzfile.h
 zdump.o:       version.h
 zic.o:         private.h tzfile.h version.h
diff -r 6fd92f7d4ab4 -r 149c81a867ba external/public-domain/tz/dist/NEWS
--- a/external/public-domain/tz/dist/NEWS       Sun Jun 21 15:00:06 2015 +0000
+++ b/external/public-domain/tz/dist/NEWS       Sun Jun 21 15:18:52 2015 +0000
@@ -1,5 +1,108 @@
 News for the tz database
 
+
+Release 2015e - 2015-06-13 10:56:02 -0700
+
+  Changes affecting future time stamps
+
+    Morocco will suspend DST from 2015-06-14 03:00 through 2015-07-19 02:00,
+    not 06-13 and 07-18 as we had guessed.  (Thanks to Milamber.)
+
+    Assume Cayman Islands will observe DST starting next year, using US rules.
+    Although it isn't guaranteed, it is the most likely.
+
+  Changes affecting data format
+
+    The file 'iso3166.tab' now uses UTF-8, so that its entries can better
+    spell the names of �land Islands, Côte d'Ivoire, and Réunion.
+
+  Changes affecting code
+
+    When displaying data, tzselect converts it to the current locale's
+    encoding if the iconv command works.  (Problem reported by random832.)
+
+    tzselect no longer mishandles Dominica, fixing a bug introduced
+    in Release 2014f.  (Problem reported by Owen Leibman.)
+
+    zic -l no longer fails when compiled with -DTZDEFAULT=\"/etc/localtime\".
+    This fixes a bug introduced in Release 2014f.
+    (Problem reported by Leonardo Chiquitto.)
+
+
+Release 2015d - 2015-04-24 08:09:46 -0700
+
+  Changes affecting future time stamps
+
+    Egypt will not observe DST in 2015 and will consider canceling it
+    permanently.  For now, assume no DST indefinitely.
+    (Thanks to Ahmed Nazmy and Tim Parenti.)
+
+  Changes affecting past time stamps
+
+    America/Whitehorse switched from UTC-9 to UTC-8 on 1967-05-28, not
+    1966-07-01.  Also, Yukon's time zone history is documented better.
+    (Thanks to Brian Inglis and Dennis Ferguson.)
+
+  Change affecting past and future time zone abbreviations
+
+    The abbreviations for Hawaii-Aleutian standard and daylight times
+    have been changed from HAST/HADT to HST/HDT, as per US Government
+    Printing Office style.  This affects only America/Adak since 1983,
+    as America/Honolulu was already using the new style.
+
+  Changes affecting code
+
+   zic has some minor performance improvements.
+
+
+Release 2015c - 2015-04-11 08:55:55 -0700
+
+  Changes affecting future time stamps
+
+    Egypt's spring-forward transition is at 24:00 on April's last Thursday,
+    not 00:00 on April's last Friday.  2015's transition will therefore be on
+    Thursday, April 30 at 24:00, not Friday, April 24 at 00:00.  Similar fixes
+    apply to 2026, 2037, 2043, etc.  (Thanks to Steffen Thorsen.)
+
+  Changes affecting past time stamps
+
+    The following changes affect some pre-1991 Chile-related time stamps
+    in America/Santiago, Antarctica/Palmer, and Pacific/Easter.
+
+      The 1910 transition was January 10, not January 1.
+
+      The 1918 transition was September 10, not September 1.
+
+      The UTC-4 time observed from 1932 to 1942 is now considered to be
+      standard time, not year-round DST.
+
+      Santiago observed DST (UTC-3) from 1946-07-15 through 1946-08-31,
+      then reverted to standard time, then switched its time zone to
+      UTC-5 on 1947-04-01.
+
+      Assume transitions before 1968 were at 00:00, since we have no data
+      saying otherwise.
+
+      The spring 1988 transition was 1988-10-09, not 1988-10-02.
+      The fall 1990 transition was 1990-03-11, not 1990-03-18.
+
+      Assume no UTC offset change for Pacific/Easter on 1890-01-01,
+      and omit all transitions on Pacific/Easter from 1942 through 1946
+      since we have no data suggesting that they existed.
+
+    One more zone has been turned into a link, as it differed
+    from an existing zone only for older time stamps.  As usual,
+    this change affects UTC offsets in pre-1970 time stamps only.
+    The zone's old contents have been moved to the 'backzone' file.
+    The affected zone is America/Montreal.
+
+  Changes affecting commentary
+
+    Mention the TZUpdater tool.
+
+    Mention "The Time Now".  (Thanks to Brandon Ramsey.)
+
+
 Release 2015b - 2015-03-19 23:28:11 -0700
 
   Changes affecting future time stamps
diff -r 6fd92f7d4ab4 -r 149c81a867ba external/public-domain/tz/dist/africa
--- a/external/public-domain/tz/dist/africa     Sun Jun 21 15:00:06 2015 +0000
+++ b/external/public-domain/tz/dist/africa     Sun Jun 21 15:18:52 2015 +0000
@@ -319,35 +319,30 @@



Home | Main Index | Thread Index | Old Index