mirror of
git://slackware.nl/current.git
synced 2024-12-27 09:59:16 +01:00
Sat Mar 19 20:28:16 UTC 2022
patches/packages/glibc-zoneinfo-2022a-noarch-1_slack15.0.txz: Upgraded. This package provides the latest timezone updates.
This commit is contained in:
parent
5d5dc01569
commit
8e056e9406
18 changed files with 3592 additions and 482 deletions
|
@ -11,9 +11,21 @@
|
|||
<description>Tracking Slackware development in git.</description>
|
||||
<language>en-us</language>
|
||||
<id xmlns="http://www.w3.org/2005/Atom">urn:uuid:c964f45e-6732-11e8-bbe5-107b4450212f</id>
|
||||
<pubDate>Fri, 18 Mar 2022 20:16:12 GMT</pubDate>
|
||||
<lastBuildDate>Sat, 19 Mar 2022 12:29:48 GMT</lastBuildDate>
|
||||
<pubDate>Sat, 19 Mar 2022 20:28:16 GMT</pubDate>
|
||||
<lastBuildDate>Sun, 20 Mar 2022 12:29:47 GMT</lastBuildDate>
|
||||
<generator>maintain_current_git.sh v 1.17</generator>
|
||||
<item>
|
||||
<title>Sat, 19 Mar 2022 20:28:16 GMT</title>
|
||||
<pubDate>Sat, 19 Mar 2022 20:28:16 GMT</pubDate>
|
||||
<link>https://git.slackware.nl/current/tag/?h=20220319202816</link>
|
||||
<guid isPermaLink="false">20220319202816</guid>
|
||||
<description>
|
||||
<![CDATA[<pre>
|
||||
patches/packages/glibc-zoneinfo-2022a-noarch-1_slack15.0.txz: Upgraded.
|
||||
This package provides the latest timezone updates.
|
||||
</pre>]]>
|
||||
</description>
|
||||
</item>
|
||||
<item>
|
||||
<title>Fri, 18 Mar 2022 20:16:12 GMT</title>
|
||||
<pubDate>Fri, 18 Mar 2022 20:16:12 GMT</pubDate>
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
Sat Mar 19 20:28:16 UTC 2022
|
||||
patches/packages/glibc-zoneinfo-2022a-noarch-1_slack15.0.txz: Upgraded.
|
||||
This package provides the latest timezone updates.
|
||||
+--------------------------+
|
||||
Fri Mar 18 20:16:12 UTC 2022
|
||||
patches/packages/python3-3.9.11-x86_64-1_slack15.0.txz: Upgraded.
|
||||
This update fixes bugs and security issues:
|
||||
|
|
983
FILELIST.TXT
983
FILELIST.TXT
File diff suppressed because it is too large
Load diff
11
patches/packages/glibc-zoneinfo-2022a-noarch-1_slack15.0.txt
Normal file
11
patches/packages/glibc-zoneinfo-2022a-noarch-1_slack15.0.txt
Normal file
|
@ -0,0 +1,11 @@
|
|||
glibc-zoneinfo: glibc-zoneinfo (timezone database)
|
||||
glibc-zoneinfo:
|
||||
glibc-zoneinfo: This package allows you to configure your time zone.
|
||||
glibc-zoneinfo:
|
||||
glibc-zoneinfo: This timezone database comes from the tzdata and tzcode packages by
|
||||
glibc-zoneinfo: Arthur David Olson et al. The latest version and more information
|
||||
glibc-zoneinfo: may be found at: https://www.iana.org/time-zones
|
||||
glibc-zoneinfo:
|
||||
glibc-zoneinfo: Use the timeconfig utility to set your local time zone.
|
||||
glibc-zoneinfo:
|
||||
glibc-zoneinfo:
|
60
patches/source/glibc-zoneinfo/doinst.sh
Normal file
60
patches/source/glibc-zoneinfo/doinst.sh
Normal file
|
@ -0,0 +1,60 @@
|
|||
# Note on configuration change (2020-12-09):
|
||||
# For the past decade and a half, this package has created a symlink
|
||||
# /etc/localtime-copied-from and a file /etc/localtime to prevent
|
||||
# time skew until /usr is mounted. But having a separate /usr partition
|
||||
# hasn't really made sense for a long time and leads to all kinds of
|
||||
# bugs these days. We're going to make /etc/localtime a symlink just
|
||||
# like everyone else does so that programs that expect it to be a link
|
||||
# can fetch the timezone without requiring any special patches.
|
||||
# If you insist on making /usr a separate partition, you might want to
|
||||
# put the pointed-to directories and timezone file in your empty /usr
|
||||
# directory so that it is available before the real /usr is mounted.
|
||||
# Still not recommended though.
|
||||
|
||||
# In a special case, we will handle the removal of the US/Pacific-New
|
||||
# timezone. A bit of background information on this:
|
||||
#
|
||||
# "US/Pacific-New' stands for 'Pacific Presidential Election Time',
|
||||
# which was passed by the House in April 1989 but never signed into law.
|
||||
# In presidential election years, this rule would have delayed the
|
||||
# PDT-to-PST switchover until after the election, to lessen the effect
|
||||
# of broadcast news election projections on last-minute west-coast
|
||||
# voters. "
|
||||
#
|
||||
# In nearly all cases, a machine that uses the US/Pacific-New timezone
|
||||
# has chosen it by mistake. In 2016, having this as the system timezone
|
||||
# actually led to clock errors, and after that it was decided that the
|
||||
# timezone (only of historical interest anyway) should be removed from
|
||||
# the timezone database.
|
||||
#
|
||||
# If we see that the machine's localtime-copied-from symlink is pointing
|
||||
# to US/Pacific-New, change it to point to US/Pacific instead.
|
||||
if [ "$(/bin/ls -l etc/localtime-copied-from 2> /dev/null | rev | cut -f 1,2 -d / | rev)" = "US/Pacific-New" ]; then
|
||||
( cd etc ; rm -rf localtime-copied-from )
|
||||
( cd etc ; ln -sf /usr/share/zoneinfo/US/Pacific localtime-copied-from )
|
||||
fi
|
||||
# Same with any /etc/localtime symlink:
|
||||
if [ -L etc/localtime ]; then
|
||||
if [ "$(/bin/ls -l etc/localtime 2> /dev/null | rev | cut -f 1,2 -d / | rev)" = "US/Pacific-New" ]; then
|
||||
( cd etc ; rm -rf localtime )
|
||||
( cd etc ; ln -sf /usr/share/zoneinfo/US/Pacific localtime )
|
||||
fi
|
||||
fi
|
||||
|
||||
# If we already have a localtime-copied-from symlink, move it over as the
|
||||
# /etc/localtime symlink:
|
||||
if [ -L etc/localtime-copied-from ]; then
|
||||
rm -f etc/localtime
|
||||
mv etc/localtime-copied-from etc/localtime
|
||||
fi
|
||||
|
||||
# Add the default timezone in /etc, if none exists:
|
||||
if [ ! -r etc/localtime ]; then
|
||||
( cd etc ; rm -rf localtime localtime-copied-from )
|
||||
( cd etc ; ln -sf /usr/share/zoneinfo/Factory localtime-copied-from )
|
||||
fi
|
||||
|
||||
# Add a link to the timeconfig script in /usr/share/zoneinfo:
|
||||
( cd usr/share/zoneinfo ; rm -rf timeconfig )
|
||||
( cd usr/share/zoneinfo ; ln -sf /usr/sbin/timeconfig timeconfig )
|
||||
### Make the rest of the symbolic links in the zoneinfo database:
|
159
patches/source/glibc-zoneinfo/glibc-zoneinfo.SlackBuild
Executable file
159
patches/source/glibc-zoneinfo/glibc-zoneinfo.SlackBuild
Executable file
|
@ -0,0 +1,159 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Copyright 2015, 2016, 2018, 2020 Patrick J. Volkerding, Sebeka, Minnesota, USA
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
# permitted provided that the following conditions are met:
|
||||
#
|
||||
# 1. Redistributions of this script must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
|
||||
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
|
||||
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
||||
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
|
||||
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
|
||||
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
cd $(dirname $0) ; CWD=$(pwd)
|
||||
|
||||
PKGNAM=glibc-zoneinfo
|
||||
ZONE_VERSIONS="$(echo tzdata* | cut -f1 -d . | cut -b7-11)"
|
||||
BUILD=${BUILD:-1_slack15.0}
|
||||
|
||||
# Automatically determine the architecture we're building on:
|
||||
if [ -z "$ARCH" ]; then
|
||||
case "$(uname -m)" in
|
||||
i?86) ARCH=i586 ;;
|
||||
arm*) readelf /usr/bin/file -A | egrep -q "Tag_CPU.*[4,5]" && ARCH=arm || ARCH=armv7hl ;;
|
||||
# Unless $ARCH is already set, use uname -m for all other archs:
|
||||
*) ARCH=$(uname -m) ;;
|
||||
esac
|
||||
export ARCH
|
||||
fi
|
||||
|
||||
# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
|
||||
# the name of the created package would be, and then exit. This information
|
||||
# could be useful to other scripts.
|
||||
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
|
||||
echo "$PKGNAM-$ZONE_VERSIONS-noarch-$BUILD.txz"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
|
||||
|
||||
if [ "$ARCH" = "i386" ]; then
|
||||
SLKCFLAGS="-DHAVE_SNPRINTF=1 -O2 -march=i386 -mcpu=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "i486" ]; then
|
||||
SLKCFLAGS="-DHAVE_SNPRINTF=1 -O2 -march=i486 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "i586" ]; then
|
||||
SLKCFLAGS="-DHAVE_SNPRINTF=1 -O2 -march=i586 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "i686" ]; then
|
||||
SLKCFLAGS="-DHAVE_SNPRINTF=1 -O2 -march=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "s390" ]; then
|
||||
SLKCFLAGS="-DHAVE_SNPRINTF=1 -O2"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "x86_64" ]; then
|
||||
SLKCFLAGS="-DHAVE_SNPRINTF=1 -O2 -fPIC"
|
||||
LIBDIRSUFFIX="64"
|
||||
elif [ "$ARCH" = "armv7hl" ]; then
|
||||
SLKCFLAGS="-DHAVE_SNPRINTF=1 -O3 -march=armv7-a -mfpu=vfpv3-d16"
|
||||
LIBDIRSUFFIX=""
|
||||
else
|
||||
SLKCFLAGS="-DHAVE_SNPRINTF=1 -O2"
|
||||
LIBDIRSUFFIX=""
|
||||
fi
|
||||
|
||||
TMP=${TMP:-/tmp}
|
||||
PKG=$TMP/package-$PKGNAM
|
||||
|
||||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG/etc
|
||||
|
||||
# Build and install the zoneinfo database:
|
||||
cd $TMP
|
||||
rm -rf tzcodedata-build
|
||||
mkdir tzcodedata-build
|
||||
cd tzcodedata-build
|
||||
tar xzf $CWD/tzcode?????.tar.gz || exit 1
|
||||
tar xzf $CWD/tzdata?????.tar.gz || exit 1
|
||||
|
||||
# Default to more bloated (but more compatible) "fat" format with zic.
|
||||
# This was the default prior to tzcode2020b.
|
||||
zcat $CWD/zic.default.fat.diff.gz | patch -p1 --verbose || exit 1
|
||||
|
||||
chown -R root:root .
|
||||
find . \
|
||||
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
||||
-exec chmod 755 {} \+ -o \
|
||||
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
||||
-exec chmod 644 {} \+
|
||||
|
||||
sed -i "s,/usr/local,$(pwd),g" Makefile
|
||||
sed -i "s,/etc/zoneinfo,/zoneinfo,g" Makefile
|
||||
sed -i "s,^CFLAGS=,CFLAGS= $SLKCFLAGS,g" Makefile
|
||||
make || exit 1
|
||||
make install DESTDIR=$PKG/stage || exit 1
|
||||
|
||||
# Install the primary zone files:
|
||||
mkdir -p $PKG/usr/share
|
||||
mv $PKG/stage/usr/share/zoneinfo $PKG/usr/share
|
||||
|
||||
# These are all identical to the normal zoneinfo files, so let's hard link
|
||||
# them to save space:
|
||||
cp -al $PKG/usr/share/zoneinfo $PKG/usr/share/posix
|
||||
mv $PKG/usr/share/posix $PKG/usr/share/zoneinfo
|
||||
|
||||
# Install the "right" files:
|
||||
mkdir -p $PKG/usr/share/zoneinfo/right
|
||||
cp -a $PKG/stage/usr/share/zoneinfo-leaps/* $PKG/usr/share/zoneinfo/right
|
||||
|
||||
# Clean up staged file residue:
|
||||
rm -rf $PKG/stage
|
||||
|
||||
# Remove $PKG/usr/share/zoneinfo/localtime -- the install script will
|
||||
# create it as a link to /etc/localtime.
|
||||
rm -f $PKG/usr/share/zoneinfo/localtime
|
||||
|
||||
# Install some scripts to help select a timezone:
|
||||
mkdir -p $PKG/var/log/setup
|
||||
cp -a $CWD/timezone-scripts/setup.timeconfig $PKG/var/log/setup
|
||||
chown root:root $PKG/var/log/setup/setup.timeconfig
|
||||
chmod 755 $PKG/var/log/setup/setup.timeconfig
|
||||
mkdir -p $PKG/usr/sbin
|
||||
cp -a $CWD/timezone-scripts/timeconfig $PKG/usr/sbin
|
||||
chown root:root $PKG/usr/sbin/timeconfig
|
||||
chmod 755 $PKG/usr/sbin/timeconfig
|
||||
( cd $CWD/timezone-scripts
|
||||
# Try to rebuild this:
|
||||
sh output-updated-timeconfig.sh $PKG/usr/share/zoneinfo > $PKG/usr/sbin/timeconfig 2> /dev/null
|
||||
)
|
||||
# Note in timeconfig which zoneinfo database was used:
|
||||
sed -i "s/# ChangeLog:/# ChangeLog:\n# $(date '+%Y-%m-%d'): Updated timezones from tzdata${ZONE_VERSIONS}. <pjv>/g" $PKG/usr/sbin/timeconfig
|
||||
|
||||
# Don't forget to add the /usr/share/zoneinfo/localtime -> /etc/localtime symlink! :)
|
||||
if [ ! -r $PKG/usr/share/zoneinfo/localtime ]; then
|
||||
( cd $PKG/usr/share/zoneinfo ; ln -sf /etc/localtime . )
|
||||
fi
|
||||
|
||||
mkdir -p $PKG/usr/doc/glibc-zoneinfo-$ZONE_VERSIONS
|
||||
cp -a \
|
||||
CONTRIBUTING LICENSE NEWS README Theory \
|
||||
$PKG/usr/doc/glibc-zoneinfo-$ZONE_VERSIONS
|
||||
|
||||
mkdir -p $PKG/install
|
||||
zcat $CWD/doinst.sh.gz > $PKG/install/doinst.sh
|
||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
|
||||
cd $PKG
|
||||
makepkg -l y -c n $TMP/glibc-zoneinfo-$ZONE_VERSIONS-noarch-$BUILD.txz
|
||||
|
19
patches/source/glibc-zoneinfo/slack-desc
Normal file
19
patches/source/glibc-zoneinfo/slack-desc
Normal file
|
@ -0,0 +1,19 @@
|
|||
# HOW TO EDIT THIS FILE:
|
||||
# The "handy ruler" below makes it easier to edit a package description. Line
|
||||
# up the first '|' above the ':' following the base package name, and the '|' on
|
||||
# the right side marks the last column you can put a character in. You must make
|
||||
# exactly 11 lines for the formatting to be correct. It's also customary to
|
||||
# leave one space after the ':'.
|
||||
|
||||
|-----handy-ruler------------------------------------------------------|
|
||||
glibc-zoneinfo: glibc-zoneinfo (timezone database)
|
||||
glibc-zoneinfo:
|
||||
glibc-zoneinfo: This package allows you to configure your time zone.
|
||||
glibc-zoneinfo:
|
||||
glibc-zoneinfo: This timezone database comes from the tzdata and tzcode packages by
|
||||
glibc-zoneinfo: Arthur David Olson et al. The latest version and more information
|
||||
glibc-zoneinfo: may be found at: https://www.iana.org/time-zones
|
||||
glibc-zoneinfo:
|
||||
glibc-zoneinfo: Use the timeconfig utility to set your local time zone.
|
||||
glibc-zoneinfo:
|
||||
glibc-zoneinfo:
|
60
patches/source/glibc-zoneinfo/timezone-scripts/output-updated-timeconfig.sh
Executable file
60
patches/source/glibc-zoneinfo/timezone-scripts/output-updated-timeconfig.sh
Executable file
|
@ -0,0 +1,60 @@
|
|||
#!/bin/sh
|
||||
# Copyright 2000, 2001, 2006, 2007, 2008, 2012 Patrick J. Volkerding, Sebeka, MN, USA.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
# permitted provided that the following conditions are met:
|
||||
#
|
||||
# 1. Redistributions of this script must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
|
||||
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
|
||||
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
||||
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
|
||||
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
|
||||
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
#
|
||||
|
||||
if [ ! "$(basename "$1")" = "zoneinfo" -o ! -d "$1" ]; then
|
||||
echo " Usage: output-updated-timeconfig.sh <zoneinfo directory>"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
CWD=$(pwd)
|
||||
cat $CWD/parts/00
|
||||
# Sorry, I'd rather not be US-centric but some people here have a hard
|
||||
# time finding things. ;-)
|
||||
( cd $1
|
||||
find . -type f | xargs file | grep "timezone data" | cut -f 1 -d : | cut -f 2- -d / | sort | grep "^US/" | while read zone ; do
|
||||
echo "\"${zone}\" \" \" \\"
|
||||
done
|
||||
)
|
||||
# Don't list right/ and posix/ zones, as these are wrong choices for most
|
||||
# people. posix/ is just a duplicate of the normal zones, while right/ do
|
||||
# not include leap seconds. Anyone actually needing something from one of
|
||||
# those trees will have no problem selecting it by manually adjusting
|
||||
# /etc/localtime.
|
||||
( cd $1
|
||||
find . -type f | xargs file | grep "timezone data" | cut -f 1 -d : | cut -f 2- -d / | sort | grep -v "^US/" | grep -v "^posix/" | grep -v "^right/" | while read zone ; do
|
||||
echo "\"${zone}\" \" \" \\"
|
||||
done
|
||||
)
|
||||
cat $CWD/parts/02
|
||||
# US/ first:
|
||||
( cd $1
|
||||
find . -type f | xargs file | grep "timezone data" | cut -f 1 -d : | cut -f 2- -d / | sort | grep "^US/" | while read zone ; do
|
||||
echo "${zone}"
|
||||
done
|
||||
)
|
||||
# Don't list right/ and posix/ zones:
|
||||
( cd $1
|
||||
find . -type f | xargs file | grep "timezone data" | cut -f 1 -d : | cut -f 2- -d / | sort | grep -v "^US/" | grep -v "^posix/" | grep -v "^right/" | while read zone ; do
|
||||
echo "${zone}"
|
||||
done
|
||||
)
|
||||
cat $CWD/parts/04
|
132
patches/source/glibc-zoneinfo/timezone-scripts/parts/00
Normal file
132
patches/source/glibc-zoneinfo/timezone-scripts/parts/00
Normal file
|
@ -0,0 +1,132 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# timeconfig Slackware Linux timezone configuration utility.
|
||||
#
|
||||
# Author: Patrick Volkerding <volkerdi@slackware.com>
|
||||
# Modified by: David Cantrell <david@slackware.com>, 06-Oct-2000
|
||||
#
|
||||
# ChangeLog:
|
||||
# 2019-09-11: Updated timezones from tzdata2019c. <pjv>
|
||||
# 2014-10-22: Updated timezones from tzdata2014i. <pjv>
|
||||
# 2012-12-12: Updated timezones from tzdata2012j. <pjv>
|
||||
# 2008-03-10: Updated timezones from tzdata2008a. <pjv>
|
||||
# 2007-12-21: Updated timezones from tzdata2007j. <pjv>
|
||||
# 2006-12-03: Updated timezones from tzdata2006p. <pjv>
|
||||
# 2006-09-14: Updated timezones from tzdata2006k. <pjv>
|
||||
# 2006-08-22: Updated timezones from tzdata2006j.
|
||||
# 2006-08-13: Updated timezones from tzdata2006g.
|
||||
# 2006-03-13: Updated timezones from tzdata2006c.
|
||||
# 19-Feb-2001 Add new timezones from glibc-2.2.2.
|
||||
# 06-Oct-2000 Fixed a problem with selecting UTC time. It was writing
|
||||
# the hardwareclock file to the root disk and not your dest
|
||||
# partition. Changed the HWCLOCK_CONF variable to be
|
||||
# $T_PX/etc/hardwareclock to fix this. Thanks to David L.
|
||||
# Dickman <softbear@optonline.net> for finding this and
|
||||
# submitting a patch.
|
||||
#
|
||||
# 15-Mar-2000 Added the writeconf function to write out the
|
||||
# /etc/hardwareclock file which tells what the hardware clock
|
||||
# is set to (UTC or localtime).
|
||||
#
|
||||
# 03-Mar-2000 Reorganized script. Made one timezone set block, added
|
||||
# stage that asks the user if the hardware clock is set to
|
||||
# UTC.
|
||||
|
||||
# setup our temp locations and variables
|
||||
TMP=/var/log/setup/tmp
|
||||
if [ -r $TMP/SeTT_PX ]; then
|
||||
T_PX="`cat $TMP/SeTT_PX`"
|
||||
elif [ ! "$!" = "" ]; then
|
||||
T_PX=$1
|
||||
else
|
||||
T_PX=/
|
||||
fi
|
||||
|
||||
# the hardware clock configuration file
|
||||
HWCLOCK_CONF=$T_PX/etc/hardwareclock
|
||||
|
||||
# setzone( $TIMEZONE )
|
||||
#
|
||||
# This function accepts a time zone as the only parameter and sets it as
|
||||
# the default system time zone.
|
||||
setzone()
|
||||
{
|
||||
TZ=$1
|
||||
|
||||
cd $T_PX/etc
|
||||
if [ -r $T_PX/usr/share/zoneinfo/$TZ -o \
|
||||
-r /var/log/mount/usr/share/zoneinfo/$TZ -o \
|
||||
-L $T_PX/usr/share/zoneinfo/$TZ -o \
|
||||
-L /var/log/mount/usr/share/zoneinfo/$TZ ]; then
|
||||
rm -f localtime-copied-from
|
||||
rm -f localtime
|
||||
ln -sf /usr/share/zoneinfo/$TZ localtime
|
||||
cd ..
|
||||
fi
|
||||
}
|
||||
|
||||
# writeconf( $CLOCK_SET_TO )
|
||||
#
|
||||
# Writes out $HWCLOCK_CONF that tells rc.S how the hardware clock
|
||||
# value is stored.
|
||||
writeconf()
|
||||
{
|
||||
echo "# /etc/hardwareclock" > $HWCLOCK_CONF
|
||||
echo "#" >> $HWCLOCK_CONF
|
||||
echo "# Tells how the hardware clock time is stored." >> $HWCLOCK_CONF
|
||||
echo "# You should run timeconfig to edit this file." >> $HWCLOCK_CONF
|
||||
echo >> $HWCLOCK_CONF
|
||||
echo $1 >> $HWCLOCK_CONF
|
||||
}
|
||||
|
||||
# ask the user if the hardware clock is set for UTC/GMT
|
||||
if [ "$COLOR" = "on" -o -r $TMP/SeTcolor -o "$T_PX" = "/" ]; then
|
||||
###
|
||||
### use color menus here
|
||||
###
|
||||
dialog --title "HARDWARE CLOCK SET TO UTC?" --menu "Is the hardware clock set \
|
||||
to Coordinated Universal Time (UTC/GMT)? If it is, select YES here. If the \
|
||||
hardware clock is set to the current local time (this is how most PCs are set \
|
||||
up), then say NO here. If you are not sure what this is, you should answer NO \
|
||||
here." 13 60 2 \
|
||||
"NO" "Hardware clock is set to local time" \
|
||||
"YES" "Hardware clock is set to UTC" \
|
||||
2> $TMP/utc
|
||||
if [ $? = 1 -o $? = 255 ]; then
|
||||
rm -f $TMP/utc
|
||||
exit
|
||||
fi
|
||||
if [ "`cat $TMP/utc`" = "YES" ]; then
|
||||
# yes, the hardware clock is UTC
|
||||
writeconf "UTC"
|
||||
else # must be NO
|
||||
writeconf "localtime"
|
||||
fi
|
||||
rm -f $TMP/utc
|
||||
else
|
||||
###
|
||||
### use text prompts
|
||||
###
|
||||
echo "Is the hardware clock set to Coordinated Universal Time (UTC/GMT)?"
|
||||
echo "If it is, select 'y' here. If the hardware clock is set to the"
|
||||
echo "current local time (this is how most PCs are set up), then say 'n'"
|
||||
echo "here. If you are not sure what this is, you should answer 'n' here."
|
||||
echo
|
||||
echo -n "Is your hardware clock set to UTC ([y]es, [n]o)? "
|
||||
read HEJAZ
|
||||
|
||||
if [ "$HEJAZ" = "y" -o "$HEJAZ" = "Y" -o "$HEJAZ" = "YES" -o "$HEJAZ" = "yes" ]; then
|
||||
# yes, the hardware clock is UTC
|
||||
writeconf "UTC"
|
||||
else
|
||||
# default to localtime
|
||||
writeconf "localtime"
|
||||
fi
|
||||
fi
|
||||
|
||||
# Now set the correct timezone link:
|
||||
if [ "$COLOR" = "on" -o -r $TMP/SeTcolor -o "$T_PX" = "/" ]; then
|
||||
###
|
||||
### use color menus here
|
||||
###
|
||||
dialog --title "TIMEZONE CONFIGURATION" --menu "Please select one of the following timezones for your machine:" 21 50 13 \
|
585
patches/source/glibc-zoneinfo/timezone-scripts/parts/01
Normal file
585
patches/source/glibc-zoneinfo/timezone-scripts/parts/01
Normal file
|
@ -0,0 +1,585 @@
|
|||
"US/Alaska" " " \
|
||||
"US/Aleutian" " " \
|
||||
"US/Arizona" " " \
|
||||
"US/Central" " " \
|
||||
"US/East-Indiana" " " \
|
||||
"US/Eastern" " " \
|
||||
"US/Hawaii" " " \
|
||||
"US/Indiana-Starke" " " \
|
||||
"US/Michigan" " " \
|
||||
"US/Mountain" " " \
|
||||
"US/Pacific" " " \
|
||||
"US/Pacific-New" " " \
|
||||
"US/Samoa" " " \
|
||||
"Africa/Abidjan" " " \
|
||||
"Africa/Accra" " " \
|
||||
"Africa/Addis_Ababa" " " \
|
||||
"Africa/Algiers" " " \
|
||||
"Africa/Asmara" " " \
|
||||
"Africa/Asmera" " " \
|
||||
"Africa/Bamako" " " \
|
||||
"Africa/Bangui" " " \
|
||||
"Africa/Banjul" " " \
|
||||
"Africa/Bissau" " " \
|
||||
"Africa/Blantyre" " " \
|
||||
"Africa/Brazzaville" " " \
|
||||
"Africa/Bujumbura" " " \
|
||||
"Africa/Cairo" " " \
|
||||
"Africa/Casablanca" " " \
|
||||
"Africa/Ceuta" " " \
|
||||
"Africa/Conakry" " " \
|
||||
"Africa/Dakar" " " \
|
||||
"Africa/Dar_es_Salaam" " " \
|
||||
"Africa/Djibouti" " " \
|
||||
"Africa/Douala" " " \
|
||||
"Africa/El_Aaiun" " " \
|
||||
"Africa/Freetown" " " \
|
||||
"Africa/Gaborone" " " \
|
||||
"Africa/Harare" " " \
|
||||
"Africa/Johannesburg" " " \
|
||||
"Africa/Juba" " " \
|
||||
"Africa/Kampala" " " \
|
||||
"Africa/Khartoum" " " \
|
||||
"Africa/Kigali" " " \
|
||||
"Africa/Kinshasa" " " \
|
||||
"Africa/Lagos" " " \
|
||||
"Africa/Libreville" " " \
|
||||
"Africa/Lome" " " \
|
||||
"Africa/Luanda" " " \
|
||||
"Africa/Lubumbashi" " " \
|
||||
"Africa/Lusaka" " " \
|
||||
"Africa/Malabo" " " \
|
||||
"Africa/Maputo" " " \
|
||||
"Africa/Maseru" " " \
|
||||
"Africa/Mbabane" " " \
|
||||
"Africa/Mogadishu" " " \
|
||||
"Africa/Monrovia" " " \
|
||||
"Africa/Nairobi" " " \
|
||||
"Africa/Ndjamena" " " \
|
||||
"Africa/Niamey" " " \
|
||||
"Africa/Nouakchott" " " \
|
||||
"Africa/Ouagadougou" " " \
|
||||
"Africa/Porto-Novo" " " \
|
||||
"Africa/Sao_Tome" " " \
|
||||
"Africa/Timbuktu" " " \
|
||||
"Africa/Tripoli" " " \
|
||||
"Africa/Tunis" " " \
|
||||
"Africa/Windhoek" " " \
|
||||
"America/Adak" " " \
|
||||
"America/Anchorage" " " \
|
||||
"America/Anguilla" " " \
|
||||
"America/Antigua" " " \
|
||||
"America/Araguaina" " " \
|
||||
"America/Argentina/Buenos_Aires" " " \
|
||||
"America/Argentina/Catamarca" " " \
|
||||
"America/Argentina/ComodRivadavia" " " \
|
||||
"America/Argentina/Cordoba" " " \
|
||||
"America/Argentina/Jujuy" " " \
|
||||
"America/Argentina/La_Rioja" " " \
|
||||
"America/Argentina/Mendoza" " " \
|
||||
"America/Argentina/Rio_Gallegos" " " \
|
||||
"America/Argentina/Salta" " " \
|
||||
"America/Argentina/San_Juan" " " \
|
||||
"America/Argentina/San_Luis" " " \
|
||||
"America/Argentina/Tucuman" " " \
|
||||
"America/Argentina/Ushuaia" " " \
|
||||
"America/Aruba" " " \
|
||||
"America/Asuncion" " " \
|
||||
"America/Atikokan" " " \
|
||||
"America/Atka" " " \
|
||||
"America/Bahia" " " \
|
||||
"America/Bahia_Banderas" " " \
|
||||
"America/Barbados" " " \
|
||||
"America/Belem" " " \
|
||||
"America/Belize" " " \
|
||||
"America/Blanc-Sablon" " " \
|
||||
"America/Boa_Vista" " " \
|
||||
"America/Bogota" " " \
|
||||
"America/Boise" " " \
|
||||
"America/Buenos_Aires" " " \
|
||||
"America/Cambridge_Bay" " " \
|
||||
"America/Campo_Grande" " " \
|
||||
"America/Cancun" " " \
|
||||
"America/Caracas" " " \
|
||||
"America/Catamarca" " " \
|
||||
"America/Cayenne" " " \
|
||||
"America/Cayman" " " \
|
||||
"America/Chicago" " " \
|
||||
"America/Chihuahua" " " \
|
||||
"America/Coral_Harbour" " " \
|
||||
"America/Cordoba" " " \
|
||||
"America/Costa_Rica" " " \
|
||||
"America/Creston" " " \
|
||||
"America/Cuiaba" " " \
|
||||
"America/Curacao" " " \
|
||||
"America/Danmarkshavn" " " \
|
||||
"America/Dawson" " " \
|
||||
"America/Dawson_Creek" " " \
|
||||
"America/Denver" " " \
|
||||
"America/Detroit" " " \
|
||||
"America/Dominica" " " \
|
||||
"America/Edmonton" " " \
|
||||
"America/Eirunepe" " " \
|
||||
"America/El_Salvador" " " \
|
||||
"America/Ensenada" " " \
|
||||
"America/Fort_Nelson" " " \
|
||||
"America/Fort_Wayne" " " \
|
||||
"America/Fortaleza" " " \
|
||||
"America/Glace_Bay" " " \
|
||||
"America/Godthab" " " \
|
||||
"America/Goose_Bay" " " \
|
||||
"America/Grand_Turk" " " \
|
||||
"America/Grenada" " " \
|
||||
"America/Guadeloupe" " " \
|
||||
"America/Guatemala" " " \
|
||||
"America/Guayaquil" " " \
|
||||
"America/Guyana" " " \
|
||||
"America/Halifax" " " \
|
||||
"America/Havana" " " \
|
||||
"America/Hermosillo" " " \
|
||||
"America/Indiana/Indianapolis" " " \
|
||||
"America/Indiana/Knox" " " \
|
||||
"America/Indiana/Marengo" " " \
|
||||
"America/Indiana/Petersburg" " " \
|
||||
"America/Indiana/Tell_City" " " \
|
||||
"America/Indiana/Vevay" " " \
|
||||
"America/Indiana/Vincennes" " " \
|
||||
"America/Indiana/Winamac" " " \
|
||||
"America/Indianapolis" " " \
|
||||
"America/Inuvik" " " \
|
||||
"America/Iqaluit" " " \
|
||||
"America/Jamaica" " " \
|
||||
"America/Jujuy" " " \
|
||||
"America/Juneau" " " \
|
||||
"America/Kentucky/Louisville" " " \
|
||||
"America/Kentucky/Monticello" " " \
|
||||
"America/Knox_IN" " " \
|
||||
"America/Kralendijk" " " \
|
||||
"America/La_Paz" " " \
|
||||
"America/Lima" " " \
|
||||
"America/Los_Angeles" " " \
|
||||
"America/Louisville" " " \
|
||||
"America/Lower_Princes" " " \
|
||||
"America/Maceio" " " \
|
||||
"America/Managua" " " \
|
||||
"America/Manaus" " " \
|
||||
"America/Marigot" " " \
|
||||
"America/Martinique" " " \
|
||||
"America/Matamoros" " " \
|
||||
"America/Mazatlan" " " \
|
||||
"America/Mendoza" " " \
|
||||
"America/Menominee" " " \
|
||||
"America/Merida" " " \
|
||||
"America/Metlakatla" " " \
|
||||
"America/Mexico_City" " " \
|
||||
"America/Miquelon" " " \
|
||||
"America/Moncton" " " \
|
||||
"America/Monterrey" " " \
|
||||
"America/Montevideo" " " \
|
||||
"America/Montreal" " " \
|
||||
"America/Montserrat" " " \
|
||||
"America/Nassau" " " \
|
||||
"America/New_York" " " \
|
||||
"America/Nipigon" " " \
|
||||
"America/Nome" " " \
|
||||
"America/Noronha" " " \
|
||||
"America/North_Dakota/Beulah" " " \
|
||||
"America/North_Dakota/Center" " " \
|
||||
"America/North_Dakota/New_Salem" " " \
|
||||
"America/Ojinaga" " " \
|
||||
"America/Panama" " " \
|
||||
"America/Pangnirtung" " " \
|
||||
"America/Paramaribo" " " \
|
||||
"America/Phoenix" " " \
|
||||
"America/Port-au-Prince" " " \
|
||||
"America/Port_of_Spain" " " \
|
||||
"America/Porto_Acre" " " \
|
||||
"America/Porto_Velho" " " \
|
||||
"America/Puerto_Rico" " " \
|
||||
"America/Rainy_River" " " \
|
||||
"America/Rankin_Inlet" " " \
|
||||
"America/Recife" " " \
|
||||
"America/Regina" " " \
|
||||
"America/Resolute" " " \
|
||||
"America/Rio_Branco" " " \
|
||||
"America/Rosario" " " \
|
||||
"America/Santa_Isabel" " " \
|
||||
"America/Santarem" " " \
|
||||
"America/Santiago" " " \
|
||||
"America/Santo_Domingo" " " \
|
||||
"America/Sao_Paulo" " " \
|
||||
"America/Scoresbysund" " " \
|
||||
"America/Shiprock" " " \
|
||||
"America/Sitka" " " \
|
||||
"America/St_Barthelemy" " " \
|
||||
"America/St_Johns" " " \
|
||||
"America/St_Kitts" " " \
|
||||
"America/St_Lucia" " " \
|
||||
"America/St_Thomas" " " \
|
||||
"America/St_Vincent" " " \
|
||||
"America/Swift_Current" " " \
|
||||
"America/Tegucigalpa" " " \
|
||||
"America/Thule" " " \
|
||||
"America/Thunder_Bay" " " \
|
||||
"America/Tijuana" " " \
|
||||
"America/Toronto" " " \
|
||||
"America/Tortola" " " \
|
||||
"America/Vancouver" " " \
|
||||
"America/Virgin" " " \
|
||||
"America/Whitehorse" " " \
|
||||
"America/Winnipeg" " " \
|
||||
"America/Yakutat" " " \
|
||||
"America/Yellowknife" " " \
|
||||
"Antarctica/Casey" " " \
|
||||
"Antarctica/Davis" " " \
|
||||
"Antarctica/DumontDUrville" " " \
|
||||
"Antarctica/Macquarie" " " \
|
||||
"Antarctica/Mawson" " " \
|
||||
"Antarctica/McMurdo" " " \
|
||||
"Antarctica/Palmer" " " \
|
||||
"Antarctica/Rothera" " " \
|
||||
"Antarctica/South_Pole" " " \
|
||||
"Antarctica/Syowa" " " \
|
||||
"Antarctica/Troll" " " \
|
||||
"Antarctica/Vostok" " " \
|
||||
"Arctic/Longyearbyen" " " \
|
||||
"Asia/Aden" " " \
|
||||
"Asia/Almaty" " " \
|
||||
"Asia/Amman" " " \
|
||||
"Asia/Anadyr" " " \
|
||||
"Asia/Aqtau" " " \
|
||||
"Asia/Aqtobe" " " \
|
||||
"Asia/Ashgabat" " " \
|
||||
"Asia/Ashkhabad" " " \
|
||||
"Asia/Baghdad" " " \
|
||||
"Asia/Bahrain" " " \
|
||||
"Asia/Baku" " " \
|
||||
"Asia/Bangkok" " " \
|
||||
"Asia/Beirut" " " \
|
||||
"Asia/Bishkek" " " \
|
||||
"Asia/Brunei" " " \
|
||||
"Asia/Calcutta" " " \
|
||||
"Asia/Chita" " " \
|
||||
"Asia/Choibalsan" " " \
|
||||
"Asia/Chongqing" " " \
|
||||
"Asia/Chungking" " " \
|
||||
"Asia/Colombo" " " \
|
||||
"Asia/Dacca" " " \
|
||||
"Asia/Damascus" " " \
|
||||
"Asia/Dhaka" " " \
|
||||
"Asia/Dili" " " \
|
||||
"Asia/Dubai" " " \
|
||||
"Asia/Dushanbe" " " \
|
||||
"Asia/Gaza" " " \
|
||||
"Asia/Harbin" " " \
|
||||
"Asia/Hebron" " " \
|
||||
"Asia/Ho_Chi_Minh" " " \
|
||||
"Asia/Hong_Kong" " " \
|
||||
"Asia/Hovd" " " \
|
||||
"Asia/Irkutsk" " " \
|
||||
"Asia/Istanbul" " " \
|
||||
"Asia/Jakarta" " " \
|
||||
"Asia/Jayapura" " " \
|
||||
"Asia/Jerusalem" " " \
|
||||
"Asia/Kabul" " " \
|
||||
"Asia/Kamchatka" " " \
|
||||
"Asia/Karachi" " " \
|
||||
"Asia/Kashgar" " " \
|
||||
"Asia/Kathmandu" " " \
|
||||
"Asia/Katmandu" " " \
|
||||
"Asia/Khandyga" " " \
|
||||
"Asia/Kolkata" " " \
|
||||
"Asia/Krasnoyarsk" " " \
|
||||
"Asia/Kuala_Lumpur" " " \
|
||||
"Asia/Kuching" " " \
|
||||
"Asia/Kuwait" " " \
|
||||
"Asia/Macao" " " \
|
||||
"Asia/Macau" " " \
|
||||
"Asia/Magadan" " " \
|
||||
"Asia/Makassar" " " \
|
||||
"Asia/Manila" " " \
|
||||
"Asia/Muscat" " " \
|
||||
"Asia/Nicosia" " " \
|
||||
"Asia/Novokuznetsk" " " \
|
||||
"Asia/Novosibirsk" " " \
|
||||
"Asia/Omsk" " " \
|
||||
"Asia/Oral" " " \
|
||||
"Asia/Phnom_Penh" " " \
|
||||
"Asia/Pontianak" " " \
|
||||
"Asia/Pyongyang" " " \
|
||||
"Asia/Qatar" " " \
|
||||
"Asia/Qyzylorda" " " \
|
||||
"Asia/Rangoon" " " \
|
||||
"Asia/Riyadh" " " \
|
||||
"Asia/Saigon" " " \
|
||||
"Asia/Sakhalin" " " \
|
||||
"Asia/Samarkand" " " \
|
||||
"Asia/Seoul" " " \
|
||||
"Asia/Shanghai" " " \
|
||||
"Asia/Singapore" " " \
|
||||
"Asia/Srednekolymsk" " " \
|
||||
"Asia/Taipei" " " \
|
||||
"Asia/Tashkent" " " \
|
||||
"Asia/Tbilisi" " " \
|
||||
"Asia/Tehran" " " \
|
||||
"Asia/Tel_Aviv" " " \
|
||||
"Asia/Thimbu" " " \
|
||||
"Asia/Thimphu" " " \
|
||||
"Asia/Tokyo" " " \
|
||||
"Asia/Ujung_Pandang" " " \
|
||||
"Asia/Ulaanbaatar" " " \
|
||||
"Asia/Ulan_Bator" " " \
|
||||
"Asia/Urumqi" " " \
|
||||
"Asia/Ust-Nera" " " \
|
||||
"Asia/Vientiane" " " \
|
||||
"Asia/Vladivostok" " " \
|
||||
"Asia/Yakutsk" " " \
|
||||
"Asia/Yekaterinburg" " " \
|
||||
"Asia/Yerevan" " " \
|
||||
"Atlantic/Azores" " " \
|
||||
"Atlantic/Bermuda" " " \
|
||||
"Atlantic/Canary" " " \
|
||||
"Atlantic/Cape_Verde" " " \
|
||||
"Atlantic/Faeroe" " " \
|
||||
"Atlantic/Faroe" " " \
|
||||
"Atlantic/Jan_Mayen" " " \
|
||||
"Atlantic/Madeira" " " \
|
||||
"Atlantic/Reykjavik" " " \
|
||||
"Atlantic/South_Georgia" " " \
|
||||
"Atlantic/St_Helena" " " \
|
||||
"Atlantic/Stanley" " " \
|
||||
"Australia/ACT" " " \
|
||||
"Australia/Adelaide" " " \
|
||||
"Australia/Brisbane" " " \
|
||||
"Australia/Broken_Hill" " " \
|
||||
"Australia/Canberra" " " \
|
||||
"Australia/Currie" " " \
|
||||
"Australia/Darwin" " " \
|
||||
"Australia/Eucla" " " \
|
||||
"Australia/Hobart" " " \
|
||||
"Australia/LHI" " " \
|
||||
"Australia/Lindeman" " " \
|
||||
"Australia/Lord_Howe" " " \
|
||||
"Australia/Melbourne" " " \
|
||||
"Australia/NSW" " " \
|
||||
"Australia/North" " " \
|
||||
"Australia/Perth" " " \
|
||||
"Australia/Queensland" " " \
|
||||
"Australia/South" " " \
|
||||
"Australia/Sydney" " " \
|
||||
"Australia/Tasmania" " " \
|
||||
"Australia/Victoria" " " \
|
||||
"Australia/West" " " \
|
||||
"Australia/Yancowinna" " " \
|
||||
"Brazil/Acre" " " \
|
||||
"Brazil/DeNoronha" " " \
|
||||
"Brazil/East" " " \
|
||||
"Brazil/West" " " \
|
||||
"CET" " " \
|
||||
"CST6CDT" " " \
|
||||
"Canada/Atlantic" " " \
|
||||
"Canada/Central" " " \
|
||||
"Canada/East-Saskatchewan" " " \
|
||||
"Canada/Eastern" " " \
|
||||
"Canada/Mountain" " " \
|
||||
"Canada/Newfoundland" " " \
|
||||
"Canada/Pacific" " " \
|
||||
"Canada/Saskatchewan" " " \
|
||||
"Canada/Yukon" " " \
|
||||
"Chile/Continental" " " \
|
||||
"Chile/EasterIsland" " " \
|
||||
"Cuba" " " \
|
||||
"EET" " " \
|
||||
"EST" " " \
|
||||
"EST5EDT" " " \
|
||||
"Egypt" " " \
|
||||
"Eire" " " \
|
||||
"Etc/GMT" " " \
|
||||
"Etc/GMT+0" " " \
|
||||
"Etc/GMT+1" " " \
|
||||
"Etc/GMT+10" " " \
|
||||
"Etc/GMT+11" " " \
|
||||
"Etc/GMT+12" " " \
|
||||
"Etc/GMT+2" " " \
|
||||
"Etc/GMT+3" " " \
|
||||
"Etc/GMT+4" " " \
|
||||
"Etc/GMT+5" " " \
|
||||
"Etc/GMT+6" " " \
|
||||
"Etc/GMT+7" " " \
|
||||
"Etc/GMT+8" " " \
|
||||
"Etc/GMT+9" " " \
|
||||
"Etc/GMT-0" " " \
|
||||
"Etc/GMT-1" " " \
|
||||
"Etc/GMT-10" " " \
|
||||
"Etc/GMT-11" " " \
|
||||
"Etc/GMT-12" " " \
|
||||
"Etc/GMT-13" " " \
|
||||
"Etc/GMT-14" " " \
|
||||
"Etc/GMT-2" " " \
|
||||
"Etc/GMT-3" " " \
|
||||
"Etc/GMT-4" " " \
|
||||
"Etc/GMT-5" " " \
|
||||
"Etc/GMT-6" " " \
|
||||
"Etc/GMT-7" " " \
|
||||
"Etc/GMT-8" " " \
|
||||
"Etc/GMT-9" " " \
|
||||
"Etc/GMT0" " " \
|
||||
"Etc/Greenwich" " " \
|
||||
"Etc/UCT" " " \
|
||||
"Etc/UTC" " " \
|
||||
"Etc/Universal" " " \
|
||||
"Etc/Zulu" " " \
|
||||
"Europe/Amsterdam" " " \
|
||||
"Europe/Andorra" " " \
|
||||
"Europe/Athens" " " \
|
||||
"Europe/Belfast" " " \
|
||||
"Europe/Belgrade" " " \
|
||||
"Europe/Berlin" " " \
|
||||
"Europe/Bratislava" " " \
|
||||
"Europe/Brussels" " " \
|
||||
"Europe/Bucharest" " " \
|
||||
"Europe/Budapest" " " \
|
||||
"Europe/Busingen" " " \
|
||||
"Europe/Chisinau" " " \
|
||||
"Europe/Copenhagen" " " \
|
||||
"Europe/Dublin" " " \
|
||||
"Europe/Gibraltar" " " \
|
||||
"Europe/Guernsey" " " \
|
||||
"Europe/Helsinki" " " \
|
||||
"Europe/Isle_of_Man" " " \
|
||||
"Europe/Istanbul" " " \
|
||||
"Europe/Jersey" " " \
|
||||
"Europe/Kaliningrad" " " \
|
||||
"Europe/Kiev" " " \
|
||||
"Europe/Lisbon" " " \
|
||||
"Europe/Ljubljana" " " \
|
||||
"Europe/London" " " \
|
||||
"Europe/Luxembourg" " " \
|
||||
"Europe/Madrid" " " \
|
||||
"Europe/Malta" " " \
|
||||
"Europe/Mariehamn" " " \
|
||||
"Europe/Minsk" " " \
|
||||
"Europe/Monaco" " " \
|
||||
"Europe/Moscow" " " \
|
||||
"Europe/Nicosia" " " \
|
||||
"Europe/Oslo" " " \
|
||||
"Europe/Paris" " " \
|
||||
"Europe/Podgorica" " " \
|
||||
"Europe/Prague" " " \
|
||||
"Europe/Riga" " " \
|
||||
"Europe/Rome" " " \
|
||||
"Europe/Samara" " " \
|
||||
"Europe/San_Marino" " " \
|
||||
"Europe/Sarajevo" " " \
|
||||
"Europe/Simferopol" " " \
|
||||
"Europe/Skopje" " " \
|
||||
"Europe/Sofia" " " \
|
||||
"Europe/Stockholm" " " \
|
||||
"Europe/Tallinn" " " \
|
||||
"Europe/Tirane" " " \
|
||||
"Europe/Tiraspol" " " \
|
||||
"Europe/Uzhgorod" " " \
|
||||
"Europe/Vaduz" " " \
|
||||
"Europe/Vatican" " " \
|
||||
"Europe/Vienna" " " \
|
||||
"Europe/Vilnius" " " \
|
||||
"Europe/Volgograd" " " \
|
||||
"Europe/Warsaw" " " \
|
||||
"Europe/Zagreb" " " \
|
||||
"Europe/Zaporozhye" " " \
|
||||
"Europe/Zurich" " " \
|
||||
"Factory" " " \
|
||||
"GB" " " \
|
||||
"GB-Eire" " " \
|
||||
"GMT" " " \
|
||||
"GMT+0" " " \
|
||||
"GMT-0" " " \
|
||||
"GMT0" " " \
|
||||
"Greenwich" " " \
|
||||
"HST" " " \
|
||||
"Hongkong" " " \
|
||||
"Iceland" " " \
|
||||
"Indian/Antananarivo" " " \
|
||||
"Indian/Chagos" " " \
|
||||
"Indian/Christmas" " " \
|
||||
"Indian/Cocos" " " \
|
||||
"Indian/Comoro" " " \
|
||||
"Indian/Kerguelen" " " \
|
||||
"Indian/Mahe" " " \
|
||||
"Indian/Maldives" " " \
|
||||
"Indian/Mauritius" " " \
|
||||
"Indian/Mayotte" " " \
|
||||
"Indian/Reunion" " " \
|
||||
"Iran" " " \
|
||||
"Israel" " " \
|
||||
"Jamaica" " " \
|
||||
"Japan" " " \
|
||||
"Kwajalein" " " \
|
||||
"Libya" " " \
|
||||
"MET" " " \
|
||||
"MST" " " \
|
||||
"MST7MDT" " " \
|
||||
"Mexico/BajaNorte" " " \
|
||||
"Mexico/BajaSur" " " \
|
||||
"Mexico/General" " " \
|
||||
"NZ" " " \
|
||||
"NZ-CHAT" " " \
|
||||
"Navajo" " " \
|
||||
"PRC" " " \
|
||||
"PST8PDT" " " \
|
||||
"Pacific/Apia" " " \
|
||||
"Pacific/Auckland" " " \
|
||||
"Pacific/Bougainville" " " \
|
||||
"Pacific/Chatham" " " \
|
||||
"Pacific/Chuuk" " " \
|
||||
"Pacific/Easter" " " \
|
||||
"Pacific/Efate" " " \
|
||||
"Pacific/Enderbury" " " \
|
||||
"Pacific/Fakaofo" " " \
|
||||
"Pacific/Fiji" " " \
|
||||
"Pacific/Funafuti" " " \
|
||||
"Pacific/Galapagos" " " \
|
||||
"Pacific/Gambier" " " \
|
||||
"Pacific/Guadalcanal" " " \
|
||||
"Pacific/Guam" " " \
|
||||
"Pacific/Honolulu" " " \
|
||||
"Pacific/Johnston" " " \
|
||||
"Pacific/Kiritimati" " " \
|
||||
"Pacific/Kosrae" " " \
|
||||
"Pacific/Kwajalein" " " \
|
||||
"Pacific/Majuro" " " \
|
||||
"Pacific/Marquesas" " " \
|
||||
"Pacific/Midway" " " \
|
||||
"Pacific/Nauru" " " \
|
||||
"Pacific/Niue" " " \
|
||||
"Pacific/Norfolk" " " \
|
||||
"Pacific/Noumea" " " \
|
||||
"Pacific/Pago_Pago" " " \
|
||||
"Pacific/Palau" " " \
|
||||
"Pacific/Pitcairn" " " \
|
||||
"Pacific/Pohnpei" " " \
|
||||
"Pacific/Ponape" " " \
|
||||
"Pacific/Port_Moresby" " " \
|
||||
"Pacific/Rarotonga" " " \
|
||||
"Pacific/Saipan" " " \
|
||||
"Pacific/Samoa" " " \
|
||||
"Pacific/Tahiti" " " \
|
||||
"Pacific/Tarawa" " " \
|
||||
"Pacific/Tongatapu" " " \
|
||||
"Pacific/Truk" " " \
|
||||
"Pacific/Wake" " " \
|
||||
"Pacific/Wallis" " " \
|
||||
"Pacific/Yap" " " \
|
||||
"Poland" " " \
|
||||
"Portugal" " " \
|
||||
"ROC" " " \
|
||||
"ROK" " " \
|
||||
"Singapore" " " \
|
||||
"Turkey" " " \
|
||||
"UCT" " " \
|
||||
"UTC" " " \
|
||||
"Universal" " " \
|
||||
"W-SU" " " \
|
||||
"WET" " " \
|
||||
"Zulu" " " \
|
||||
"posixrules" " " \
|
28
patches/source/glibc-zoneinfo/timezone-scripts/parts/02
Normal file
28
patches/source/glibc-zoneinfo/timezone-scripts/parts/02
Normal file
|
@ -0,0 +1,28 @@
|
|||
2> $TMP/tz
|
||||
|
||||
if [ $? = 1 -o $? = 255 ]; then
|
||||
rm -f $TMP/tz
|
||||
exit
|
||||
fi
|
||||
|
||||
TIMEZONE="`cat $TMP/tz`"
|
||||
rm -f $TMP/tz
|
||||
|
||||
setzone $TIMEZONE
|
||||
exit
|
||||
else
|
||||
###
|
||||
### use text prompts
|
||||
###
|
||||
while [ 0 ]; do
|
||||
echo -n "Would you like to configure your timezone ([y]es, [n]o)? "
|
||||
read TIMECONF;
|
||||
echo
|
||||
|
||||
if [ "$TIMECONF" = "n" ]; then
|
||||
break
|
||||
fi
|
||||
|
||||
cat << EOF
|
||||
Select one of these timezones:
|
||||
|
585
patches/source/glibc-zoneinfo/timezone-scripts/parts/03
Normal file
585
patches/source/glibc-zoneinfo/timezone-scripts/parts/03
Normal file
|
@ -0,0 +1,585 @@
|
|||
US/Alaska
|
||||
US/Aleutian
|
||||
US/Arizona
|
||||
US/Central
|
||||
US/East-Indiana
|
||||
US/Eastern
|
||||
US/Hawaii
|
||||
US/Indiana-Starke
|
||||
US/Michigan
|
||||
US/Mountain
|
||||
US/Pacific
|
||||
US/Pacific-New
|
||||
US/Samoa
|
||||
Africa/Abidjan
|
||||
Africa/Accra
|
||||
Africa/Addis_Ababa
|
||||
Africa/Algiers
|
||||
Africa/Asmara
|
||||
Africa/Asmera
|
||||
Africa/Bamako
|
||||
Africa/Bangui
|
||||
Africa/Banjul
|
||||
Africa/Bissau
|
||||
Africa/Blantyre
|
||||
Africa/Brazzaville
|
||||
Africa/Bujumbura
|
||||
Africa/Cairo
|
||||
Africa/Casablanca
|
||||
Africa/Ceuta
|
||||
Africa/Conakry
|
||||
Africa/Dakar
|
||||
Africa/Dar_es_Salaam
|
||||
Africa/Djibouti
|
||||
Africa/Douala
|
||||
Africa/El_Aaiun
|
||||
Africa/Freetown
|
||||
Africa/Gaborone
|
||||
Africa/Harare
|
||||
Africa/Johannesburg
|
||||
Africa/Juba
|
||||
Africa/Kampala
|
||||
Africa/Khartoum
|
||||
Africa/Kigali
|
||||
Africa/Kinshasa
|
||||
Africa/Lagos
|
||||
Africa/Libreville
|
||||
Africa/Lome
|
||||
Africa/Luanda
|
||||
Africa/Lubumbashi
|
||||
Africa/Lusaka
|
||||
Africa/Malabo
|
||||
Africa/Maputo
|
||||
Africa/Maseru
|
||||
Africa/Mbabane
|
||||
Africa/Mogadishu
|
||||
Africa/Monrovia
|
||||
Africa/Nairobi
|
||||
Africa/Ndjamena
|
||||
Africa/Niamey
|
||||
Africa/Nouakchott
|
||||
Africa/Ouagadougou
|
||||
Africa/Porto-Novo
|
||||
Africa/Sao_Tome
|
||||
Africa/Timbuktu
|
||||
Africa/Tripoli
|
||||
Africa/Tunis
|
||||
Africa/Windhoek
|
||||
America/Adak
|
||||
America/Anchorage
|
||||
America/Anguilla
|
||||
America/Antigua
|
||||
America/Araguaina
|
||||
America/Argentina/Buenos_Aires
|
||||
America/Argentina/Catamarca
|
||||
America/Argentina/ComodRivadavia
|
||||
America/Argentina/Cordoba
|
||||
America/Argentina/Jujuy
|
||||
America/Argentina/La_Rioja
|
||||
America/Argentina/Mendoza
|
||||
America/Argentina/Rio_Gallegos
|
||||
America/Argentina/Salta
|
||||
America/Argentina/San_Juan
|
||||
America/Argentina/San_Luis
|
||||
America/Argentina/Tucuman
|
||||
America/Argentina/Ushuaia
|
||||
America/Aruba
|
||||
America/Asuncion
|
||||
America/Atikokan
|
||||
America/Atka
|
||||
America/Bahia
|
||||
America/Bahia_Banderas
|
||||
America/Barbados
|
||||
America/Belem
|
||||
America/Belize
|
||||
America/Blanc-Sablon
|
||||
America/Boa_Vista
|
||||
America/Bogota
|
||||
America/Boise
|
||||
America/Buenos_Aires
|
||||
America/Cambridge_Bay
|
||||
America/Campo_Grande
|
||||
America/Cancun
|
||||
America/Caracas
|
||||
America/Catamarca
|
||||
America/Cayenne
|
||||
America/Cayman
|
||||
America/Chicago
|
||||
America/Chihuahua
|
||||
America/Coral_Harbour
|
||||
America/Cordoba
|
||||
America/Costa_Rica
|
||||
America/Creston
|
||||
America/Cuiaba
|
||||
America/Curacao
|
||||
America/Danmarkshavn
|
||||
America/Dawson
|
||||
America/Dawson_Creek
|
||||
America/Denver
|
||||
America/Detroit
|
||||
America/Dominica
|
||||
America/Edmonton
|
||||
America/Eirunepe
|
||||
America/El_Salvador
|
||||
America/Ensenada
|
||||
America/Fort_Nelson
|
||||
America/Fort_Wayne
|
||||
America/Fortaleza
|
||||
America/Glace_Bay
|
||||
America/Godthab
|
||||
America/Goose_Bay
|
||||
America/Grand_Turk
|
||||
America/Grenada
|
||||
America/Guadeloupe
|
||||
America/Guatemala
|
||||
America/Guayaquil
|
||||
America/Guyana
|
||||
America/Halifax
|
||||
America/Havana
|
||||
America/Hermosillo
|
||||
America/Indiana/Indianapolis
|
||||
America/Indiana/Knox
|
||||
America/Indiana/Marengo
|
||||
America/Indiana/Petersburg
|
||||
America/Indiana/Tell_City
|
||||
America/Indiana/Vevay
|
||||
America/Indiana/Vincennes
|
||||
America/Indiana/Winamac
|
||||
America/Indianapolis
|
||||
America/Inuvik
|
||||
America/Iqaluit
|
||||
America/Jamaica
|
||||
America/Jujuy
|
||||
America/Juneau
|
||||
America/Kentucky/Louisville
|
||||
America/Kentucky/Monticello
|
||||
America/Knox_IN
|
||||
America/Kralendijk
|
||||
America/La_Paz
|
||||
America/Lima
|
||||
America/Los_Angeles
|
||||
America/Louisville
|
||||
America/Lower_Princes
|
||||
America/Maceio
|
||||
America/Managua
|
||||
America/Manaus
|
||||
America/Marigot
|
||||
America/Martinique
|
||||
America/Matamoros
|
||||
America/Mazatlan
|
||||
America/Mendoza
|
||||
America/Menominee
|
||||
America/Merida
|
||||
America/Metlakatla
|
||||
America/Mexico_City
|
||||
America/Miquelon
|
||||
America/Moncton
|
||||
America/Monterrey
|
||||
America/Montevideo
|
||||
America/Montreal
|
||||
America/Montserrat
|
||||
America/Nassau
|
||||
America/New_York
|
||||
America/Nipigon
|
||||
America/Nome
|
||||
America/Noronha
|
||||
America/North_Dakota/Beulah
|
||||
America/North_Dakota/Center
|
||||
America/North_Dakota/New_Salem
|
||||
America/Ojinaga
|
||||
America/Panama
|
||||
America/Pangnirtung
|
||||
America/Paramaribo
|
||||
America/Phoenix
|
||||
America/Port-au-Prince
|
||||
America/Port_of_Spain
|
||||
America/Porto_Acre
|
||||
America/Porto_Velho
|
||||
America/Puerto_Rico
|
||||
America/Rainy_River
|
||||
America/Rankin_Inlet
|
||||
America/Recife
|
||||
America/Regina
|
||||
America/Resolute
|
||||
America/Rio_Branco
|
||||
America/Rosario
|
||||
America/Santa_Isabel
|
||||
America/Santarem
|
||||
America/Santiago
|
||||
America/Santo_Domingo
|
||||
America/Sao_Paulo
|
||||
America/Scoresbysund
|
||||
America/Shiprock
|
||||
America/Sitka
|
||||
America/St_Barthelemy
|
||||
America/St_Johns
|
||||
America/St_Kitts
|
||||
America/St_Lucia
|
||||
America/St_Thomas
|
||||
America/St_Vincent
|
||||
America/Swift_Current
|
||||
America/Tegucigalpa
|
||||
America/Thule
|
||||
America/Thunder_Bay
|
||||
America/Tijuana
|
||||
America/Toronto
|
||||
America/Tortola
|
||||
America/Vancouver
|
||||
America/Virgin
|
||||
America/Whitehorse
|
||||
America/Winnipeg
|
||||
America/Yakutat
|
||||
America/Yellowknife
|
||||
Antarctica/Casey
|
||||
Antarctica/Davis
|
||||
Antarctica/DumontDUrville
|
||||
Antarctica/Macquarie
|
||||
Antarctica/Mawson
|
||||
Antarctica/McMurdo
|
||||
Antarctica/Palmer
|
||||
Antarctica/Rothera
|
||||
Antarctica/South_Pole
|
||||
Antarctica/Syowa
|
||||
Antarctica/Troll
|
||||
Antarctica/Vostok
|
||||
Arctic/Longyearbyen
|
||||
Asia/Aden
|
||||
Asia/Almaty
|
||||
Asia/Amman
|
||||
Asia/Anadyr
|
||||
Asia/Aqtau
|
||||
Asia/Aqtobe
|
||||
Asia/Ashgabat
|
||||
Asia/Ashkhabad
|
||||
Asia/Baghdad
|
||||
Asia/Bahrain
|
||||
Asia/Baku
|
||||
Asia/Bangkok
|
||||
Asia/Beirut
|
||||
Asia/Bishkek
|
||||
Asia/Brunei
|
||||
Asia/Calcutta
|
||||
Asia/Chita
|
||||
Asia/Choibalsan
|
||||
Asia/Chongqing
|
||||
Asia/Chungking
|
||||
Asia/Colombo
|
||||
Asia/Dacca
|
||||
Asia/Damascus
|
||||
Asia/Dhaka
|
||||
Asia/Dili
|
||||
Asia/Dubai
|
||||
Asia/Dushanbe
|
||||
Asia/Gaza
|
||||
Asia/Harbin
|
||||
Asia/Hebron
|
||||
Asia/Ho_Chi_Minh
|
||||
Asia/Hong_Kong
|
||||
Asia/Hovd
|
||||
Asia/Irkutsk
|
||||
Asia/Istanbul
|
||||
Asia/Jakarta
|
||||
Asia/Jayapura
|
||||
Asia/Jerusalem
|
||||
Asia/Kabul
|
||||
Asia/Kamchatka
|
||||
Asia/Karachi
|
||||
Asia/Kashgar
|
||||
Asia/Kathmandu
|
||||
Asia/Katmandu
|
||||
Asia/Khandyga
|
||||
Asia/Kolkata
|
||||
Asia/Krasnoyarsk
|
||||
Asia/Kuala_Lumpur
|
||||
Asia/Kuching
|
||||
Asia/Kuwait
|
||||
Asia/Macao
|
||||
Asia/Macau
|
||||
Asia/Magadan
|
||||
Asia/Makassar
|
||||
Asia/Manila
|
||||
Asia/Muscat
|
||||
Asia/Nicosia
|
||||
Asia/Novokuznetsk
|
||||
Asia/Novosibirsk
|
||||
Asia/Omsk
|
||||
Asia/Oral
|
||||
Asia/Phnom_Penh
|
||||
Asia/Pontianak
|
||||
Asia/Pyongyang
|
||||
Asia/Qatar
|
||||
Asia/Qyzylorda
|
||||
Asia/Rangoon
|
||||
Asia/Riyadh
|
||||
Asia/Saigon
|
||||
Asia/Sakhalin
|
||||
Asia/Samarkand
|
||||
Asia/Seoul
|
||||
Asia/Shanghai
|
||||
Asia/Singapore
|
||||
Asia/Srednekolymsk
|
||||
Asia/Taipei
|
||||
Asia/Tashkent
|
||||
Asia/Tbilisi
|
||||
Asia/Tehran
|
||||
Asia/Tel_Aviv
|
||||
Asia/Thimbu
|
||||
Asia/Thimphu
|
||||
Asia/Tokyo
|
||||
Asia/Ujung_Pandang
|
||||
Asia/Ulaanbaatar
|
||||
Asia/Ulan_Bator
|
||||
Asia/Urumqi
|
||||
Asia/Ust-Nera
|
||||
Asia/Vientiane
|
||||
Asia/Vladivostok
|
||||
Asia/Yakutsk
|
||||
Asia/Yekaterinburg
|
||||
Asia/Yerevan
|
||||
Atlantic/Azores
|
||||
Atlantic/Bermuda
|
||||
Atlantic/Canary
|
||||
Atlantic/Cape_Verde
|
||||
Atlantic/Faeroe
|
||||
Atlantic/Faroe
|
||||
Atlantic/Jan_Mayen
|
||||
Atlantic/Madeira
|
||||
Atlantic/Reykjavik
|
||||
Atlantic/South_Georgia
|
||||
Atlantic/St_Helena
|
||||
Atlantic/Stanley
|
||||
Australia/ACT
|
||||
Australia/Adelaide
|
||||
Australia/Brisbane
|
||||
Australia/Broken_Hill
|
||||
Australia/Canberra
|
||||
Australia/Currie
|
||||
Australia/Darwin
|
||||
Australia/Eucla
|
||||
Australia/Hobart
|
||||
Australia/LHI
|
||||
Australia/Lindeman
|
||||
Australia/Lord_Howe
|
||||
Australia/Melbourne
|
||||
Australia/NSW
|
||||
Australia/North
|
||||
Australia/Perth
|
||||
Australia/Queensland
|
||||
Australia/South
|
||||
Australia/Sydney
|
||||
Australia/Tasmania
|
||||
Australia/Victoria
|
||||
Australia/West
|
||||
Australia/Yancowinna
|
||||
Brazil/Acre
|
||||
Brazil/DeNoronha
|
||||
Brazil/East
|
||||
Brazil/West
|
||||
CET
|
||||
CST6CDT
|
||||
Canada/Atlantic
|
||||
Canada/Central
|
||||
Canada/East-Saskatchewan
|
||||
Canada/Eastern
|
||||
Canada/Mountain
|
||||
Canada/Newfoundland
|
||||
Canada/Pacific
|
||||
Canada/Saskatchewan
|
||||
Canada/Yukon
|
||||
Chile/Continental
|
||||
Chile/EasterIsland
|
||||
Cuba
|
||||
EET
|
||||
EST
|
||||
EST5EDT
|
||||
Egypt
|
||||
Eire
|
||||
Etc/GMT
|
||||
Etc/GMT+0
|
||||
Etc/GMT+1
|
||||
Etc/GMT+10
|
||||
Etc/GMT+11
|
||||
Etc/GMT+12
|
||||
Etc/GMT+2
|
||||
Etc/GMT+3
|
||||
Etc/GMT+4
|
||||
Etc/GMT+5
|
||||
Etc/GMT+6
|
||||
Etc/GMT+7
|
||||
Etc/GMT+8
|
||||
Etc/GMT+9
|
||||
Etc/GMT-0
|
||||
Etc/GMT-1
|
||||
Etc/GMT-10
|
||||
Etc/GMT-11
|
||||
Etc/GMT-12
|
||||
Etc/GMT-13
|
||||
Etc/GMT-14
|
||||
Etc/GMT-2
|
||||
Etc/GMT-3
|
||||
Etc/GMT-4
|
||||
Etc/GMT-5
|
||||
Etc/GMT-6
|
||||
Etc/GMT-7
|
||||
Etc/GMT-8
|
||||
Etc/GMT-9
|
||||
Etc/GMT0
|
||||
Etc/Greenwich
|
||||
Etc/UCT
|
||||
Etc/UTC
|
||||
Etc/Universal
|
||||
Etc/Zulu
|
||||
Europe/Amsterdam
|
||||
Europe/Andorra
|
||||
Europe/Athens
|
||||
Europe/Belfast
|
||||
Europe/Belgrade
|
||||
Europe/Berlin
|
||||
Europe/Bratislava
|
||||
Europe/Brussels
|
||||
Europe/Bucharest
|
||||
Europe/Budapest
|
||||
Europe/Busingen
|
||||
Europe/Chisinau
|
||||
Europe/Copenhagen
|
||||
Europe/Dublin
|
||||
Europe/Gibraltar
|
||||
Europe/Guernsey
|
||||
Europe/Helsinki
|
||||
Europe/Isle_of_Man
|
||||
Europe/Istanbul
|
||||
Europe/Jersey
|
||||
Europe/Kaliningrad
|
||||
Europe/Kiev
|
||||
Europe/Lisbon
|
||||
Europe/Ljubljana
|
||||
Europe/London
|
||||
Europe/Luxembourg
|
||||
Europe/Madrid
|
||||
Europe/Malta
|
||||
Europe/Mariehamn
|
||||
Europe/Minsk
|
||||
Europe/Monaco
|
||||
Europe/Moscow
|
||||
Europe/Nicosia
|
||||
Europe/Oslo
|
||||
Europe/Paris
|
||||
Europe/Podgorica
|
||||
Europe/Prague
|
||||
Europe/Riga
|
||||
Europe/Rome
|
||||
Europe/Samara
|
||||
Europe/San_Marino
|
||||
Europe/Sarajevo
|
||||
Europe/Simferopol
|
||||
Europe/Skopje
|
||||
Europe/Sofia
|
||||
Europe/Stockholm
|
||||
Europe/Tallinn
|
||||
Europe/Tirane
|
||||
Europe/Tiraspol
|
||||
Europe/Uzhgorod
|
||||
Europe/Vaduz
|
||||
Europe/Vatican
|
||||
Europe/Vienna
|
||||
Europe/Vilnius
|
||||
Europe/Volgograd
|
||||
Europe/Warsaw
|
||||
Europe/Zagreb
|
||||
Europe/Zaporozhye
|
||||
Europe/Zurich
|
||||
Factory
|
||||
GB
|
||||
GB-Eire
|
||||
GMT
|
||||
GMT+0
|
||||
GMT-0
|
||||
GMT0
|
||||
Greenwich
|
||||
HST
|
||||
Hongkong
|
||||
Iceland
|
||||
Indian/Antananarivo
|
||||
Indian/Chagos
|
||||
Indian/Christmas
|
||||
Indian/Cocos
|
||||
Indian/Comoro
|
||||
Indian/Kerguelen
|
||||
Indian/Mahe
|
||||
Indian/Maldives
|
||||
Indian/Mauritius
|
||||
Indian/Mayotte
|
||||
Indian/Reunion
|
||||
Iran
|
||||
Israel
|
||||
Jamaica
|
||||
Japan
|
||||
Kwajalein
|
||||
Libya
|
||||
MET
|
||||
MST
|
||||
MST7MDT
|
||||
Mexico/BajaNorte
|
||||
Mexico/BajaSur
|
||||
Mexico/General
|
||||
NZ
|
||||
NZ-CHAT
|
||||
Navajo
|
||||
PRC
|
||||
PST8PDT
|
||||
Pacific/Apia
|
||||
Pacific/Auckland
|
||||
Pacific/Bougainville
|
||||
Pacific/Chatham
|
||||
Pacific/Chuuk
|
||||
Pacific/Easter
|
||||
Pacific/Efate
|
||||
Pacific/Enderbury
|
||||
Pacific/Fakaofo
|
||||
Pacific/Fiji
|
||||
Pacific/Funafuti
|
||||
Pacific/Galapagos
|
||||
Pacific/Gambier
|
||||
Pacific/Guadalcanal
|
||||
Pacific/Guam
|
||||
Pacific/Honolulu
|
||||
Pacific/Johnston
|
||||
Pacific/Kiritimati
|
||||
Pacific/Kosrae
|
||||
Pacific/Kwajalein
|
||||
Pacific/Majuro
|
||||
Pacific/Marquesas
|
||||
Pacific/Midway
|
||||
Pacific/Nauru
|
||||
Pacific/Niue
|
||||
Pacific/Norfolk
|
||||
Pacific/Noumea
|
||||
Pacific/Pago_Pago
|
||||
Pacific/Palau
|
||||
Pacific/Pitcairn
|
||||
Pacific/Pohnpei
|
||||
Pacific/Ponape
|
||||
Pacific/Port_Moresby
|
||||
Pacific/Rarotonga
|
||||
Pacific/Saipan
|
||||
Pacific/Samoa
|
||||
Pacific/Tahiti
|
||||
Pacific/Tarawa
|
||||
Pacific/Tongatapu
|
||||
Pacific/Truk
|
||||
Pacific/Wake
|
||||
Pacific/Wallis
|
||||
Pacific/Yap
|
||||
Poland
|
||||
Portugal
|
||||
ROC
|
||||
ROK
|
||||
Singapore
|
||||
Turkey
|
||||
UCT
|
||||
UTC
|
||||
Universal
|
||||
W-SU
|
||||
WET
|
||||
Zulu
|
||||
posixrules
|
33
patches/source/glibc-zoneinfo/timezone-scripts/parts/04
Normal file
33
patches/source/glibc-zoneinfo/timezone-scripts/parts/04
Normal file
|
@ -0,0 +1,33 @@
|
|||
|
||||
Type it at the prompt below exactly as it appears above. (NOTE: If you don't
|
||||
see your timezone, use "timeconfig" again after booting for the verbose list)
|
||||
|
||||
EOF
|
||||
echo -n "Timezone? "
|
||||
read TIMEZONE;
|
||||
echo
|
||||
|
||||
if [ -n "$TIMEZONE" -a \
|
||||
-r $T_PX/usr/share/zoneinfo/$TIMEZONE -o \
|
||||
-r /var/log/mount/usr/share/zoneinfo/$TIMEZONE -o \
|
||||
-L $T_PX/usr/share/zoneinfo/$TIMEZONE -o \
|
||||
-L /var/log/mount/usr/share/zoneinfo/$TIMEZONE ]; then
|
||||
echo "Creating link from $TIMEZONE to localtime in /etc..."
|
||||
echo
|
||||
setzone $TIMEZONE
|
||||
exit
|
||||
else
|
||||
cat << EOF
|
||||
|
||||
Timezone $TIMEZONE could not be found. You may try again if you wish.
|
||||
Make sure you type the name exactly as it appears - this configuration script
|
||||
is case sensitive.
|
||||
|
||||
Press [enter] to continue.
|
||||
|
||||
EOF
|
||||
read JUNK;
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
Files 01 and 03 are samples, showing the format, and are
|
||||
not necessarily up to date...
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
#BLURB="Select your timezone"
|
||||
sh usr/sbin/timeconfig $*
|
1381
patches/source/glibc-zoneinfo/timezone-scripts/timeconfig
Normal file
1381
patches/source/glibc-zoneinfo/timezone-scripts/timeconfig
Normal file
File diff suppressed because it is too large
Load diff
11
patches/source/glibc-zoneinfo/zic.default.fat.diff
Normal file
11
patches/source/glibc-zoneinfo/zic.default.fat.diff
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- ./zic.c.orig 2020-10-03 17:11:18.000000000 -0500
|
||||
+++ ./zic.c 2020-10-12 13:03:20.086014967 -0500
|
||||
@@ -668,7 +668,7 @@
|
||||
}
|
||||
|
||||
#ifndef ZIC_BLOAT_DEFAULT
|
||||
-# define ZIC_BLOAT_DEFAULT "slim"
|
||||
+# define ZIC_BLOAT_DEFAULT "fat"
|
||||
#endif
|
||||
|
||||
int
|
|
@ -1184,6 +1184,8 @@ gzip ./patches/source/libxslt/libxslt.xsltMaxDepth.diff
|
|||
gzip ./patches/source/openssl/doinst.sh-openssl-solibs
|
||||
gzip ./patches/source/openssl/doinst.sh-openssl
|
||||
gzip ./patches/source/openssl/certwatch
|
||||
gzip ./patches/source/glibc-zoneinfo/doinst.sh
|
||||
gzip ./patches/source/glibc-zoneinfo/zic.default.fat.diff
|
||||
gzip ./patches/source/ca-certificates/fixup_update-ca-certificates.diff
|
||||
gzip ./patches/source/ca-certificates/doinst.sh
|
||||
gzip ./patches/source/ca-certificates/update-ca-certificates.c_rehash.diff
|
||||
|
|
Loading…
Reference in a new issue