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:
Patrick J Volkerding 2022-03-19 20:28:16 +00:00 committed by Eric Hameleers
parent 5d5dc01569
commit 8e056e9406
18 changed files with 3592 additions and 482 deletions

View file

@ -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>

View file

@ -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:

View file

@ -1,20 +1,20 @@
Fri Mar 18 20:20:46 UTC 2022
Sat Mar 19 20:33:59 UTC 2022
Here is the file list for this directory. If you are using a
mirror site and find missing or extra files in the disk
subdirectories, please have the archive administrator refresh
the mirror.
drwxr-xr-x 12 root root 4096 2022-03-18 20:16 .
drwxr-xr-x 12 root root 4096 2022-03-19 20:28 .
-rw-r--r-- 1 root root 5767 2022-02-02 22:44 ./ANNOUNCE.15.0
-rw-r--r-- 1 root root 16617 2022-02-02 23:27 ./CHANGES_AND_HINTS.TXT
-rw-r--r-- 1 root root 1123875 2022-03-17 19:53 ./CHECKSUMS.md5
-rw-r--r-- 1 root root 163 2022-03-17 19:53 ./CHECKSUMS.md5.asc
-rw-r--r-- 1 root root 1125165 2022-03-18 20:21 ./CHECKSUMS.md5
-rw-r--r-- 1 root root 163 2022-03-18 20:21 ./CHECKSUMS.md5.asc
-rw-r--r-- 1 root root 17976 1994-06-10 02:28 ./COPYING
-rw-r--r-- 1 root root 35147 2007-06-30 04:21 ./COPYING3
-rw-r--r-- 1 root root 19573 2016-06-23 20:08 ./COPYRIGHT.TXT
-rw-r--r-- 1 root root 616 2006-10-02 04:37 ./CRYPTO_NOTICE.TXT
-rw-r--r-- 1 root root 1880604 2022-03-18 20:16 ./ChangeLog.txt
-rw-r--r-- 1 root root 1880788 2022-03-19 20:28 ./ChangeLog.txt
drwxr-xr-x 3 root root 4096 2013-03-20 22:17 ./EFI
drwxr-xr-x 2 root root 4096 2022-02-02 08:21 ./EFI/BOOT
-rw-r--r-- 1 root root 1187840 2021-06-15 19:16 ./EFI/BOOT/bootx64.efi
@ -25,7 +25,7 @@ drwxr-xr-x 2 root root 4096 2022-02-02 08:21 ./EFI/BOOT
-rwxr-xr-x 1 root root 2504 2019-07-05 18:54 ./EFI/BOOT/make-grub.sh
-rw-r--r-- 1 root root 10722 2013-09-21 19:02 ./EFI/BOOT/osdetect.cfg
-rw-r--r-- 1 root root 1273 2013-08-12 21:08 ./EFI/BOOT/tools.cfg
-rw-r--r-- 1 root root 1466506 2022-03-17 19:53 ./FILELIST.TXT
-rw-r--r-- 1 root root 1468091 2022-03-18 20:20 ./FILELIST.TXT
-rw-r--r-- 1 root root 1572 2012-08-29 18:27 ./GPG-KEY
-rw-r--r-- 1 root root 864745 2022-02-02 08:25 ./PACKAGES.TXT
-rw-r--r-- 1 root root 8034 2022-02-02 03:36 ./README.TXT
@ -737,13 +737,13 @@ drwxr-xr-x 2 root root 4096 2008-05-07 05:21 ./pasture/source/php/pear
-rwxr-xr-x 1 root root 9448 2018-05-16 22:38 ./pasture/source/php/php.SlackBuild
-rw-r--r-- 1 root root 775 2017-07-07 19:25 ./pasture/source/php/php.ini-development.diff.gz
-rw-r--r-- 1 root root 830 2005-12-09 05:18 ./pasture/source/php/slack-desc
drwxr-xr-x 4 root root 4096 2022-03-18 20:20 ./patches
-rw-r--r-- 1 root root 24991 2022-03-18 20:20 ./patches/CHECKSUMS.md5
-rw-r--r-- 1 root root 163 2022-03-18 20:20 ./patches/CHECKSUMS.md5.asc
-rw-r--r-- 1 root root 33410 2022-03-18 20:20 ./patches/FILE_LIST
-rw-r--r-- 1 root root 10878415 2022-03-18 20:20 ./patches/MANIFEST.bz2
-rw-r--r-- 1 root root 17157 2022-03-18 20:20 ./patches/PACKAGES.TXT
drwxr-xr-x 3 root root 4096 2022-03-18 20:20 ./patches/packages
drwxr-xr-x 4 root root 4096 2022-03-19 20:33 ./patches
-rw-r--r-- 1 root root 26674 2022-03-19 20:33 ./patches/CHECKSUMS.md5
-rw-r--r-- 1 root root 163 2022-03-19 20:33 ./patches/CHECKSUMS.md5.asc
-rw-r--r-- 1 root root 35698 2022-03-19 20:33 ./patches/FILE_LIST
-rw-r--r-- 1 root root 10901407 2022-03-19 20:33 ./patches/MANIFEST.bz2
-rw-r--r-- 1 root root 17834 2022-03-19 20:33 ./patches/PACKAGES.TXT
drwxr-xr-x 3 root root 4096 2022-03-19 20:33 ./patches/packages
-rw-r--r-- 1 root root 327 2022-02-15 05:07 ./patches/packages/aaa_base-15.0-x86_64-4_slack15.0.txt
-rw-r--r-- 1 root root 10716 2022-02-15 05:07 ./patches/packages/aaa_base-15.0-x86_64-4_slack15.0.txz
-rw-r--r-- 1 root root 163 2022-02-15 05:07 ./patches/packages/aaa_base-15.0-x86_64-4_slack15.0.txz.asc
@ -771,6 +771,9 @@ drwxr-xr-x 3 root root 4096 2022-03-18 20:20 ./patches/packages
-rw-r--r-- 1 root root 602 2022-02-21 19:29 ./patches/packages/flac-1.3.4-x86_64-1_slack15.0.txt
-rw-r--r-- 1 root root 389380 2022-02-21 19:29 ./patches/packages/flac-1.3.4-x86_64-1_slack15.0.txz
-rw-r--r-- 1 root root 163 2022-02-21 19:29 ./patches/packages/flac-1.3.4-x86_64-1_slack15.0.txz.asc
-rw-r--r-- 1 root root 503 2022-03-19 18:40 ./patches/packages/glibc-zoneinfo-2022a-noarch-1_slack15.0.txt
-rw-r--r-- 1 root root 206288 2022-03-19 18:40 ./patches/packages/glibc-zoneinfo-2022a-noarch-1_slack15.0.txz
-rw-r--r-- 1 root root 163 2022-03-19 18:40 ./patches/packages/glibc-zoneinfo-2022a-noarch-1_slack15.0.txz.asc
-rw-r--r-- 1 root root 513 2022-03-14 17:42 ./patches/packages/httpd-2.4.53-x86_64-1_slack15.0.txt
-rw-r--r-- 1 root root 3882140 2022-03-14 17:42 ./patches/packages/httpd-2.4.53-x86_64-1_slack15.0.txz
-rw-r--r-- 1 root root 163 2022-03-14 17:42 ./patches/packages/httpd-2.4.53-x86_64-1_slack15.0.txz.asc
@ -829,7 +832,7 @@ drwxr-xr-x 2 root root 4096 2022-03-09 04:17 ./patches/packages/linux-5.15
-rw-r--r-- 1 root root 354 2022-02-15 18:37 ./patches/packages/util-linux-2.37.4-x86_64-1_slack15.0.txt
-rw-r--r-- 1 root root 2805300 2022-02-15 18:37 ./patches/packages/util-linux-2.37.4-x86_64-1_slack15.0.txz
-rw-r--r-- 1 root root 163 2022-02-15 18:37 ./patches/packages/util-linux-2.37.4-x86_64-1_slack15.0.txz.asc
drwxr-xr-x 24 root root 4096 2022-03-18 20:03 ./patches/source
drwxr-xr-x 25 root root 4096 2022-03-19 18:44 ./patches/source
drwxr-xr-x 2 root root 4096 2022-01-16 05:07 ./patches/source/aaa_base
-rw-r--r-- 1 root root 11041 2022-02-15 04:49 ./patches/source/aaa_base/_aaa_base.tar.gz
-rwxr-xr-x 1 root root 3894 2022-02-15 05:07 ./patches/source/aaa_base/aaa_base.SlackBuild
@ -908,6 +911,26 @@ drwxr-xr-x 2 root root 4096 2022-02-21 19:14 ./patches/source/flac
-rw-r--r-- 1 root root 433 2014-11-29 12:34 ./patches/source/flac/flac.man.diff.gz
-rw-r--r-- 1 root root 41 2019-08-05 18:53 ./patches/source/flac/flac.url
-rw-r--r-- 1 root root 1054 2018-02-27 06:12 ./patches/source/flac/slack-desc
drwxr-xr-x 3 root root 4096 2022-03-19 18:38 ./patches/source/glibc-zoneinfo
-rw-r--r-- 1 root root 1221 2021-04-19 18:23 ./patches/source/glibc-zoneinfo/doinst.sh.gz
-rwxr-xr-x 1 root root 5596 2022-03-19 18:39 ./patches/source/glibc-zoneinfo/glibc-zoneinfo.SlackBuild
-rw-r--r-- 1 root root 965 2021-05-11 18:44 ./patches/source/glibc-zoneinfo/slack-desc
drwxr-xr-x 3 root root 4096 2020-12-09 20:13 ./patches/source/glibc-zoneinfo/timezone-scripts
-rwxr-xr-x 1 root root 2579 2015-12-11 17:32 ./patches/source/glibc-zoneinfo/timezone-scripts/output-updated-timeconfig.sh
drwxr-xr-x 2 root root 4096 2006-12-03 23:10 ./patches/source/glibc-zoneinfo/timezone-scripts/parts
-rw-r--r-- 1 root root 4528 2020-12-09 20:00 ./patches/source/glibc-zoneinfo/timezone-scripts/parts/00
-rw-r--r-- 1 root root 13593 2015-12-17 23:39 ./patches/source/glibc-zoneinfo/timezone-scripts/parts/01
-rw-r--r-- 1 root root 443 2006-12-03 22:53 ./patches/source/glibc-zoneinfo/timezone-scripts/parts/02
-rw-r--r-- 1 root root 8913 2015-12-17 23:39 ./patches/source/glibc-zoneinfo/timezone-scripts/parts/03
-rw-r--r-- 1 root root 887 2018-04-28 19:21 ./patches/source/glibc-zoneinfo/timezone-scripts/parts/04
-rw-r--r-- 1 root root 87 2006-12-03 23:10 ./patches/source/glibc-zoneinfo/timezone-scripts/parts/README
-rw-r--r-- 1 root root 66 2003-02-16 21:17 ./patches/source/glibc-zoneinfo/timezone-scripts/setup.timeconfig
-rw-r--r-- 1 root root 28680 2020-12-09 20:12 ./patches/source/glibc-zoneinfo/timezone-scripts/timeconfig
-rw-r--r-- 1 root root 275632 2022-03-16 13:36 ./patches/source/glibc-zoneinfo/tzcode2022a.tar.gz
-rw-r--r-- 1 root root 833 2022-03-16 13:36 ./patches/source/glibc-zoneinfo/tzcode2022a.tar.gz.asc
-rw-r--r-- 1 root root 425833 2022-03-16 13:36 ./patches/source/glibc-zoneinfo/tzdata2022a.tar.gz
-rw-r--r-- 1 root root 833 2022-03-16 13:36 ./patches/source/glibc-zoneinfo/tzdata2022a.tar.gz.asc
-rw-r--r-- 1 root root 178 2020-10-12 18:03 ./patches/source/glibc-zoneinfo/zic.default.fat.diff.gz
drwxr-xr-x 2 root root 4096 2022-03-14 17:38 ./patches/source/httpd
-rw-r--r-- 1 root root 931 2018-09-24 18:58 ./patches/source/httpd/doinst.sh.gz
-rw-r--r-- 1 root root 7431942 2022-03-14 09:45 ./patches/source/httpd/httpd-2.4.53.tar.bz2

View 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:

View 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:

View 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

View 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:

View 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

View 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 \

View 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" " " \

View 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:

View 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

View 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

View file

@ -0,0 +1,2 @@
Files 01 and 03 are samples, showing the format, and are
not necessarily up to date...

View file

@ -0,0 +1,3 @@
#!/bin/sh
#BLURB="Select your timezone"
sh usr/sbin/timeconfig $*

File diff suppressed because it is too large Load diff

View 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

View file

@ -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