New DST Rules for 2007

Bryan O'Neill, President support at wake123.com
Tue Feb 27 16:07:57 UTC 2007


GlacierLadies & Gentlemen,

I asked a question on linuxquestions.org about what exact commands I would
need to install your patch that will update the new DST rules on my RH 8.0
pc.  One guy responded with the following:

]$ cd /tmp && { mkdir tz && cd tz || exit 1; }
wget -q 'ftp://elsie.nci.nih.gov/pub/tz*.tar.gz' || exit
]$ gzip -dc tzcode*.tar.gz | tar -xf -
]$ gzip -dc tzdata*.tar.gz | tar -xf -
]$ which nawk >/dev/null 2>&1|| { sed -i 's|nawk|gawk|g' Makefile || exit
1; }
]$ LOCALTIMEVAR0=`grep ^ZONE= /etc/sysconfig/clock 2>/dev/null| awk -F'='
'{print $2}'|tr -d '"'`
]$ LOCALTIMEVAR1=`make zonenames 2>/dev/null|grep -m1 $LOCALTIMEVAR0|awk
'{print $1}'`
]$ [ -n $LOCALTIMEVAR1 ] || exit 1 && { sed -i "s|Factory|$LOCALTIMEVAR1|g"
Makefile \
&& make install; echo 'Done!'; }

The blue code I've already done and I understand.  But what about the green
code?  Do you see anything there that may create something malcious or
unsecure?  I don't think so but I wanted to get your more educated & trusted
opinion.  Is it correct for east coast time zone (New York)?



Thanks!


-Bryan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mm.icann.org/pipermail/tz/attachments/20070227/d8912af1/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Glacier Bkgrd.jpg
Type: image/jpeg
Size: 2743 bytes
Desc: not available
URL: <http://mm.icann.org/pipermail/tz/attachments/20070227/d8912af1/attachment.jpg>


More information about the tz mailing list