Source-Changes-HG archive

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

[src/netbsd-7-0]: src Pull up the following, requested by kre in ticket #1670:



details:   https://anonhg.NetBSD.org/src/rev/3c2ca5a93bb7
branches:  netbsd-7-0
changeset: 447320:3c2ca5a93bb7
user:      martin <martin%NetBSD.org@localhost>
date:      Mon Jan 07 14:04:54 2019 +0000

description:
Pull up the following, requested by kre in ticket #1670:

        external/public-domain/tz/dist/Makefile         up to 1.1.1.23
        external/public-domain/tz/dist/NEWS             up to 1.1.1.26
        external/public-domain/tz/dist/TZDATA_VERSION   up to 1.16
        external/public-domain/tz/dist/africa           up to 1.1.1.19
        external/public-domain/tz/dist/asia             up to 1.1.1.22
        external/public-domain/tz/dist/australasia      up to 1.1.1.17
        external/public-domain/tz/dist/leapseconds      up to 1.1.1.12
        external/public-domain/tz/dist/leapseconds.awk  up to 1.1.1.8
        external/public-domain/tz/dist/northamerica     up to 1.1.1.22
        external/public-domain/tz/dist/theory.html      up to 1.1.1.7
        external/public-domain/tz/dist/version          up to 1.1.1.13
        external/public-domain/tz/dist/ziguard.awk      up to 1.1.1.4
        external/public-domain/tz/dist/zone.tab         up to 1.1.1.16
        external/public-domain/tz/dist/zone1970.tab     up to 1.1.1.18
        distrib/sets/lists/base/mi                      (patch)
        doc/3RDPARTY                                    (patch)

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

Summary of changes in tzdata2018h (2018-12-23 17:59:32 -0800):

    Qyzylorda (aka Kyzylorda) oblast in Kazakhstan moved from +06 to
    +05 on 2018-12-21.  This is a zone split as Qostanay (aka
    Kostanay) did not switch, so create a zone Asia/Qostanay.

    Metlakatla, Alaska observes PST this winter only.

    Add predictions for Iran from 2038 through 2090.

    Changes to some old timestamps for Nauru (1979) Guam (1959-77),
    Hong Kong (1904, 1941, 1945, 1952) (others in Pacific during WWII)

 ---

Merge tzdata2018h

 ---

Update to tzdata2018h (new zone Asia/Qostanay)

 ---

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

Summary of changes in tzdata2018i (2018-12-30 11:05:43 -0800):

    Due to a change in government, Sao Tome and Principe switches back
    from +01 to +00 on 2019-01-01 at 02:00.

 ---

Merge tzdata2018i

 ---

Update to tzdata2018i

diffstat:

 distrib/sets/lists/base/mi                     |    3 +-
 doc/3RDPARTY                                   |    6 +-
 external/public-domain/tz/dist/Makefile        |   22 +-
 external/public-domain/tz/dist/NEWS            |   97 +++++-
 external/public-domain/tz/dist/TZDATA_VERSION  |    2 +-
 external/public-domain/tz/dist/africa          |   97 +++++-
 external/public-domain/tz/dist/asia            |  437 ++++++++++++++++++------
 external/public-domain/tz/dist/australasia     |  281 ++++++++++++++-
 external/public-domain/tz/dist/leapseconds     |    5 +-
 external/public-domain/tz/dist/leapseconds.awk |    5 +-
 external/public-domain/tz/dist/northamerica    |   29 +
 external/public-domain/tz/dist/theory.html     |    7 +-
 external/public-domain/tz/dist/version         |    2 +-
 external/public-domain/tz/dist/ziguard.awk     |   19 +-
 external/public-domain/tz/dist/zone.tab        |    3 +-
 external/public-domain/tz/dist/zone1970.tab    |    3 +-
 16 files changed, 846 insertions(+), 172 deletions(-)

diffs (truncated from 1503 to 300 lines):

diff -r 1c9f50a78798 -r 3c2ca5a93bb7 distrib/sets/lists/base/mi
--- a/distrib/sets/lists/base/mi        Thu Jan 03 11:16:35 2019 +0000
+++ b/distrib/sets/lists/base/mi        Mon Jan 07 14:04:54 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.1087.2.7.2.4 2017/11/05 20:44:40 snj Exp $
+# $NetBSD: mi,v 1.1087.2.7.2.5 2019/01/07 14:04:55 martin Exp $
 #
 # Note:        Don't delete entries from here - mark them as "obsolete" instead,
 #      unless otherwise stated below.
@@ -5467,6 +5467,7 @@
 ./usr/share/zoneinfo/Asia/Pontianak            base-sys-share          share
 ./usr/share/zoneinfo/Asia/Pyongyang            base-sys-share          share
 ./usr/share/zoneinfo/Asia/Qatar                        base-sys-share          share
+./usr/share/zoneinfo/Asia/Qostanay             base-sys-share          share
 ./usr/share/zoneinfo/Asia/Qyzylorda            base-sys-share          share
 ./usr/share/zoneinfo/Asia/Rangoon              base-sys-share          share
 ./usr/share/zoneinfo/Asia/Riyadh               base-sys-share          share
diff -r 1c9f50a78798 -r 3c2ca5a93bb7 doc/3RDPARTY
--- a/doc/3RDPARTY      Thu Jan 03 11:16:35 2019 +0000
+++ b/doc/3RDPARTY      Mon Jan 07 14:04:54 2019 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: 3RDPARTY,v 1.1145.2.18.2.27 2018/10/30 19:36:51 martin Exp $
+#      $NetBSD: 3RDPARTY,v 1.1145.2.18.2.28 2019/01/07 14:04:54 martin Exp $
 #
 # This file contains a list of the software that has been integrated into
 # NetBSD where we are not the primary maintainer.
@@ -1300,8 +1300,8 @@
 Added changes from a5 -> a12 manually.
 
 Package:       tz
-Version:       tzcode2014j (+ upgraded zic) / tzdata2018g
-Current Vers:  tzcode2018g / tzdata2018g
+Version:       tzcode2014j (+ upgraded zic) / tzdata2018i
+Current Vers:  tzcode2018i / tzdata2018i
 Maintainer:    Paul Eggert <eggert%cs.ucla.edu@localhost>
 Archive Site:  ftp://ftp.iana.org/tz/releases/
 Archive Site:  ftp://munnari.oz.au/pub/oldtz/
diff -r 1c9f50a78798 -r 3c2ca5a93bb7 external/public-domain/tz/dist/Makefile
--- a/external/public-domain/tz/dist/Makefile   Thu Jan 03 11:16:35 2019 +0000
+++ b/external/public-domain/tz/dist/Makefile   Mon Jan 07 14:04:54 2019 +0000
@@ -380,15 +380,18 @@
 # is typically nicer if it works.
 KSHELL=                /bin/bash
 
+# Name of curl <https://curl.haxx.se/>, used for HTML validation.
+CURL=          curl
+
 # The path where SGML DTDs are kept and the catalog file(s) to use when
-# validating.  The default should work on both Debian and Red Hat.
+# validating HTML 4.01.  The default should work on both Debian and Red Hat.
 SGML_TOPDIR= /usr
 SGML_DTDDIR= $(SGML_TOPDIR)/share/xml/w3c-sgml-lib/schema/dtd
 SGML_SEARCH_PATH= $(SGML_DTDDIR)/REC-html401-19991224
 SGML_CATALOG_FILES= \
   $(SGML_TOPDIR)/share/doc/w3-recs/html/www.w3.org/TR/1999/REC-html401-19991224/HTML4.cat:$(SGML_TOPDIR)/share/sgml/html/4.01/HTML4.cat
 
-# The name, arguments and environment of a program to validate your web pages.
+# The name, arguments and environment of a program to validate HTML 4.01.
 # See <http://openjade.sourceforge.net/doc/> for a validator, and
 # <https://validator.w3.org/source/> for a validation library.
 # Set VALIDATE=':' if you do not have such a program.
@@ -488,6 +491,7 @@
 COMMON=                calendars CONTRIBUTING LICENSE Makefile \
                        NEWS README theory.html version
 WEB_PAGES=     tz-art.html tz-how-to.html tz-link.html
+CHECK_WEB_PAGES=check_tz-art.html check_tz-how-to.html check_tz-link.html
 DOCS=          $(MANS) date.1 $(MANTXTS) $(WEB_PAGES)
 PRIMARY_YDATA= africa antarctica asia australasia \
                europe northamerica southamerica
@@ -799,9 +803,15 @@
                fi
                touch $@
 
-# This checks only the HTML 4.01 strict page.
-# To check the the other pages, use <https://validator.w3.org/>.
-check_web:     tz-how-to.html
+check_web:     $(CHECK_WEB_PAGES)
+check_tz-art.html: tz-art.html
+check_tz-link.html: tz-link.html
+check_tz-art.html check_tz-link.html:
+               $(CURL) -sS --url https://validator.w3.org/nu/ -F out=gnu \
+                   -F file=@$$(expr $@ : 'check_\(.*\)') -o $@.out && \
+                 test ! -s $@.out || { cat $@.out; exit 1; }
+               mv $@.out $@
+check_tz-how-to.html: tz-how-to.html
                $(VALIDATE_ENV) $(VALIDATE) $(VALIDATE_FLAGS) tz-how-to.html
                touch $@
 
@@ -1068,7 +1078,7 @@
 
 .PHONY: ALL INSTALL all
 .PHONY: check check_time_t_alternatives
-.PHONY: check_zishrink
+.PHONY: check_web check_zishrink
 .PHONY: clean clean_misc dummy.zd force_tzs
 .PHONY: install install_data maintainer-clean names
 .PHONY: posix_only posix_packrat posix_right public
diff -r 1c9f50a78798 -r 3c2ca5a93bb7 external/public-domain/tz/dist/NEWS
--- a/external/public-domain/tz/dist/NEWS       Thu Jan 03 11:16:35 2019 +0000
+++ b/external/public-domain/tz/dist/NEWS       Mon Jan 07 14:04:54 2019 +0000
@@ -1,14 +1,103 @@
 News for the tz database
 
+Release 2018i - 2018-12-30 11:05:43 -0800
+
+  Briefly:
+    São Tomé and Príncipe switches from +01 to +00 on 2019-01-01.
+
+  Changes to future timestamps
+
+    Due to a change in government, São Tomé and Príncipe switches back
+    from +01 to +00 on 2019-01-01 at 02:00.  (Thanks to Vadim
+    Nasardinov and Michael Deckers.)
+
+
+Release 2018h - 2018-12-23 17:59:32 -0800
+
+  Briefly:
+    Qyzylorda, Kazakhstan moved from +06 to +05 on 2018-12-21.
+    New zone Asia/Qostanay because Qostanay, Kazakhstan didn't move.
+    Metlakatla, Alaska observes PST this winter only.
+    Guess Morocco will continue to adjust clocks around Ramadan.
+    Add predictions for Iran from 2038 through 2090.
+
+  Changes to future timestamps
+
+    Guess that Morocco will continue to fall back just before and
+    spring forward just after Ramadan, the practice since 2012.
+    (Thanks to Maamar Abdelkader.)  This means Morocco will observe
+    negative DST during Ramadan in main and vanguard formats, and in
+    rearguard format it stays in the +00 timezone and observes
+    ordinary DST in all months other than Ramadan.  As before, extend
+    this guesswork to the year 2037.  As a consequence, Morocco is
+    scheduled to observe three DST transitions in some Gregorian years
+    (e.g., 2033) due to the mismatch between the Gregorian and Islamic
+    calendars.
+
+    The table of exact transitions for Iranian DST has been extended.
+    It formerly cut off before the year 2038 in a nod to 32-bit time_t.
+    It now cuts off before 2091 as there is doubt about how the Persian
+    calendar will treat 2091.  This change predicts DST transitions in
+    2038-9, 2042-3, and 2046-7 to occur one day later than previously
+    predicted.  As before, post-cutoff transitions are approximated.
+
+  Changes to past and future timestamps
+
+    Qyzylorda (aka Kyzylorda) oblast in Kazakhstan moved from +06 to
+    +05 on 2018-12-21.  This is a zone split as Qostanay (aka
+    Kostanay) did not switch, so create a zone Asia/Qostanay.
+
+    Metlakatla moved from Alaska to Pacific standard time on 2018-11-04.
+    It did not change clocks that day and remains on -08 this winter.
+    (Thanks to Ryan Stanley.)  It will revert to the usual Alaska
+    rules next spring, so this change affects only timestamps
+    from 2018-11-04 through 2019-03-10.
+
+  Change to past timestamps
+
+    Kwajalein's 1993-08-20 transition from -12 to +12 was at 24:00,
+    not 00:00.  I transcribed the time incorrectly from Shanks.
+    (Thanks to Phake Nick.)
+
+    Nauru's 1979 transition was on 02-10 at 02:00, not 05-01 at 00:00.
+    (Thanks to Phake Nick.)
+
+    Guam observed DST irregularly from 1959 through 1977.
+    (Thanks to Phake Nick.)
+
+    Hong Kong observed DST in 1941 starting 06-15 (not 04-01), then on
+    10-01 changed standard time to +08:30 (not +08).  Its transition
+    back to +08 after WWII was on 1945-09-15, not the previous day.
+    Its 1904-10-30 change took effect at 01:00 +08 (not 00:00 LMT).
+    (Thanks to Phake Nick, Steve Allen, and Joseph Myers.)  Also,
+    its 1952 fallback was on 11-02 (not 10-25).
+
+    This release contains many changes to timestamps before 1946 due
+    to Japanese possession or occupation of Pacific/Chuuk,
+    Pacific/Guam, Pacific/Kosrae, Pacific/Kwajalein, Pacific/Majuro,
+    Pacific/Nauru, Pacific/Palau, and Pacific/Pohnpei.
+    (Thanks to Phake Nick.)
+
+    Assume that the Spanish East Indies was like the Philippines and
+    observed American time until the end of 1844.  This affects
+    Pacific/Chuuk, Pacific/Kosrae, Pacific/Palau, and Pacific/Pohnpei.
+
+  Changes to past tm_isdst flags
+
+    For the recent Morocco change, the tm_isdst flag should be 1 from
+    2018-10-27 00:00 to 2018-10-28 03:00.  (Thanks to Michael Deckers.)
+    Give a URL to the official decree.  (Thanks to Matt Johnson.)
+
+
 Release 2018g - 2018-10-26 22:22:45 -0700
 
   Briefly:
-    Morocco switches to permanent +01 on 2018-10-27.
+    Morocco switches to permanent +01 on 2018-10-28.
 
   Changes to future timestamps
 
-    Morocco switches from +00/+01 to permanent +01 effective 2018-10-27,
-    so its clocks will not fall back on 2018-10-28 as previously scheduled.
+    Morocco switches from +00/+01 to permanent +01 effective 2018-10-28,
+    so its clocks will not fall back as previously scheduled.
     (Thanks to Mohamed Essedik Najd and Brian Inglis.)
 
   Changes to code
@@ -119,7 +208,7 @@
     localtime.c no longer ignores TZif POSIX-style TZ strings that
     specify only standard time.  Instead, these TZ strings now
     override the default time type for timestamps after the last
-    transition (or for all time stamps if there are no transitions),
+    transition (or for all timestamps if there are no transitions),
     just as DST strings specifying DST have always done.
 
     leapseconds.awk now outputs "#updated" and "#expires" comments,
diff -r 1c9f50a78798 -r 3c2ca5a93bb7 external/public-domain/tz/dist/TZDATA_VERSION
--- a/external/public-domain/tz/dist/TZDATA_VERSION     Thu Jan 03 11:16:35 2019 +0000
+++ b/external/public-domain/tz/dist/TZDATA_VERSION     Mon Jan 07 14:04:54 2019 +0000
@@ -1,1 +1,1 @@
-tzdata-2018g
+tzdata-2018i
diff -r 1c9f50a78798 -r 3c2ca5a93bb7 external/public-domain/tz/dist/africa
--- a/external/public-domain/tz/dist/africa     Thu Jan 03 11:16:35 2019 +0000
+++ b/external/public-domain/tz/dist/africa     Mon Jan 07 14:04:54 2019 +0000
@@ -847,8 +847,41 @@
 # From Mohamed Essedik Najd (2018-10-26):
 # Today, a Moroccan government council approved the perpetual addition
 # of 60 minutes to the regular Moroccan timezone.
-# From Brian Inglis (2018-10-26):
-# http://www.maroc.ma/fr/actualites/le-conseil-de-gouvernement-adopte-un-projet-de-decret-relatif-lheure-legale-stipulant-le
+# From Matt Johnson (2018-10-28):
+# http://www.sgg.gov.ma/Portals/1/BO/2018/BO_6720-bis_Ar.pdf
+#
+# From Maamar Abdelkader (2018-11-01):
+# We usually move clocks back the previous week end and come back to the +1
+# the week end after....  The government does not announce yet the decision
+# about this temporary change.  But it s 99% sure that it will be the case,
+# as in previous years.  An unofficial survey was done these days, showing
+# that 64% of asked peopke are ok for moving from +1 to +0 during Ramadan.
+# https://leconomiste.com/article/1035870-enquete-l-economiste-sunergia-64-des-marocains-plebiscitent-le-gmt-pendant-ramadan
+#
+# From Paul Eggert (2018-11-01):
+# For now, guess that Morocco will fall back at 03:00 the last Sunday
+# before Ramadan, and spring forward at 02:00 the first Sunday after
+# Ramadan, as this has been the practice since 2012.  To implement this,
+# transition dates for 2019 through 2037 were determined by running the
+# following program under GNU Emacs 26.1.
+# (let ((islamic-year 1440))
+#   (require 'cal-islam)
+#   (while (< islamic-year 1460)
+#     (let ((a (calendar-islamic-to-absolute (list 9 1 islamic-year)))
+#           (b (calendar-islamic-to-absolute (list 10 1 islamic-year)))
+#           (sunday 0))
+#       (while (/= sunday (mod (setq a (1- a)) 7)))
+#       (while (/= sunday (mod b 7))
+#         (setq b (1+ b)))
+#       (setq a (calendar-gregorian-from-absolute a))
+#       (setq b (calendar-gregorian-from-absolute b))
+#       (insert
+#        (format
+#         (concat "Rule\tMorocco\t%d\tonly\t-\t%s\t%2d\t 3:00\t-1:00\t-\n"
+#                 "Rule\tMorocco\t%d\tonly\t-\t%s\t%2d\t 2:00\t0\t-\n")
+#         (car (cdr (cdr a))) (calendar-month-name (car a) t) (car (cdr a))
+#         (car (cdr (cdr b))) (calendar-month-name (car b) t) (car (cdr b)))))
+#     (setq islamic-year (+ 1 islamic-year))))
 
 # RULE NAME    FROM    TO      TYPE    IN      ON      AT      SAVE    LETTER/S
 Rule   Morocco 1939    only    -       Sep     12       0:00   1:00    -
@@ -892,13 +925,53 @@
 Rule   Morocco 2017    only    -       Jul      2       2:00   1:00    -
 Rule   Morocco 2018    only    -       May     13       3:00   0       -
 Rule   Morocco 2018    only    -       Jun     17       2:00   1:00    -
+Rule   Morocco 2019    only    -       May      5       3:00   -1:00   -
+Rule   Morocco 2019    only    -       Jun      9       2:00   0       -
+Rule   Morocco 2020    only    -       Apr     19       3:00   -1:00   -
+Rule   Morocco 2020    only    -       May     24       2:00   0       -
+Rule   Morocco 2021    only    -       Apr     11       3:00   -1:00   -
+Rule   Morocco 2021    only    -       May     16       2:00   0       -
+Rule   Morocco 2022    only    -       Mar     27       3:00   -1:00   -
+Rule   Morocco 2022    only    -       May      8       2:00   0       -
+Rule   Morocco 2023    only    -       Mar     19       3:00   -1:00   -
+Rule   Morocco 2023    only    -       Apr     23       2:00   0       -
+Rule   Morocco 2024    only    -       Mar     10       3:00   -1:00   -
+Rule   Morocco 2024    only    -       Apr     14       2:00   0       -
+Rule   Morocco 2025    only    -       Feb     23       3:00   -1:00   -
+Rule   Morocco 2025    only    -       Apr      6       2:00   0       -
+Rule   Morocco 2026    only    -       Feb     15       3:00   -1:00   -
+Rule   Morocco 2026    only    -       Mar     22       2:00   0       -
+Rule   Morocco 2027    only    -       Feb      7       3:00   -1:00   -
+Rule   Morocco 2027    only    -       Mar     14       2:00   0       -
+Rule   Morocco 2028    only    -       Jan     23       3:00   -1:00   -
+Rule   Morocco 2028    only    -       Feb     27       2:00   0       -
+Rule   Morocco 2029    only    -       Jan     14       3:00   -1:00   -
+Rule   Morocco 2029    only    -       Feb     18       2:00   0       -
+Rule   Morocco 2029    only    -       Dec     30       3:00   -1:00   -
+Rule   Morocco 2030    only    -       Feb     10       2:00   0       -
+Rule   Morocco 2030    only    -       Dec     22       3:00   -1:00   -
+Rule   Morocco 2031    only    -       Jan     26       2:00   0       -
+Rule   Morocco 2031    only    -       Dec     14       3:00   -1:00   -



Home | Main Index | Thread Index | Old Index