Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-6-1]: src Apply patch (requested by mrg in ticket #1467):
details: https://anonhg.NetBSD.org/src/rev/991e322a8f7c
branches: netbsd-6-1
changeset: 776218:991e322a8f7c
user: snj <snj%NetBSD.org@localhost>
date: Thu Aug 10 06:35:05 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 | 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, 5515 insertions(+), 3324 deletions(-)
diffs (truncated from 12642 to 300 lines):
diff -r 37ac89ab0581 -r 991e322a8f7c distrib/sets/lists/base/mi
--- a/distrib/sets/lists/base/mi Tue Aug 08 11:59:59 2017 +0000
+++ b/distrib/sets/lists/base/mi Thu Aug 10 06:35:05 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.984.2.15.2.4 2015/03/05 22:25:58 riz Exp $
+# $NetBSD: mi,v 1.984.2.15.2.5 2017/08/10 06:35:05 snj Exp $
#
# Note: Don't delete entries from here - mark them as "obsolete" instead,
# unless otherwise stated below.
@@ -4370,9 +4370,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
@@ -4383,6 +4383,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
@@ -4459,6 +4460,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
@@ -4519,10 +4521,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
@@ -4538,6 +4542,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
@@ -4607,6 +4612,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
@@ -4711,6 +4717,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
@@ -4731,6 +4738,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
@@ -4752,6 +4760,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
@@ -4759,6 +4768,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
@@ -4916,6 +4926,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 37ac89ab0581 -r 991e322a8f7c doc/3RDPARTY
--- a/doc/3RDPARTY Tue Aug 08 11:59:59 2017 +0000
+++ b/doc/3RDPARTY Thu Aug 10 06:35:05 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: 3RDPARTY,v 1.909.2.19.2.16 2017/05/04 06:00:50 snj Exp $
+# $NetBSD: 3RDPARTY,v 1.909.2.19.2.17 2017/08/10 06:35: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 37ac89ab0581 -r 991e322a8f7c share/zoneinfo/CONTRIBUTING
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/zoneinfo/CONTRIBUTING Thu Aug 10 06:35:05 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 37ac89ab0581 -r 991e322a8f7c share/zoneinfo/LICENSE
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/zoneinfo/LICENSE Thu Aug 10 06:35:05 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 37ac89ab0581 -r 991e322a8f7c share/zoneinfo/Makefile
--- a/share/zoneinfo/Makefile Tue Aug 08 11:59:59 2017 +0000
+++ b/share/zoneinfo/Makefile Thu Aug 10 06:35:05 2017 +0000
@@ -1,21 +1,31 @@
-# $NetBSD: Makefile,v 1.43.18.1 2014/08/15 23:39:22 riz Exp $
+# $NetBSD: Makefile,v 1.43.18.2 2017/08/10 06:35: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,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 \
+ 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
@@ -57,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}
Home |
Main Index |
Thread Index |
Old Index