[tz] [PATCH 3/4] Adjust to iana.org distribution method.

Paul Eggert eggert at cs.ucla.edu
Thu Jul 19 07:39:45 UTC 2012


* README, tz-link.htm: Mention ftp.iana.org instead of munnari.oz.au.
Suggest --retr-symlinks, since iana.org has symlinks to latest.
* README: Add a title line.
---
 README      |   10 ++++++----
 tz-link.htm |   21 +++++++++++++--------
 2 files changed, 19 insertions(+), 12 deletions(-)

diff --git a/README b/README
index f3a97f3..091384c 100644
--- a/README
+++ b/README
@@ -1,3 +1,5 @@
+README for the tz distribution
+
 This file is in the public domain, so clarified as of
 2009-05-17 by Arthur David Olson.
 
@@ -39,9 +41,9 @@ tz distribution on a GNU/Linux or similar host.
 
 	mkdir tz
 	cd tz
-	wget 'ftp://munnari.oz.au/pub/tz*.tar.gz'
-	gzip -dc tzcode*.tar.gz | tar -xf -
-	gzip -dc tzdata*.tar.gz | tar -xf -
+	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
@@ -79,7 +81,7 @@ 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 munnari.oz.au
+Look in <ftp://ftp.iana.org/tz/releases/>
 for updated versions of these files.
 
 Please send comments or information to tz at iana.org.
diff --git a/tz-link.htm b/tz-link.htm
index 6588492..f4371df 100644
--- a/tz-link.htm
+++ b/tz-link.htm
@@ -8,7 +8,7 @@
 <meta http-equiv="Content-type" content='text/html; charset="US-ASCII"'>
 <meta name="DC.Creator" content="Eggert, Paul">
 <meta name="DC.Contributor" content="Olson, Arthur David">
-<meta name="DC.Date" content="2007-12-26">
+<meta name="DC.Date" content="2012-07-19">
 <meta name="DC.Description"
  content="Sources of information about time zones and daylight saving time">
 <meta name="DC.Identifier" content="http://www.twinsun.com/tz/tz-link.htm">
@@ -80,14 +80,19 @@ implementation set the <code>TZ</code> environment variable to
 the location's full name, e.g., <code>TZ="America/New_York"</code>.</p>
 <p>
 In the <code>tz</code> database's
-<a href="ftp://munnari.oz.au/pub"><abbr
-title="File Transfer Protocol">FTP</abbr> distribution</a>
+<a href="ftp://ftp.iana.org/tz/releases/"><abbr
+title="File Transfer Protocol">FTP</abbr> releases</a>
 the code is in the file <code>tzcode<var>C</var>.tar.gz</code>,
 where <code><var>C</var></code> is the code's version;
 similarly, the data are in <code>tzdata<var>D</var>.tar.gz</code>,
 where <code><var>D</var></code> is the data's version.
 Each version is a four-digit year followed by lower-case letters
 (a through z, then za through zz, then zza through zzz, and so on).
+Convenience links to
+the <a href="ftp://ftp.iana.org/tz/tzcode-latest.tar.gz">latest
+code</a> and
+<a href="ftp://ftp.iana.org/tz/tzdata-latest.tar.gz">latest data</a> revisions
+are also available.
 The following <a
 href="http://en.wikipedia.org/wiki/Unix_shell">shell</a> commands download
 these files to a <abbr>GNU</abbr>/Linux or similar host;
@@ -95,9 +100,9 @@ see the downloaded
 <code>README</code> file for what to do next.</p>
 <pre style="margin-left: 2em"><code>mkdir tz
 cd tz
-<a href="http://www.gnu.org/software/wget/">wget</a> 'ftp://munnari.oz.au/pub/tz*.tar.gz'
-<a href="http://www.gnu.org/software/gzip/">gzip</a> -dc tzcode*.tar.gz | <a href="http://www.gnu.org/software/tar/">tar</a> -xf -
-gzip -dc tzdata*.tar.gz | tar -xf -
+<a href="http://www.gnu.org/software/wget/">wget</a> --retr-symlinks 'ftp://ftp.iana.org/tz/tz*-latest.tar.gz'
+<a href="http://www.gnu.org/software/gzip/">gzip</a> -dc tzcode-latest.tar.gz | <a href="http://www.gnu.org/software/tar/">tar</a> -xf -
+gzip -dc tzdata-latest.tar.gz | tar -xf -
 </code></pre>
 <p>
 The code and data files can also be obtained from the
@@ -119,7 +124,7 @@ browse the <a
 href="http://mm.icann.org/pipermail/tz/">archive of old
 messages</a> (message by message or in gzip compressed format),
 or retrieve <a
-href="ftp://munnari.oz.au/pub/oldtz">archived older versions of code
+href="ftp://ftp.iana.org/tz/releases/">archived older versions of code
 and data</a>.</p>
 <p>
 The Web has several other sources for time zone and daylight saving time data.
@@ -135,7 +140,7 @@ These are listed roughly in ascending order of complexity and fanciness.
 Permatime</a>
 is a service for generating and viewing links that refer to a
 particular point in time and can be displayed in multiple timezones.
-It uses the ruby tzinfo gem. 
+It uses the ruby tzinfo gem.
 (From Tim Diggins, 2009-11-03.)
 </li>
 <li><a href="http://twiki.org/cgi-bin/xtra/tzdatepick.html">Date and Time Gateway</a>
-- 
1.7.9.5



More information about the tz mailing list