Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-6]: src Apply patch (requested by mrg in ticket #1467):
details: https://anonhg.NetBSD.org/src/rev/b573a9761823
branches: netbsd-6
changeset: 777198:b573a9761823
user: snj <snj%NetBSD.org@localhost>
date: Thu Aug 10 05:59:06 2017 +0000
description:
Apply patch (requested by mrg in ticket #1467):
Update tzdata to 2017b.
diffstat:
distrib/sets/lists/base/mi | 15 +-
doc/3RDPARTY | 6 +-
share/zoneinfo/CONTRIBUTING | 73 ++
share/zoneinfo/LICENSE | 4 +
share/zoneinfo/Makefile | 60 +-
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/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 +
31 files changed, 5514 insertions(+), 2147 deletions(-)
diffs (truncated from 11453 to 300 lines):
diff -r ecadf5eeff9b -r b573a9761823 distrib/sets/lists/base/mi
--- a/distrib/sets/lists/base/mi Tue Aug 08 12:01:20 2017 +0000
+++ b/distrib/sets/lists/base/mi Thu Aug 10 05:59:06 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.984.2.22 2015/03/08 16:32:56 riz Exp $
+# $NetBSD: mi,v 1.984.2.23 2017/08/10 05:59:06 snj Exp $
#
# Note: Don't delete entries from here - mark them as "obsolete" instead,
# unless otherwise stated below.
@@ -4371,9 +4371,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
@@ -4384,6 +4384,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
@@ -4460,6 +4461,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
@@ -4520,10 +4522,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
@@ -4539,6 +4543,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
@@ -4608,6 +4613,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
@@ -4712,6 +4718,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
@@ -4732,6 +4739,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
@@ -4753,6 +4761,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
@@ -4760,6 +4769,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
@@ -4917,6 +4927,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 ecadf5eeff9b -r b573a9761823 doc/3RDPARTY
--- a/doc/3RDPARTY Tue Aug 08 12:01:20 2017 +0000
+++ b/doc/3RDPARTY Thu Aug 10 05:59:06 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: 3RDPARTY,v 1.909.2.37 2017/05/04 06:03:46 snj Exp $
+# $NetBSD: 3RDPARTY,v 1.909.2.38 2017/08/10 05:59:06 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 ecadf5eeff9b -r b573a9761823 share/zoneinfo/CONTRIBUTING
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/zoneinfo/CONTRIBUTING Thu Aug 10 05:59:06 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 ecadf5eeff9b -r b573a9761823 share/zoneinfo/LICENSE
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/zoneinfo/LICENSE Thu Aug 10 05:59:06 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 ecadf5eeff9b -r b573a9761823 share/zoneinfo/Makefile
--- a/share/zoneinfo/Makefile Tue Aug 08 12:01:20 2017 +0000
+++ b/share/zoneinfo/Makefile Thu Aug 10 05:59:06 2017 +0000
@@ -1,21 +1,31 @@
-# $NetBSD: Makefile,v 1.43.8.2 2014/08/15 23:34:17 riz Exp $
+# $NetBSD: Makefile,v 1.43.8.3 2017/08/10 05:59:06 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,17 +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
+PRIMARY_YDATA= africa antarctica asia australasia \
+ europe northamerica southamerica
+YDATA= $(PRIMARY_YDATA) pacificnew etcetera backward
+NDATA= systemv factory
TDATA= $(YDATA) $(NDATA)
ZONETABLES= zone1970.tab zone.tab
TABDATA= iso3166.tab leapseconds $(ZONETABLES)
DATA= $(YDATA) $(NDATA) $(TABDATA) # yearistype.sh
-USNO= usno1988 usno1989
TZBUILDDIR= ${.OBJDIR}/builddir
@@ -56,23 +65,23 @@
posix_only: ${TDATA}
${_MKTARGET_CREATE}
mkdir -p ${TZBUILDDIR}
- cd ${.CURDIR} && \
+ cd ${TZDISTDIR} && \
${TOOL_ZIC} -y ${YEARISTYPE} -d ${TZBUILDDIR} -L /dev/null ${TDATA}
.PHONY: right_only
right_only: leapseconds ${TDATA}
${_MKTARGET_CREATE}
mkdir -p ${TZBUILDDIR}
- cd ${.CURDIR} && \
+ cd ${TZDISTDIR} && \
${TOOL_ZIC} -y ${YEARISTYPE} -d ${TZBUILDDIR} -L leapseconds ${TDATA}
.PHONY: other_two
Home |
Main Index |
Thread Index |
Old Index