From fc55937a5a148ff2ec06810ce25a2b28de2ac645 Mon Sep 17 00:00:00 2001
From: "Todd C. Miller"
Date: Thu, 1 Mar 2012 17:39:45 +0000
Subject: Update to tzcode2012a from munnari.oz.au
---
lib/libc/time/README | 18 ++++++++++++------
lib/libc/time/strftime.3 | 6 +++---
lib/libc/time/tz-art.htm | 4 ++--
lib/libc/time/tz-link.htm | 28 +++++++++++++++++++---------
4 files changed, 36 insertions(+), 20 deletions(-)
diff --git a/lib/libc/time/README b/lib/libc/time/README
index f02a6562143..2431e9b0113 100644
--- a/lib/libc/time/README
+++ b/lib/libc/time/README
@@ -1,5 +1,5 @@
-$OpenBSD: README,v 1.8 2010/08/23 22:35:34 millert Exp $
-@(#)README 8.3
+$OpenBSD: README,v 1.9 2012/03/01 17:39:44 millert Exp $
+@(#)README 8.4
This file is in the public domain, so clarified as of
2009-05-17 by Arthur David Olson.
@@ -41,7 +41,7 @@ tz distribution on a GNU/Linux or similar host.
mkdir tz
cd tz
- wget 'ftp://elsie.nci.nih.gov/pub/tz*.tar.gz'
+ wget 'ftp://munnari.oz.au/pub/tz*.tar.gz'
gzip -dc tzcode*.tar.gz | tar -xf -
gzip -dc tzdata*.tar.gz | tar -xf -
@@ -72,7 +72,7 @@ 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 file (and please send the changed version to
-tz@elsie.nci.nih.gov for use in the future). Europeans take note!
+tz@iana.org 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;
@@ -81,7 +81,13 @@ Michael Bloom, Art Neilson, Stephen Prince, John Sovereign, and Frank Wales
for testing work, and to Gwillim Law for checking local mean time data.
None of them are responsible for remaining errors.
-Look in the ~ftp/pub directory of elsie.nci.nih.gov
+Look in the ~ftp/pub directory of munnari.oz.au
for updated versions of these files.
-Please send comments or information to tz@elsie.nci.nih.gov.
+Please send comments or information to tz@iana.org.
+
+Postscript: The README above is largely unmodified (aside from details
+of mailing list and ftp archive addresses) from that prepared many years
+ago by Arthur David Olson, to whom the timezone community owes the
+greatest debt of all. Arthur is not currently maintaining this data or
+code (though he remains involved).
diff --git a/lib/libc/time/strftime.3 b/lib/libc/time/strftime.3
index e6e22823af8..331a12dc2ed 100644
--- a/lib/libc/time/strftime.3
+++ b/lib/libc/time/strftime.3
@@ -30,9 +30,9 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)strftime.3 5.12 (Berkeley) 6/29/91
-.\" $OpenBSD: strftime.3,v 1.27 2011/09/16 19:36:07 jmc Exp $
+.\" $OpenBSD: strftime.3,v 1.28 2012/03/01 17:39:44 millert Exp $
.\"
-.Dd $Mdocdate: September 16 2011 $
+.Dd $Mdocdate: March 1 2012 $
.Dt STRFTIME 3
.Os
.Sh NAME
@@ -251,4 +251,4 @@ is not large enough to store the entire time string.
The contents of
.Fa buf
are implementation specific in this case.
-.\" @(#)newstrftime.3 8.2
+.\" @(#)newstrftime.3 8.3
diff --git a/lib/libc/time/tz-art.htm b/lib/libc/time/tz-art.htm
index 902371eab5f..c7cce80bc77 100644
--- a/lib/libc/time/tz-art.htm
+++ b/lib/libc/time/tz-art.htm
@@ -9,7 +9,7 @@ PUBLIC "-//W3C//DTD HTML 4.01//EN"
Time and the Arts
-@(#)tz-art.htm 8.20
+@(#)tz-art.htm 8.21
This file is in the public domain, so clarified as of
@@ -17,7 +17,7 @@ This file is in the public domain, so clarified as of
Please send corrections to this web page to the
-time zone mailing list.
+time zone mailing list.
See also Sources for Time Zone and Daylight Saving Time Data.
diff --git a/lib/libc/time/tz-link.htm b/lib/libc/time/tz-link.htm
index f5ce3cb816e..c0d958ee29a 100644
--- a/lib/libc/time/tz-link.htm
+++ b/lib/libc/time/tz-link.htm
@@ -18,7 +18,7 @@
Sources for Time Zone and Daylight Saving Time Data
-@(#)tz-link.htm 8.32
+@(#)tz-link.htm 8.33
This file is in the public domain, so clarified as of
@@ -26,7 +26,7 @@ This file is in the public domain, so clarified as of
Please send corrections to this web page to the
-time zone mailing list.
+time zone mailing list.
The tz
database
The public-domain
@@ -83,7 +83,7 @@ implementation set the TZ
environment variable to
the location's full name, e.g., TZ="America/New_York"
.
In the tz
database's
-FTP distribution
the code is in the file tzcodeC.tar.gz
,
where C
is the code's version;
@@ -98,25 +98,30 @@ see the downloaded
README
file for what to do next.
mkdir tz
cd tz
-wget 'ftp://elsie.nci.nih.gov/pub/tz*.tar.gz'
+wget 'ftp://munnari.oz.au/pub/tz*.tar.gz'
gzip -dc tzcode*.tar.gz | tar -xf -
gzip -dc tzdata*.tar.gz | tar -xf -
+The code and data files can also be obtained from the
+IANA
+timezone web page.
+
The code lets you compile the tz
source files into
machine-readable binary files, one for each location. It also lets
you read a tz
binary file and interpret time stamps for that
location.
The data are by no means authoritative. If you find errors, please
-send changes to the time zone
+send changes to the time zone
mailing list. You can also browse recent
messages sent to the mailing list, subscribe to it,
-retrieve the full archive of old
-messages (in gzip compressed format), or retrieve subscribe to it.
+browse the archive of old
+messages (message by message or in gzip compressed format),
+or retrieve archived older versions of code
and data.
@@ -273,6 +278,11 @@ is a tz
binary file reader written in Java.
It is freely available under the LGPL.
Tcl, mentioned above, also contains a
tz
binary file reader.
+
+DateTime::TimeZone::Tzfile
+is a tz
binary file reader written in Perl.
+It is freely available under the same terms as Perl
+(dual GPL and Artistic license).
Other tz
-based time zone software