RE: How to Change the Time Zone Rules?

2006-07-30 Thread Murray Taylor
Here is the process we used for the Commonwealth Games (when the 
end of Daylight saving was stretched for this year..) This does all
timezone files even though this procedure below only talks about
Australia.

NB The file name is now dated... user the appropriate current tzdata
file !!!



procedure 8--
- save the file (tzdata2005r.tar.gz) into /usr/src/share/zoneinfo then
as root

# cd /usr/src/share/zoneinfo
# tar zxf tzdata2005r.tar.gz
# make
# make install
# cp /usr/share/zoneinfo/Australia/Melbourne /etc/localtime
# chmod 600 /etc/localtime

Elapsed time - about as fast as you type the commands. 

This will update _all_ Australian timezone files (and apply various
other 
international updates also) on that host. repeat as necessary on other
hosts.

!*!*!*!
a sanity check 

# zdump -v /usr/share/zoneinfo/Australia/Melbourne | grep 2006

before and after the procedure.
Before- the results will show Daylight saving ending in March 
After - the results will show it ending correctly on the 1st Sunday in
April.

Similar tests can be run for Adelaide, Sydney etc. 
Also a test with Brisbane returns nothing as they don't 
use DST rules. Neither does Lindeman but Lord_Howe does  sigh 

end procedure 8--


NB you may need to update this file also _before_ doing the above ... 
(Im not sure, but our net weenie said it was necessary)

/usr/share/misc/iso3166

Murray Taylor

Special Projects Engineer
Bytecraft Systems
--
Any intelligent fool can make things bigger and more complex... It
takes a
touch of genius - and a lot of courage to move in the opposite
direction.
--Albert Einstein 


 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Carlos A. Carnero Delgado
 Sent: Saturday, 29 July 2006 1:20 AM
 To: Martin McCormick
 Cc: freebsd-questions@freebsd.org
 Subject: Re: How to Change the Time Zone Rules?
 
 Hello,
 
 On 7/28/06, Martin McCormick [EMAIL PROTECTED] wrote:
   My question is, How do I get there from here?
 
 See zic(8). It's very easy.
 
 Best regards,
 Carlos.
 --
 nick grah windows just crashed again, unstable crap.
 yukito Windows isn't unstable, it's just spontaneous.
 ___
 freebsd-questions@freebsd.org mailing list 
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]
 
 ***This Email has been scanned for Viruses by MailMarshal.***
 
---
The information transmitted in this e-mail is for the exclusive
use of the intended addressee and may contain confidential
and/or privileged material. Any review, re-transmission,
dissemination or other use of it, or the taking of any action
in reliance upon this information by persons and/or entities
other than the intended recipient is prohibited. If you
received this in error, please inform the sender and/or
addressee immediately and delete the material. 

E-mails may not be secure, may contain computer viruses and
may be corrupted in transmission. Please carefully check this
e-mail (and any attachment) accordingly. No warranties are
given and no liability is accepted for any loss or damage
caused by such matters.
---

***This Email has been scanned for Viruses by MailMarshal.***
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


How to Change the Time Zone Rules?

2006-07-28 Thread Martin McCormick
The rules for determining the yearly start and end of
daylight saving time in the United States have changed beginning
in March of 2007.  All the FreeBSD systems I am in charge of need
new rules and I read an article that mentions FreeBSD and Linux
and the /usr/share/zoneinfo data base which I found.  In that
directory are subdirectories for the continents and many binaries
describing the rules for major cities or islands.  /etc/localtime
is a copy of whichever locality file in /usr/share/zoneinfo
correctly mirrors one's local time.

The problem, as I see it, is that we need a new America
file.  I ran across an article that referenced

ftp://elsie.nci.nih.gov/pub/tzdata2006h.tar.gz

Which turns out to be the source file for making all the
location files.

My question is, How do I get there from here?  That file
is obviously #included or otherwise used in something you make to
generate the objects.  Has this already been done somewhere for
FreeBSD and will it work on systems ranging from FreeBSD4.7 up to
5.4?

I use FreeBSD on our domain name and dhcp servers and
want to get them ready well before this mini Y2K-like situation
hits.

Many thanks.

For those who may be wondering, DST ends as it has for
many years, on the last Sunday in October so the new rules don't
take effect until March 11 of 2007.

Martin McCormick WB5AGZ  Stillwater, OK 
Systems Engineer
OSU Information Technology Department Network Operations Group
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to Change the Time Zone Rules?

2006-07-28 Thread Carlos A. Carnero Delgado

Hello,

On 7/28/06, Martin McCormick [EMAIL PROTECTED] wrote:

 My question is, How do I get there from here?


See zic(8). It's very easy.

Best regards,
Carlos.
--
nick grah windows just crashed again, unstable crap.
yukito Windows isn't unstable, it's just spontaneous.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to Change the Time Zone Rules?

2006-07-28 Thread Martin McCormick
Carlos A. Carnero Delgado writes:
See zic(8). It's very easy.

DAve writes:
This was sent to me earlier on this list when I had to adjust for 
Indiana changing to DST. Worked like a champ.

https://engineering.purdue.edu/ECN/Resources/KnowledgeBase/Docs/20060128100824

Thank you both.  This is what I needed.

Martin McCormick WB5AGZ  Stillwater, OK 
Systems Engineer
OSU Information Technology Department Network Operations Group
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]