Source-Changes-HG archive

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

[src/netbsd-6]: src Pull up the following revisions, requested by kre in tick...



details:   https://anonhg.NetBSD.org/src/rev/71b0d24c12af
branches:  netbsd-6
changeset: 777307:71b0d24c12af
user:      martin <martin%NetBSD.org@localhost>
date:      Sun Mar 25 18:31:02 2018 +0000

description:
Pull up the following revisions, requested by kre in tickt #1539:

        external/public-domain/tz/dist/CONTRIBUTING     up to 1.1.1.5
        external/public-domain/tz/dist/Makefile         up to 1.1.1.20
        external/public-domain/tz/dist/NEWS             up to 1.1.1.21
        external/public-domain/tz/dist/README           up to 1.1.1.6
        external/public-domain/tz/dist/TZDATA_VERSION   up to 1.11
        external/public-domain/tz/dist/africa           up to 1.1.1.14
        external/public-domain/tz/dist/antarctica       up to 1.1.1.10
        external/public-domain/tz/dist/asia             up to 1.1.1.19
        external/public-domain/tz/dist/australasia      up to 1.1.1.14
        external/public-domain/tz/dist/backzone         up to 1.1.1.14
        external/public-domain/tz/dist/calendars        up to 1.1.1.1
        external/public-domain/tz/dist/checktab.awk     up to 1.1.1.9
        external/public-domain/tz/dist/europe           up to 1.1.1.20
        external/public-domain/tz/dist/leap-seconds.list up to 1.1.1.9
        external/public-domain/tz/dist/leapseconds      up to 1.1.1.10
        external/public-domain/tz/dist/northamerica     up to 1.1.1.19
        external/public-domain/tz/dist/southamerica     up to 1.1.1.14
        external/public-domain/tz/dist/theory.html      up to 1.1.1.3
        external/public-domain/tz/dist/version          up to 1.1.1.8
        external/public-domain/tz/dist/ziguard.awk      up to 1.1.1.1
        external/public-domain/tz/dist/zishrink.awk     up to 1.1.1.3
        external/public-domain/tz/dist/zone.tab         up to 1.1.1.14
        external/public-domain/tz/dist/zone1970.tab     up to 1.1.1.16
                (with external/public-domain/tz/dist/ -> share/zoneinfo/)
        share/zoneinfo/Theory                           delete
        doc/3RDPARTY                                    (patch)
        distrib/sets/lists/base/mi                      1.1164


Update of /cvsroot/src/external/public-domain/tz/dist
In directory ivanova.netbsd.org:/tmp/cvs-serv18468

Log Message:
Import tzdata2018d from ftp://ftp.iana.org/tz/releases/tzdata2018d.tar.gz

Summary of changes in tzdata2018d (2018-03-22 07:05:46 -0700):

        In 2018, Palestine starts DST on March 24 (today!), not March 31

        Casey Station in Antarctica changed from +11 to +08 on 2018-03-11
        at 04:00.

        Various adjustments to some historical conversions (several for
        Uruguay (1920 .. 1990), one fpr Enderbury and Kiritimati (1994/5),
        one for Portugal and colonies (1912) and Jamaica and Turks & Caicos
        (pre 1913)).

Summary of changes in tzdata2017c:

        Northern Cyprus switches from +03 to +02/+03 on 2017-10-29.
        Fiji ends DST 2018-01-14, not 2018-01-21.
        Namibia switches from +01/+02 to +02 on 2018-04-01.
        Sudan switches from +03 to +02 on 2017-11-01.
        Tonga likely switches from +13/+14 to +13 on 2017-11-05.
        Turks & Caicos switches from -04 to -05/-04 on 2018-11-04.
        Some corrections to (mostly ancient) historical data.

Summary of changes in tzdata2018c (2018-01-22 23:00:44 -0800):
Summary of changes in tzdata2018b (2018-01-17 23:24:48 -0800):
Summary of changes in tzdata2018a (2018-01-12 22:29:21 -0800):

        2018a and 2018b were (kind of) released, but never announced.
        Some "issues" were found with them that caused the relatively
        quick updates...

        The updates are from the previous version (2017c) to the
        current one (2018c) - that 2018a & 2018b intervened is best
        forgotten... (changes in 2018a that were corrected (2018b) or
        reverted (2018c) are not mentioned).

        Briefly:

             Sao Tome and Principe (An island nation off west coast of
             Equatorial Africa) switched from +00 to +01.

             Brazil's DST will now start on November's first Sunday.


             Use Debian-style installation locations, instead of 4.3BSD-style.
                (this does not affect NetBSD, we do not use the tzdata Makefile)

        Changes to past and future time stamps

            Sao Tome and Principe switched from +00 to +01 on 2018-01-01 at
            01:00.  (Thanks to Steffen Thorsen and Michael Deckers.)

          Changes to future time stamps

            Starting in 2018 southern Brazil will begin DST on November's
            first Sunday instead of October's third Sunday.  (Thanks to
            Steffen Thorsen.)

        Changes to past time stamps

            Japanese DST transitions (1948-1951) were Sundays at 00:00, not
            Saturdays or Sundays at 02:00.  (Thanks to Takayuki Nikai.)

            A discrepancy of 4 s in timestamps before 1931 in South Sudan has
            been corrected.  The 'backzone' and 'zone.tab' files did not agree
            with the 'africa' and 'zone1970.tab' files.  (Problem reported by
            Michael Deckers.)

            The abbreviation invented for Bolivia Summer Time (1931-2) is now
            BST instead of BOST, to be more consistent with the convention
            used for Latvian Summer Time (1918-9) and for British Summer Time.

diffstat:

 distrib/sets/lists/base/mi       |     4 +-
 doc/3RDPARTY                     |     6 +-
 share/zoneinfo/CONTRIBUTING      |    30 +-
 share/zoneinfo/LICENSE           |     9 +-
 share/zoneinfo/Makefile          |  1035 +++++++++++++++++++++++++++--
 share/zoneinfo/NEWS              |   483 +++++++++++++-
 share/zoneinfo/README            |     4 +-
 share/zoneinfo/TZDATA_VERSION    |     2 +-
 share/zoneinfo/Theory            |   870 -------------------------
 share/zoneinfo/africa            |   170 +++-
 share/zoneinfo/antarctica        |    11 +-
 share/zoneinfo/asia              |   355 ++++++----
 share/zoneinfo/australasia       |   185 +++--
 share/zoneinfo/backward          |     4 +-
 share/zoneinfo/backzone          |    70 +-
 share/zoneinfo/calendars         |   173 +++++
 share/zoneinfo/checklinks.awk    |     4 +-
 share/zoneinfo/checktab.awk      |     9 +
 share/zoneinfo/europe            |   251 ++++--
 share/zoneinfo/leap-seconds.list |    15 +-
 share/zoneinfo/leapseconds       |    17 +-
 share/zoneinfo/leapseconds.awk   |    13 +-
 share/zoneinfo/northamerica      |   210 ++++--
 share/zoneinfo/southamerica      |   479 +++++++++----
 share/zoneinfo/theory.html       |  1287 ++++++++++++++++++++++++++++++++++++++
 share/zoneinfo/version           |     2 +-
 share/zoneinfo/ziguard.awk       |    62 +
 share/zoneinfo/zishrink.awk      |   157 ++++
 share/zoneinfo/zone.tab          |     8 +-
 share/zoneinfo/zone1970.tab      |    14 +-
 30 files changed, 4272 insertions(+), 1667 deletions(-)

diffs (truncated from 8589 to 300 lines):

diff -r 0eef6244e417 -r 71b0d24c12af distrib/sets/lists/base/mi
--- a/distrib/sets/lists/base/mi        Tue Mar 13 18:06:22 2018 +0000
+++ b/distrib/sets/lists/base/mi        Sun Mar 25 18:31:02 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.984.2.24 2017/08/30 07:11:11 snj Exp $
+# $NetBSD: mi,v 1.984.2.25 2018/03/25 18:31:03 martin Exp $
 #
 # Note:        Don't delete entries from here - mark them as "obsolete" instead,
 #      unless otherwise stated below.
@@ -4664,7 +4664,7 @@
 ./usr/share/zoneinfo/Canada                    base-sys-share
 ./usr/share/zoneinfo/Canada/Atlantic           base-sys-share          share
 ./usr/share/zoneinfo/Canada/Central            base-sys-share          share
-./usr/share/zoneinfo/Canada/East-Saskatchewan  base-sys-share          share
+./usr/share/zoneinfo/Canada/East-Saskatchewan  base-obsolete           obsolete
 ./usr/share/zoneinfo/Canada/Eastern            base-sys-share          share
 ./usr/share/zoneinfo/Canada/Mountain           base-sys-share          share
 ./usr/share/zoneinfo/Canada/Newfoundland       base-sys-share          share
diff -r 0eef6244e417 -r 71b0d24c12af doc/3RDPARTY
--- a/doc/3RDPARTY      Tue Mar 13 18:06:22 2018 +0000
+++ b/doc/3RDPARTY      Sun Mar 25 18:31:02 2018 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: 3RDPARTY,v 1.909.2.39 2017/08/30 05:48:08 snj Exp $
+#      $NetBSD: 3RDPARTY,v 1.909.2.40 2018/03/25 18:31:02 martin Exp $
 #
 # This file contains a list of the software that has been integrated into
 # NetBSD where we are not the primary maintainer.
@@ -1143,8 +1143,8 @@
 Added changes from a5 -> a12 manually.
 
 Package:       tz
-Version:       tzcode2011i / tzdata2017b
-Current Vers:  tzcode2014j / tzdata2017b
+Version:       tzcode2011i / tzdata2018d
+Current Vers:  tzcode2018d / tzdata2018b
 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 0eef6244e417 -r 71b0d24c12af share/zoneinfo/CONTRIBUTING
--- a/share/zoneinfo/CONTRIBUTING       Tue Mar 13 18:06:22 2018 +0000
+++ b/share/zoneinfo/CONTRIBUTING       Sun Mar 25 18:31:02 2018 +0000
@@ -5,21 +5,28 @@
 warning, the data entries do not cover all of civil time before
 1970, and undoubtedly errors remain in the code and data.  Feel
 free to fill gaps or fix mistakes, and please email improvements
-to tz%iana.org@localhost for use in the future.
+to tz%iana.org@localhost for use in the future.  In your email, please give
+reliable sources that reviewers can check.
+
+-----
+
+Developers can contribute technical changes to the source code and
+data as follows.
 
 To email small changes, please run a POSIX shell command like
 'diff -u old/europe new/europe >myfix.patch', and attach
 myfix.patch to the email.
 
-For more-elaborate changes, please read the Theory file and browse
-the mailing list archives <http://mm.icann.org/pipermail/tz/> for
-examples of patches that tend to work well.  Ideally, additions to
+For more-elaborate changes, please read the theory.html file and browse
+the mailing list archives <https://mm.icann.org/pipermail/tz/> for
+examples of patches that tend to work well.  Additions to
 data should contain commentary citing reliable sources as
-justification.
+justification.  Citations should use https: URLs if available.
 
 Please submit changes against either the latest release in
-<ftp://ftp.iana.org/tz/> or the master branch of the development
-repository.  If you use Git the following workflow may be helpful:
+<https://www.iana.org/time-zones> or the master branch of the development
+repository.  The latter is preferred.  If you use Git the following
+workflow may be helpful:
 
   * Copy the development repository.
 
@@ -36,6 +43,12 @@
 
       git checkout -b mybranch
 
+  * Sleuth by using 'git blame'.  For example, when fixing data for
+    Africa/Sao_Tome, if the command 'git blame africa' outputs a line
+    '2951fa3b (Paul Eggert 2018-01-08 09:03:13 -0800 1068) Zone
+    Africa/Sao_Tome 0:26:56 - LMT 1884', commit 2951fa3b should
+    provide some justification for the 'Zone Africa/Sao_Tome' line.
+
   * Edit source files.  Include commentary that justifies the
     changes by citing reliable sources.
 
@@ -61,6 +74,9 @@
 
       git send-email master
 
+    For an archived example of such an email, see
+    <https://mm.icann.org/pipermail/tz/2018-February/026122.html>.
+
   * Start anew by getting current with the master branch again
     (the second step above).
 
diff -r 0eef6244e417 -r 71b0d24c12af share/zoneinfo/LICENSE
--- a/share/zoneinfo/LICENSE    Tue Mar 13 18:06:22 2018 +0000
+++ b/share/zoneinfo/LICENSE    Sun Mar 25 18:31:02 2018 +0000
@@ -1,4 +1,5 @@
-With a few exceptions, all files in the tz code and data (including
-this one) are in the public domain.  The exceptions are date.c,
-newstrftime.3, and strftime.c, which contain material derived from BSD
-and which use the BSD 3-clause license.
+Unless specified below, all files in the tz code and data (including
+this LICENSE file) are in the public domain.
+
+If the files date.c, newstrftime.3, and strftime.c are present, they
+contain material derived from BSD and use the BSD 3-clause license.
diff -r 0eef6244e417 -r 71b0d24c12af share/zoneinfo/Makefile
--- a/share/zoneinfo/Makefile   Tue Mar 13 18:06:22 2018 +0000
+++ b/share/zoneinfo/Makefile   Sun Mar 25 18:31:02 2018 +0000
@@ -1,19 +1,43 @@
-#      $NetBSD: Makefile,v 1.43.8.3 2017/08/10 05:59:06 snj Exp $
+# This file is in the public domain, so clarified as of
+# 2009-05-17 by Arthur David Olson.
+
+# Package name for the code distribution.
+PACKAGE=       tzcode
 
-.include <bsd.own.mk>
+# Version number for the distribution, overridden in the 'tarballs' rule below.
+VERSION=       unknown
+
+# Email address for bug reports.
+BUGEMAIL=      tz%iana.org@localhost
 
-TZDISTDIR=${.CURDIR}
+# Choose source data features.  To get new features right away, use:
+#      DATAFORM=       vanguard
+# To wait a while before using new features, to give downstream users
+# time to upgrade zic (the default), use:
+#      DATAFORM=       main
+# To wait even longer for new features, use:
+#      DATAFORM=       rearguard
+DATAFORM=              main
 
-.PATH: ${TZDISTDIR}
+# Change the line below for your time zone (after finding the zone you want in
+# the time zone files, or adding it to a time zone file).
+# Alternately, if you discover you've got the wrong time zone, you can just
+#      zic -l rightzone
+# to correct things.
+# Use the command
+#      make zonenames
+# to get a list of the values you can use for LOCALTIME.
+
+LOCALTIME=     GMT
 
 # If you want something other than Eastern United States time as a template
 # for handling POSIX-style time zone environment variables,
 # change the line below (after finding the zone you want in the
 # time zone files, or adding it to a time zone file).
-# (When a POSIX-style environment variable is handled, the rules in the
+# When a POSIX-style environment variable is handled, the rules in the
 # template file are used to determine "spring forward" and "fall back" days and
 # times; the environment variable itself specifies UT offsets of standard and
-# summer time.)
+# daylight saving time.
 # Alternately, if you discover you've got the wrong time zone, you can just
 #      zic -p rightzone
 # to correct things.
@@ -24,18 +48,72 @@
 
 POSIXRULES=    America/New_York
 
+# Also see TZDEFRULESTRING below, which takes effect only
+# if the time zone files cannot be accessed.
+
+
+# Installation locations.
+#
+# The defaults are suitable for Debian, except that if REDO is
+# posix_right or right_posix then files that Debian puts under
+# /usr/share/zoneinfo/posix and /usr/share/zoneinfo/right are instead
+# put under /usr/share/zoneinfo-posix and /usr/share/zoneinfo-leaps,
+# respectively.  Problems with the Debian approach are discussed in
+# the commentary for the right_posix rule (below).
+
+# Destination directory, which can be used for staging.
+# 'make DESTDIR=/stage install' installs under /stage (e.g., to
+# /stage/etc/localtime instead of to /etc/localtime).  Files under
+# /stage are not intended to work as-is, but can be copied by hand to
+# the root directory later.  If DESTDIR is empty, 'make install' does
+# not stage, but installs directly into production locations.
+DESTDIR =
+
+# Everything is installed into subdirectories of TOPDIR, and used there.
+# TOPDIR should be empty (meaning the root directory),
+# or a directory name that does not end in "/".
+# TOPDIR should be empty or an absolute name unless you're just testing.
+TOPDIR =
+
+# The default local time zone is taken from the file TZDEFAULT.
+TZDEFAULT = $(TOPDIR)/etc/localtime
+
+# The subdirectory containing installed program and data files, and
+# likewise for installed files that can be shared among architectures.
+# These should be relative file names.
+USRDIR = usr
+USRSHAREDIR = $(USRDIR)/share
+
 # "Compiled" time zone information is placed in the "TZDIR" directory
 # (and subdirectories).
-# Use an absolute path name for TZDIR unless you're just testing the software.
-# Note: ${DESTDIR} is prepended to this for the actual copy.
+# TZDIR_BASENAME should not contain "/" and should not be ".", ".." or empty.
+TZDIR_BASENAME=        zoneinfo
+TZDIR = $(TOPDIR)/$(USRSHAREDIR)/$(TZDIR_BASENAME)
 
-TZDIR= /usr/share/zoneinfo
+# The "tzselect" and (if you do "make INSTALL") "date" commands go in:
+BINDIR = $(TOPDIR)/$(USRDIR)/bin
+
+# The "zdump" command goes in:
+ZDUMPDIR = $(BINDIR)
+
+# The "zic" command goes in:
+ZICDIR = $(TOPDIR)/$(USRDIR)/sbin
 
-# If you always want time values interpreted as "seconds since the epoch
-# (not counting leap seconds)", use
+# Manual pages go in subdirectories of. . .
+MANDIR = $(TOPDIR)/$(USRSHAREDIR)/man
+
+# Library functions are put in an archive in LIBDIR.
+LIBDIR = $(TOPDIR)/$(USRDIR)/lib
+
+
+# Types to try, as an alternative to time_t.  int64_t should be first.
+TIME_T_ALTERNATIVES = int64_t int32_t uint32_t uint64_t
+
+# If you want only POSIX time, with time values interpreted as
+# seconds since the epoch (not counting leap seconds), use
 #      REDO=           posix_only
-# below.  If you always want right time values interpreted as "seconds since
-# the epoch" (counting leap seconds)", use
+# below.  If you want only "right" time, with values interpreted
+# as seconds since the epoch (counting leap seconds), use
 #      REDO=           right_only
 # below.  If you want both sets of data available, with leap seconds not
 # counted normally, use
@@ -43,109 +121,864 @@
 # below.  If you want both sets of data available, with leap seconds counted
 # normally, use
 #      REDO=           right_posix
-# below.
+# below.  POSIX mandates that leap seconds not be counted; for compatibility
+# with it, use "posix_only" or "posix_right".  Use POSIX time on systems with
+# leap smearing; this can work better than unsmeared "right" time with
+# applications that are not leap second aware, and is closer to unsmeared
+# "right" time than unsmeared POSIX time is (e.g., 0.5 vs 1.0 s max error).
+
+REDO=          posix_right
+
+# To install data in text form that has all the information of the binary data,
+# (optionally incorporating leap second information), use
+#      TZDATA_TEXT=    tzdata.zi leapseconds
+# To install text data without leap second information (e.g., because
+# REDO='posix_only'), use
+#      TZDATA_TEXT=    tzdata.zi
+# To avoid installing text data, use
+#      TZDATA_TEXT=
+
+TZDATA_TEXT=   leapseconds tzdata.zi
 
-REDO=          posix_only
+# For backward-compatibility links for old zone names, use
+#      BACKWARD=       backward
+# If you also want the link US/Pacific-New, even though it is confusing
+# and is planned to be removed from the database eventually, use
+#      BACKWARD=       backward pacificnew
+# To omit these links, use
+#      BACKWARD=
+
+BACKWARD=      backward
+
+# If you want out-of-scope and often-wrong data from the file 'backzone', use
+#      PACKRATDATA=    backzone
+# To omit this data, use
+#      PACKRATDATA=
+
+PACKRATDATA=
+
+# The name of a locale using the UTF-8 encoding, used during self-tests.
+# The tests are skipped if the name does not appear to work on this system.
+
+UTF8_LOCALE=   en_US.utf8
 
 # Since "." may not be in PATH...
-YEARISTYPE=    "${HOST_SH} ${TZDISTDIR}/yearistype.sh"
+
+YEARISTYPE=    ./yearistype
+
+# Non-default libraries needed to link.
+LDLIBS=



Home | Main Index | Thread Index | Old Index