Source-Changes-HG archive

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

[src/netbsd-6-0]: src Apply patch (requested by mrg in ticket #1467):



details:   https://anonhg.NetBSD.org/src/rev/c05986833a3d
branches:  netbsd-6-0
changeset: 775219:c05986833a3d
user:      snj <snj%NetBSD.org@localhost>
date:      Thu Aug 10 06:59:38 2017 +0000

description:
Apply patch (requested by mrg in ticket #1467):
Update tzdata to 2017b.

diffstat:

 distrib/sets/lists/base/mi       |    27 +-
 doc/3RDPARTY                     |     6 +-
 share/zoneinfo/CONTRIBUTING      |    73 ++
 share/zoneinfo/LICENSE           |     4 +
 share/zoneinfo/Makefile          |    63 +-
 share/zoneinfo/NEWS              |  1127 ++++++++++++++++++++++++++++++++--
 share/zoneinfo/README            |    52 +
 share/zoneinfo/TZDATA_VERSION    |     1 +
 share/zoneinfo/Theory            |   870 ++++++++++++++++++++++++++
 share/zoneinfo/africa            |   291 ++++----
 share/zoneinfo/antarctica        |   139 +--
 share/zoneinfo/asia              |   970 ++++++++++++++++++-----------
 share/zoneinfo/australasia       |   272 ++++---
 share/zoneinfo/backward          |     6 +-
 share/zoneinfo/backzone          |   232 +++++--
 share/zoneinfo/checklinks.awk    |    48 +
 share/zoneinfo/checktab.awk      |   177 +++++
 share/zoneinfo/etcetera          |    74 +-
 share/zoneinfo/europe            |  1225 +++++++++++++++++++++++++------------
 share/zoneinfo/factory           |     9 +-
 share/zoneinfo/iso3166.tab       |    23 +-
 share/zoneinfo/leap-seconds.list |    25 +-
 share/zoneinfo/leapseconds       |     6 +
 share/zoneinfo/leapseconds.awk   |    10 +
 share/zoneinfo/northamerica      |   512 +++++++++++----
 share/zoneinfo/solar87           |   390 ------------
 share/zoneinfo/solar88           |   390 ------------
 share/zoneinfo/solar89           |   395 ------------
 share/zoneinfo/southamerica      |   769 +++++++++++++----------
 share/zoneinfo/version           |     1 +
 share/zoneinfo/yearistype.sh     |     3 -
 share/zoneinfo/zone.tab          |   302 ++++----
 share/zoneinfo/zone1970.tab      |   307 ++++----
 share/zoneinfo/zoneinfo2tdf.pl   |    52 +
 34 files changed, 5521 insertions(+), 3330 deletions(-)

diffs (truncated from 12668 to 300 lines):

diff -r bb297b3bbe9c -r c05986833a3d distrib/sets/lists/base/mi
--- a/distrib/sets/lists/base/mi        Tue Aug 08 11:58:43 2017 +0000
+++ b/distrib/sets/lists/base/mi        Thu Aug 10 06:59:38 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.984.2.10.2.6 2015/03/05 22:26:36 riz Exp $
+# $NetBSD: mi,v 1.984.2.10.2.7 2017/08/10 06:59:38 snj Exp $
 #
 # Note:        Don't delete entries from here - mark them as "obsolete" instead,
 #      unless otherwise stated below.
@@ -4366,9 +4366,9 @@
 ./usr/share/zoneinfo/America/Coral_Harbour     base-sys-share          share
 ./usr/share/zoneinfo/America/Cordoba           base-sys-share          share
 ./usr/share/zoneinfo/America/Costa_Rica                base-sys-share          share
+./usr/share/zoneinfo/America/Creston           base-sys-share          share
 ./usr/share/zoneinfo/America/Cuiaba            base-sys-share          share
 ./usr/share/zoneinfo/America/Curacao           base-sys-share          share
-./usr/share/zoneinfo/America/Creston           base-sys-share          share
 ./usr/share/zoneinfo/America/Danmarkshavn      base-sys-share          share
 ./usr/share/zoneinfo/America/Dawson            base-sys-share          share
 ./usr/share/zoneinfo/America/Dawson_Creek      base-sys-share          share
@@ -4379,6 +4379,7 @@
 ./usr/share/zoneinfo/America/Eirunepe          base-sys-share          share
 ./usr/share/zoneinfo/America/El_Salvador       base-sys-share          share
 ./usr/share/zoneinfo/America/Ensenada          base-sys-share          share
+./usr/share/zoneinfo/America/Fort_Nelson       base-sys-share          share
 ./usr/share/zoneinfo/America/Fort_Wayne                base-sys-share          share
 ./usr/share/zoneinfo/America/Fortaleza         base-sys-share          share
 ./usr/share/zoneinfo/America/Glace_Bay         base-sys-share          share
@@ -4455,6 +4456,7 @@
 ./usr/share/zoneinfo/America/Porto_Acre                base-sys-share          share
 ./usr/share/zoneinfo/America/Porto_Velho       base-sys-share          share
 ./usr/share/zoneinfo/America/Puerto_Rico       base-sys-share          share
+./usr/share/zoneinfo/America/Punta_Arenas      base-sys-share          share
 ./usr/share/zoneinfo/America/Rainy_River       base-sys-share          share
 ./usr/share/zoneinfo/America/Rankin_Inlet      base-sys-share          share
 ./usr/share/zoneinfo/America/Recife            base-sys-share          share
@@ -4515,10 +4517,12 @@
 ./usr/share/zoneinfo/Asia/Aqtobe               base-sys-share          share
 ./usr/share/zoneinfo/Asia/Ashgabat             base-sys-share          share
 ./usr/share/zoneinfo/Asia/Ashkhabad            base-sys-share          share
+./usr/share/zoneinfo/Asia/Atyrau               base-sys-share          share
 ./usr/share/zoneinfo/Asia/Baghdad              base-sys-share          share
 ./usr/share/zoneinfo/Asia/Bahrain              base-sys-share          share
 ./usr/share/zoneinfo/Asia/Baku                 base-sys-share          share
 ./usr/share/zoneinfo/Asia/Bangkok              base-sys-share          share
+./usr/share/zoneinfo/Asia/Barnaul              base-sys-share          share
 ./usr/share/zoneinfo/Asia/Beirut               base-sys-share          share
 ./usr/share/zoneinfo/Asia/Bishkek              base-sys-share          share
 ./usr/share/zoneinfo/Asia/Brunei               base-sys-share          share
@@ -4534,6 +4538,7 @@
 ./usr/share/zoneinfo/Asia/Dili                 base-sys-share          share
 ./usr/share/zoneinfo/Asia/Dubai                        base-sys-share          share
 ./usr/share/zoneinfo/Asia/Dushanbe             base-sys-share          share
+./usr/share/zoneinfo/Asia/Famagusta            base-sys-share          share
 ./usr/share/zoneinfo/Asia/Gaza                 base-sys-share          share
 ./usr/share/zoneinfo/Asia/Harbin               base-sys-share          share
 ./usr/share/zoneinfo/Asia/Hebron               base-sys-share          share
@@ -4576,9 +4581,9 @@
 ./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
-./usr/share/zoneinfo/Asia/Riyadh87             base-sys-share          share
-./usr/share/zoneinfo/Asia/Riyadh88             base-sys-share          share
-./usr/share/zoneinfo/Asia/Riyadh89             base-sys-share          share
+./usr/share/zoneinfo/Asia/Riyadh87             base-obsolete           obsolete
+./usr/share/zoneinfo/Asia/Riyadh88             base-obsolete           obsolete
+./usr/share/zoneinfo/Asia/Riyadh89             base-obsolete           obsolete
 ./usr/share/zoneinfo/Asia/Saigon               base-sys-share          share
 ./usr/share/zoneinfo/Asia/Sakhalin             base-sys-share          share
 ./usr/share/zoneinfo/Asia/Samarkand            base-sys-share          share
@@ -4603,6 +4608,7 @@
 ./usr/share/zoneinfo/Asia/Vientiane            base-sys-share          share
 ./usr/share/zoneinfo/Asia/Vladivostok          base-sys-share          share
 ./usr/share/zoneinfo/Asia/Yakutsk              base-sys-share          share
+./usr/share/zoneinfo/Asia/Yangon               base-sys-share          share
 ./usr/share/zoneinfo/Asia/Yekaterinburg                base-sys-share          share
 ./usr/share/zoneinfo/Asia/Yerevan              base-sys-share          share
 ./usr/share/zoneinfo/Atlantic                  base-sys-share
@@ -4707,6 +4713,7 @@
 ./usr/share/zoneinfo/Europe                    base-sys-share
 ./usr/share/zoneinfo/Europe/Amsterdam          base-sys-share          share
 ./usr/share/zoneinfo/Europe/Andorra            base-sys-share          share
+./usr/share/zoneinfo/Europe/Astrakhan          base-sys-share          share
 ./usr/share/zoneinfo/Europe/Athens             base-sys-share          share
 ./usr/share/zoneinfo/Europe/Belfast            base-sys-share          share
 ./usr/share/zoneinfo/Europe/Belgrade           base-sys-share          share
@@ -4727,6 +4734,7 @@
 ./usr/share/zoneinfo/Europe/Jersey             base-sys-share          share
 ./usr/share/zoneinfo/Europe/Kaliningrad                base-sys-share          share
 ./usr/share/zoneinfo/Europe/Kiev               base-sys-share          share
+./usr/share/zoneinfo/Europe/Kirov              base-sys-share          share
 ./usr/share/zoneinfo/Europe/Kuybyshev          base-obsolete           obsolete
 ./usr/share/zoneinfo/Europe/Lisbon             base-sys-share          share
 ./usr/share/zoneinfo/Europe/Ljubljana          base-sys-share          share
@@ -4748,6 +4756,7 @@
 ./usr/share/zoneinfo/Europe/Samara             base-sys-share          share
 ./usr/share/zoneinfo/Europe/San_Marino         base-sys-share          share
 ./usr/share/zoneinfo/Europe/Sarajevo           base-sys-share          share
+./usr/share/zoneinfo/Europe/Saratov            base-sys-share          share
 ./usr/share/zoneinfo/Europe/Simferopol         base-sys-share          share
 ./usr/share/zoneinfo/Europe/Skopje             base-sys-share          share
 ./usr/share/zoneinfo/Europe/Sofia              base-sys-share          share
@@ -4755,6 +4764,7 @@
 ./usr/share/zoneinfo/Europe/Tallinn            base-sys-share          share
 ./usr/share/zoneinfo/Europe/Tirane             base-sys-share          share
 ./usr/share/zoneinfo/Europe/Tiraspol           base-sys-share          share
+./usr/share/zoneinfo/Europe/Ulyanovsk          base-sys-share          share
 ./usr/share/zoneinfo/Europe/Uzhgorod           base-sys-share          share
 ./usr/share/zoneinfo/Europe/Vaduz              base-sys-share          share
 ./usr/share/zoneinfo/Europe/Vatican            base-sys-share          share
@@ -4840,9 +4850,9 @@
 ./usr/share/zoneinfo/Mexico/BajaSur            base-sys-share          share
 ./usr/share/zoneinfo/Mexico/General            base-sys-share          share
 ./usr/share/zoneinfo/Mideast                   base-sys-share
-./usr/share/zoneinfo/Mideast/Riyadh87          base-sys-share          share
-./usr/share/zoneinfo/Mideast/Riyadh88          base-sys-share          share
-./usr/share/zoneinfo/Mideast/Riyadh89          base-sys-share          share
+./usr/share/zoneinfo/Mideast/Riyadh87          base-obsolete           obsolete
+./usr/share/zoneinfo/Mideast/Riyadh88          base-obsolete           obsolete
+./usr/share/zoneinfo/Mideast/Riyadh89          base-obsolete           obsolete
 ./usr/share/zoneinfo/Moscow                    base-obsolete           obsolete
 ./usr/share/zoneinfo/NZ                                base-sys-share          share
 ./usr/share/zoneinfo/NZ-CHAT                   base-sys-share          share
@@ -4912,6 +4922,7 @@
 ./usr/share/zoneinfo/SystemV/PST8PDT           base-obsolete           obsolete
 ./usr/share/zoneinfo/SystemV/YST9              base-obsolete           obsolete
 ./usr/share/zoneinfo/SystemV/YST9YDT           base-obsolete           obsolete
+./usr/share/zoneinfo/TZDATA_VERSION            base-sys-share          share
 ./usr/share/zoneinfo/Turkey                    base-sys-share          share
 ./usr/share/zoneinfo/UCT                       base-sys-share          share
 ./usr/share/zoneinfo/US                                base-sys-share
diff -r bb297b3bbe9c -r c05986833a3d doc/3RDPARTY
--- a/doc/3RDPARTY      Tue Aug 08 11:58:43 2017 +0000
+++ b/doc/3RDPARTY      Thu Aug 10 06:59:38 2017 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: 3RDPARTY,v 1.909.2.14.2.20 2017/05/04 05:53:37 snj Exp $
+#      $NetBSD: 3RDPARTY,v 1.909.2.14.2.21 2017/08/10 06:59:38 snj 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 / tzdata2014j
-Current Vers:  tzcode2014j / tzdata2014j
+Version:       tzcode2011i / tzdata2017b
+Current Vers:  tzcode2014j / tzdata2017b
 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 bb297b3bbe9c -r c05986833a3d share/zoneinfo/CONTRIBUTING
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/share/zoneinfo/CONTRIBUTING       Thu Aug 10 06:59:38 2017 +0000
@@ -0,0 +1,73 @@
+Contributing to the tz code and data
+
+The time zone database is by no means authoritative: governments
+change timekeeping rules erratically and sometimes with little
+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 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
+data should contain commentary citing reliable sources as
+justification.
+
+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:
+
+  * Copy the development repository.
+
+      git clone https://github.com/eggert/tz.git
+      cd tz
+
+  * Get current with the master branch.
+
+      git checkout master
+      git pull
+
+  * Switch to a new branch for the changes.  Choose a different
+    branch name for each change set.
+
+      git checkout -b mybranch
+
+  * Edit source files.  Include commentary that justifies the
+    changes by citing reliable sources.
+
+  * Debug the changes, e.g.:
+
+      make check
+      make install
+      ./zdump -v America/Los_Angeles
+
+  * For each separable change, commit it in the new branch, e.g.:
+
+      git add northamerica
+      git commit
+
+    See recent 'git log' output for the commit-message style.
+
+  * Create patch files 0001-*, 0002-*, ...
+
+      git format-patch master
+
+  * After reviewing the patch files, send the patches to tz%iana.org@localhost
+    for others to review.
+
+      git send-email master
+
+  * Start anew by getting current with the master branch again
+    (the second step above).
+
+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 bb297b3bbe9c -r c05986833a3d share/zoneinfo/LICENSE
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/share/zoneinfo/LICENSE    Thu Aug 10 06:59:38 2017 +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 date.c,
+newstrftime.3, and strftime.c, which contain material derived from BSD
+and which use the BSD 3-clause license.
diff -r bb297b3bbe9c -r c05986833a3d share/zoneinfo/Makefile
--- a/share/zoneinfo/Makefile   Tue Aug 08 11:58:43 2017 +0000
+++ b/share/zoneinfo/Makefile   Thu Aug 10 06:59:38 2017 +0000
@@ -1,21 +1,31 @@
-#      $NetBSD: Makefile,v 1.43.14.1 2014/08/15 23:37:04 riz Exp $
+#      $NetBSD: Makefile,v 1.43.14.2 2017/08/10 06:59:38 snj Exp $
 
 .include <bsd.own.mk>
 
-# 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
+TZDISTDIR=${.CURDIR}
+
+.PATH: ${TZDISTDIR}
 
 # 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
+# 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.)
 # Alternately, if you discover you've got the wrong time zone, you can just
 #      zic -p rightzone
+# to correct things.
+# Use the command
+#      make zonenames
+# to get a list of the values you can use for POSIXRULES.
+# If you want POSIX compatibility, use "America/New_York".
 
-POSIXRULES=    US/Pacific
+POSIXRULES=    America/New_York
 
+# "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.
 
@@ -23,7 +33,7 @@
 
 # If you always want time values interpreted as "seconds since the epoch
 # (not counting leap seconds)", use
-#      REDO=           posix_only
+#      REDO=           posix_only
 # below.  If you always want right time values interpreted as "seconds since
 # the epoch" (counting leap seconds)", use
 #      REDO=           right_only
@@ -38,18 +48,16 @@
 REDO=          posix_only
 
 # Since "." may not be in PATH...
-YEARISTYPE=    "${HOST_SH} ${.CURDIR}/yearistype.sh"
+YEARISTYPE=    "${HOST_SH} ${TZDISTDIR}/yearistype.sh"
 
-YDATA=         africa antarctica asia australasia \
-               europe northamerica southamerica pacificnew etcetera factory \
-               backward
-NDATA=         systemv
-SDATA=         solar87 solar88 solar89
-TDATA=         $(YDATA) $(NDATA) $(SDATA)
+PRIMARY_YDATA= africa antarctica asia australasia \



Home | Main Index | Thread Index | Old Index