Source-Changes-HG archive

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

[src/trunk]: src/share/zoneinfo Delete src/share/zoneinfo. The files that pr...



details:   https://anonhg.NetBSD.org/src/rev/59b803295444
branches:  trunk
changeset: 798127:59b803295444
user:      apb <apb%NetBSD.org@localhost>
date:      Sat Aug 09 15:22:40 2014 +0000

description:
Delete src/share/zoneinfo.  The files that previously lived here
have moved to src/external/public-domain/tz/{dist,bin/zoneinfo}.

diffstat:

 share/zoneinfo/Makefile          |   145 -
 share/zoneinfo/README            |    64 -
 share/zoneinfo/africa            |  1234 --------------
 share/zoneinfo/antarctica        |   387 ----
 share/zoneinfo/asia              |  2791 -------------------------------
 share/zoneinfo/australasia       |  1728 -------------------
 share/zoneinfo/backward          |   121 -
 share/zoneinfo/etcetera          |    80 -
 share/zoneinfo/europe            |  3340 --------------------------------------
 share/zoneinfo/factory           |     9 -
 share/zoneinfo/iso3166.tab       |   275 ---
 share/zoneinfo/leap-seconds.list |   239 --
 share/zoneinfo/leapseconds       |    56 -
 share/zoneinfo/leapseconds.awk   |    66 -
 share/zoneinfo/northamerica      |  3148 -----------------------------------
 share/zoneinfo/pacificnew        |    27 -
 share/zoneinfo/southamerica      |  1699 -------------------
 share/zoneinfo/systemv           |    37 -
 share/zoneinfo/tzdata2netbsd     |   336 ---
 share/zoneinfo/yearistype.sh     |    41 -
 share/zoneinfo/zone.tab          |   439 ----
 share/zoneinfo/zone1970.tab      |   369 ----
 22 files changed, 0 insertions(+), 16631 deletions(-)

diffs (truncated from 16719 to 300 lines):

diff -r ee7c2dc2cfc0 -r 59b803295444 share/zoneinfo/Makefile
--- a/share/zoneinfo/Makefile   Sat Aug 09 15:07:06 2014 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,145 +0,0 @@
-#      $NetBSD: Makefile,v 1.47 2014/08/06 19:18:05 apb Exp $
-
-.include <bsd.own.mk>
-
-# 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=    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.
-
-TZDIR= /usr/share/zoneinfo
-
-# If you always want 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
-#      REDO=           right_only
-# below.  If you want both sets of data available, with leap seconds not
-# counted normally, use
-#      REDO=           posix_right
-# below.  If you want both sets of data available, with leap seconds counted
-# normally, use
-#      REDO=           right_posix
-# below.
-
-REDO=          posix_only
-
-# Since "." may not be in PATH...
-YEARISTYPE=    "${HOST_SH} ${.CURDIR}/yearistype.sh"
-
-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
-
-TZBUILDDIR=    ${.OBJDIR}/builddir
-
-.PHONY:        posix_only
-posix_only: ${TDATA}
-       ${_MKTARGET_CREATE}
-       mkdir -p ${TZBUILDDIR}
-       cd ${.CURDIR} && \
-           ${TOOL_ZIC} -y ${YEARISTYPE} -d ${TZBUILDDIR} -L /dev/null ${TDATA}
-
-.PHONY:        right_only
-right_only: leapseconds ${TDATA}
-       ${_MKTARGET_CREATE}
-       mkdir -p ${TZBUILDDIR}
-       cd ${.CURDIR} && \
-           ${TOOL_ZIC} -y ${YEARISTYPE} -d ${TZBUILDDIR} -L leapseconds ${TDATA}
-
-.PHONY:        other_two
-other_two: leapseconds ${TDATA}
-       ${_MKTARGET_CREATE}
-       mkdir -p ${TZBUILDDIR}
-       cd ${.CURDIR} && \
-           ${TOOL_ZIC} -y ${YEARISTYPE} -d ${TZBUILDDIR}/posix -L /dev/null ${TDATA}
-       cd ${.CURDIR} && \
-           ${TOOL_ZIC} -y ${YEARISTYPE} -d ${TZBUILDDIR}/right -L leapseconds ${TDATA}
-
-.PHONY:        posix_right
-posix_right: posix_only other_two
-
-.PHONY:        right_posix
-right_posix: right_only other_two
-
-.if ${MKUNPRIVED} == "no"
-TOOL_PAX.unpriv=-pe
-.else
-TOOL_PAX.unpriv=
-.endif
-
-.if ${MKSHARE} != "no"
-afterinstall: ${DATA} ${REDO} ${TABDATA}
-       ${_MKMSG_CREATE} ${POSIXRULES}
-       mkdir -p ${TZBUILDDIR}
-       cd ${.CURDIR} && \
-           ${TOOL_ZIC} -y ${YEARISTYPE} -d ${TZBUILDDIR} -p ${POSIXRULES}
-       cd ${TZBUILDDIR} && \
-           find . -type f -print | xargs ${TOOL_STAT} -qf '%d,%i %N' | sort \
-       | while read devino tzfile; do \
-               destfile=${DESTDIR}${TZDIR}/$${tzfile#./}; \
-               destdir=$$(dirname $${destfile}); \
-               if [ ! -d "$$destdir" ]; then \
-                       ${_MKSHMSG_INSTALL} $$destdir; \
-                       ${_MKSHECHO} ${INSTALL_DIR} -o ${BINOWN} -g ${BINGRP} \
-                       $$destdir; \
-                       ${INSTALL_DIR} -o ${BINOWN} -g ${BINGRP} $$destdir; \
-               fi; \
-               if [ "$$devino" = "$$lastdevino" ]; then \
-                       if  ldevino=$$(${TOOL_STAT} -qf '%d %i' $$lastfile) && \
-                           tdevino=$$(${TOOL_STAT} -qf '%d %i' $$destfile) && \
-                           [ "$$ldevino" = "$$tdevino" ]; then \
-                               continue; \
-                       fi; \
-                       ${_MKSHMSG_INSTALL} $$destfile; \
-                       ${_MKSHECHO} ${INSTALL_LINK} -o ${BINOWN} -g ${BINGRP} \
-                           -m ${NONBINMODE} $$lastfile $$destfile; \
-                       ${INSTALL_LINK} -o ${BINOWN} -g ${BINGRP} \
-                           -m ${NONBINMODE} $$lastfile $$destfile; \
-               else \
-                       lastdevino=$$devino; \
-                       lastfile=$$destfile; \
-                       cmp -s $$tzfile $$destfile >/dev/null 2>&1 && continue;\
-                       ${_MKSHMSG_INSTALL} $$destfile; \
-                       ${_MKSHECHO} ${INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} \
-                           -m ${NONBINMODE} $$tzfile $$destfile; \
-                       ${INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} \
-                           -m ${NONBINMODE} $$tzfile $$destfile; \
-               fi; \
-       done
-       for f in ${TABDATA}; do \
-               ${INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m ${NONBINMODE} \
-                       ${.CURDIR}/$$f ${DESTDIR}${TZDIR}; \
-       done
-.else  # ${MKSHARE} == "no"
-afterinstall:
-.endif # ${MKSHARE} == "no"
-
-clean:
-       -rm -rf ${TZBUILDDIR}
-
-.include <bsd.prog.mk>
diff -r ee7c2dc2cfc0 -r 59b803295444 share/zoneinfo/README
--- a/share/zoneinfo/README     Sat Aug 09 15:07:06 2014 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,64 +0,0 @@
-README for the tz distribution
-
-"What time is it?" -- Richard Deacon as The King
-"Any time you want it to be." -- Frank Baxter as The Scientist
-                                       (from the Bell System film "About Time")
-
-The Time Zone Database (often called tz or zoneinfo) contains code and
-data that represent the history of local time for many representative
-locations around the globe.  It is updated periodically to reflect
-changes made by political bodies to time zone boundaries, UTC offsets,
-and daylight-saving rules.
-
-Unless otherwise specified, all files in the tz code and data are in
-the public domain, so clarified as of 2009-05-17 by Arthur David Olson.
-The few exceptions are code derived from BSD, which uses the BSD license.
-
-Here is a recipe for acquiring, building, installing, and testing the
-tz distribution on a GNU/Linux or similar host.
-
-       mkdir tz
-       cd tz
-       wget --retr-symlinks 'ftp://ftp.iana.org/tz/tz*-latest.tar.gz'
-       gzip -dc tzcode-latest.tar.gz | tar -xf -
-       gzip -dc tzdata-latest.tar.gz | tar -xf -
-
-Be sure to read the comments in "Makefile" and make any changes needed
-to make things right for your system, especially if you are using some
-platform other than GNU/Linux.  Then run the following commands,
-substituting your desired installation directory for "$HOME/tzdir":
-
-       make TOPDIR=$HOME/tzdir install
-       $HOME/tzdir/etc/zdump -v America/Los_Angeles
-
-Historical local time information has been included here to:
-
-*      provide a compendium of data about the history of civil time
-       that is useful even if the data are not 100% accurate;
-
-*      give an idea of the variety of local time rules that have
-       existed in the past and thus an idea of the variety that may be
-       expected in the future;
-
-*      provide a test of the generality of the local time rule description
-       system.
-
-The information in the time zone data files is by no means authoritative;
-the files currently do not even attempt to cover all time stamps before
-1970, and there are undoubtedly errors even for time stamps since 1970.
-If you know that the rules are different from those in a file, by all means
-feel free to change a file (and please send the changed version to
-tz%iana.org@localhost for use in the future).  Europeans take note!
-
-Thanks to these Timezone Caballeros who've made major contributions to the
-time conversion package:  Keith Bostic; Bob Devine; Paul Eggert; Robert Elz;
-Guy Harris; Mark Horton; John Mackin; and Bradley White.  Thanks also to
-Michael Bloom, Art Neilson, Stephen Prince, John Sovereign, and Frank Wales
-for testing work, and to Gwillim Law for checking local mean time data.
-Thanks in particular to Arthur David Olson, the project's founder and first
-maintainer, to whom the timezone community owes the greatest debt of all.
-None of them are responsible for remaining errors.
-
-Look in <ftp://ftp.iana.org/tz/releases/> for updated versions of these files.
-
-Please send comments or information to tz%iana.org@localhost.
diff -r ee7c2dc2cfc0 -r 59b803295444 share/zoneinfo/africa
--- a/share/zoneinfo/africa     Sat Aug 09 15:07:06 2014 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,1234 +0,0 @@
-# This file is in the public domain, so clarified as of
-# 2009-05-17 by Arthur David Olson.
-
-# This data is by no means authoritative; if you think you know better,
-# go ahead and edit the file (and please send any changes to
-# tz%iana.org@localhost for general use in the future).
-
-# From Paul Eggert (2013-02-21):
-#
-# A good source for time zone historical data outside the U.S. is
-# Thomas G. Shanks and Rique Pottenger, The International Atlas (6th edition),
-# San Diego: ACS Publications, Inc. (2003).
-#
-# Gwillim Law writes that a good source
-# for recent time zone data is the International Air Transport
-# Association's Standard Schedules Information Manual (IATA SSIM),
-# published semiannually.  Law sent in several helpful summaries
-# of the IATA's data after 1990.
-#
-# Except where otherwise noted, Shanks & Pottenger is the source for
-# entries through 1990, and IATA SSIM is the source for entries afterwards.
-#
-# Another source occasionally used is Edward W. Whitman, World Time Differences,
-# Whitman Publishing Co, 2 Niagara Av, Ealing, London (undated), which
-# I found in the UCLA library.
-#
-# For data circa 1899, a common source is:
-# Milne J. Civil time. Geogr J. 1899 Feb;13(2):173-94
-# <http://www.jstor.org/stable/1774359>.
-#
-# A reliable and entertaining source about time zones is
-# Derek Howse, Greenwich time and longitude, Philip Wilson Publishers (1997).
-#
-# Previous editions of this database used WAT, CAT, SAT, and EAT
-# for +0:00 through +3:00, respectively,
-# but Mark R V Murray reports that
-# 'SAST' is the official abbreviation for +2:00 in the country of South Africa,
-# 'CAT' is commonly used for +2:00 in countries north of South Africa, and
-# 'WAT' is probably the best name for +1:00, as the common phrase for
-# the area that includes Nigeria is "West Africa".
-# He has heard of "Western Sahara Time" for +0:00 but can find no reference.
-#
-# To make things confusing, 'WAT' seems to have been used for -1:00 long ago;
-# I'd guess that this was because people needed _some_ name for -1:00,
-# and at the time, far west Africa was the only major land area in -1:00.
-# This usage is now obsolete, as the last use of -1:00 on the African
-# mainland seems to have been 1976 in Western Sahara.
-#
-# To summarize, the following abbreviations seem to have some currency:
-#      -1:00   WAT     West Africa Time (no longer used)
-#       0:00   GMT     Greenwich Mean Time
-#       2:00   CAT     Central Africa Time
-#       2:00   SAST    South Africa Standard Time
-# and Murray suggests the following abbreviation:
-#       1:00   WAT     West Africa Time
-# I realize that this leads to 'WAT' being used for both -1:00 and 1:00
-# for times before 1976, but this is the best I can think of
-# until we get more information.
-#
-# I invented the following abbreviations; corrections are welcome!
-#       2:00   WAST    West Africa Summer Time
-#       2:30   BEAT    British East Africa Time (no longer used)
-#       2:45   BEAUT   British East Africa Unified Time (no longer used)
-#       3:00   CAST    Central Africa Summer Time (no longer used)
-#       3:00   SAST    South Africa Summer Time (no longer used)
-#       3:00   EAT     East Africa Time
-#       4:00   EAST    East Africa Summer Time (no longer used)
-
-# Algeria
-# Rule NAME    FROM    TO      TYPE    IN      ON      AT      SAVE    LETTER/S
-Rule   Algeria 1916    only    -       Jun     14      23:00s  1:00    S
-Rule   Algeria 1916    1919    -       Oct     Sun>=1  23:00s  0       -
-Rule   Algeria 1917    only    -       Mar     24      23:00s  1:00    S
-Rule   Algeria 1918    only    -       Mar      9      23:00s  1:00    S
-Rule   Algeria 1919    only    -       Mar      1      23:00s  1:00    S
-Rule   Algeria 1920    only    -       Feb     14      23:00s  1:00    S
-Rule   Algeria 1920    only    -       Oct     23      23:00s  0       -
-Rule   Algeria 1921    only    -       Mar     14      23:00s  1:00    S
-Rule   Algeria 1921    only    -       Jun     21      23:00s  0       -



Home | Main Index | Thread Index | Old Index