[geeks] DST change costs
Sandwich Maker
adh at an.bradford.ma.us
Mon Jan 22 20:26:48 CST 2007
" From: "Sheldon T. Hall" <shel at tandem.artell.net>
"
" Quoth the Sandwich Maker ...
" > solaris has zic and
" > if irix does, you can d/l an updated zoneinfo tarball from somewhere
" > in nih.gov [odd it's not nist] and zic it into place.
"
" Well, probably, but I couldn't find it. I used information on how to change
" OpenSolaris, and, since it said "edit the file," I edited the file.
it's pretty well hidden, and quite possibly accidental that it's
publically accessible.
from "patch for US daylight savings time changes on Solaris2.5.1, 2.6,
2.7" on sunmanagers:
----
1. Details on timezone tables:
"In the tz database's FTP distribution the code is in the file
tzcodeC.tar.gz, where C is the code's version; similarly, the data are
in tzdataD.tar.gz, where D is the data's version. The following shell
commands download these files to a GNU/Linux or similar host; see the
downloaded README file for what to do next.
wget 'ftp://elsie.nci.nih.gov/pub/tz*.tar.gz'
gzip -dc tzcode*.tar.gz | tar -xf -
gzip -dc tzdata*.tar.gz | tar -xf -
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 above quote is from:
http://www.twinsun.com/tz/tz-link.htm
The words "FTP distribution" in first sentence are link to:
ftp://elsie.nci.nih.gov/pub/
There's a file:
tzdata2007a.tar.gz
on that page that appears to have the timezone files. I am guessing this
may be what the respondent was thinking about. I'm not sure how to use
them, but hopefully that should be self evident on examination.
2. Version-specific patch info:
Solaris 10 - I don't have the info yet
Solaris 9 - requires 113225-03 or later and 112874-33 or later
Solaris 8 - requires 109810-02 or later and 108993-52 or later
Solaris 7 - may be available online, though OS reaches EOL in 2007
Solaris 2.6 and earlier - will have to rebuild from timezone data tables
at www.nih.gov using "zic"
----
________________________________________________________________________
Andrew Hay the genius nature
internet rambler is to see what all have seen
adh at an.bradford.ma.us and think what none thought
More information about the geeks
mailing list