Files
bpfire/lfs/tzdata
Adolf Belka 020ef02a55 tzdata: Update to version 2024a
- Update from version 2023d to 2024a
- Update of rootfile not required
- Changelog
    2024a
	  Briefly:
	    Kazakhstan unifies on UTC+5 beginning 2024-03-01.
	    Palestine springs forward a week later after Ramadan.
	    zic no longer pretends to support indefinite-past DST.
	    localtime no longer mishandles Ciudad Juárez in 2422.
	  Changes to future timestamps
	    Kazakhstan unifies on UTC+5.  This affects Asia/Almaty and
	     Asia/Qostanay which together represent the eastern portion of the
	     country that will transition from UTC+6 on 2024-03-01 at 00:00 to
	     join the western portion.  (Thanks to Zhanbolat Raimbekov.)
	    Palestine springs forward a week later than previously predicted
	     in 2024 and 2025.  (Thanks to Heba Hamad.)  Change spring-forward
	     predictions to the second Saturday after Ramadan, not the first;
	     this also affects other predictions starting in 2039.
	  Changes to past timestamps
	    Asia/Ho_Chi_Minh's 1955-07-01 transition occurred at 01:00
	     not 00:00.  (Thanks to Đoàn Trần Công Danh.)
	    From 1947 through 1949, Toronto's transitions occurred at 02:00
	     not 00:00.  (Thanks to Chris Walton.)
	    In 1911 Miquelon adopted standard time on June 15, not May 15.
	  Changes to code
	    The FROM and TO columns of Rule lines can no longer be "minimum"
	     or an abbreviation of "minimum", because TZif files do not support
	     DST rules that extend into the indefinite past - although these
	     rules were supported when TZif files had only 32-bit data, this
	     stopped working when 64-bit TZif files were introduced in 1995.
	     This should not be a problem for realistic data, since DST was
	     first used in the 20th century.  As a transition aid, FROM columns
	     like "minimum" are now diagnosed and then treated as if they were
	     the year 1900; this should suffice for TZif files on old systems
	     with only 32-bit time_t, and it is more compatible with bugs in
	     2023c-and-earlier localtime.c.  (Problem reported by Yoshito
	     Umaoka.)
	    localtime and related functions no longer mishandle some
	     timestamps that occur about 400 years after a switch to a time
	     zone with a DST schedule.  In 2023d data this problem was visible
	     for some timestamps in November 2422, November 2822, etc. in
	     America/Ciudad_Juarez.  (Problem reported by Gilmore Davidson.)
	    strftime %s now uses tm_gmtoff if available.  (Problem and draft
	     patch reported by Dag-Erling Smørgrav.)
	  Changes to build procedure
	    The leap-seconds.list file is now copied from the IERS instead of
	     from its downstream counterpart at NIST, as the IERS version is
	     now in the public domain too and tends to be more up-to-date.
	     (Thanks to Martin Burnicki for liaisoning with the IERS.)
	  Changes to documentation
	    The strftime man page documents which struct tm members affect
	     which conversion specs, and that tzset is called.  (Problems
	     reported by Robert Elz and Steve Summit.)

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-04-28 17:23:41 +00:00

102 lines
4.2 KiB
Plaintext

###############################################################################
# #
# IPFire.org - A linux based firewall #
# Copyright (C) 2007-2024 IPFire Team <info@ipfire.org> #
# #
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
# the Free Software Foundation, either version 3 of the License, or #
# (at your option) any later version. #
# #
# This program is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with this program. If not, see <http://www.gnu.org/licenses/>. #
# #
###############################################################################
###############################################################################
# Definitions
###############################################################################
include Config
VER = 2024a
TZDATA_VER = $(VER)
TZCODE_VER = $(VER)
THISAPP = tzdata-$(VER)
DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
FILES = africa antarctica asia australasia backward etcetera europe \
factory northamerica southamerica
###############################################################################
# Top-level Rules
###############################################################################
objects = tzdata$(TZDATA_VER).tar.gz tzcode$(TZCODE_VER).tar.gz
tzdata$(TZDATA_VER).tar.gz = $(DL_FROM)/tzdata$(TZDATA_VER).tar.gz
tzcode$(TZCODE_VER).tar.gz = $(DL_FROM)/tzcode$(TZCODE_VER).tar.gz
tzdata$(TZDATA_VER).tar.gz_BLAKE2 = 5ec49bbce704411a1d8b3f018b0d8f6c7de24c5600e0cb6c61a7ee29b4a49b1e502d23b40bce6584ea0aa9b66327321608cbabb994071ec4ca2b3a496aa2d621
tzcode$(TZCODE_VER).tar.gz_BLAKE2 = f3b8d1e7735ad858d071df564a8e11ac4d252b97a5729fa6c282112ff3903f7d35897735920b4466a926ef647dc283356879134046805411c694efd3fd89b282
install : $(TARGET)
check : $(patsubst %,$(DIR_CHK)/%,$(objects))
download :$(patsubst %,$(DIR_DL)/%,$(objects))
b2 : $(subst %,%_BLAKE2,$(objects))
###############################################################################
# Downloading, checking, b2sum
###############################################################################
$(patsubst %,$(DIR_CHK)/%,$(objects)) :
@$(CHECK)
$(patsubst %,$(DIR_DL)/%,$(objects)) :
@$(LOAD)
$(subst %,%_BLAKE2,$(objects)) :
@$(B2SUM)
###############################################################################
# Installation Details
###############################################################################
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && mkdir -pv $(DIR_APP)
mkdir -pv $(DIR_APP)/tzdata$(TZDATA_VER) $(DIR_APP)/tzcode$(TZCODE_VER)
tar axf $(DIR_DL)/tzdata$(TZDATA_VER).tar.gz -C $(DIR_APP)
tar axf $(DIR_DL)/tzcode$(TZCODE_VER).tar.gz -C $(DIR_APP)
cd $(DIR_APP) && mkdir -pv zoneinfo/{,posix,right}
cd $(DIR_APP) && zic -y ./yearistype -d zoneinfo \
-L /dev/null -p GMT $(FILES)
cd $(DIR_APP) && zic -y ./yearistype -d zoneinfo/posix \
-L /dev/null $(FILES)
cd $(DIR_APP) && zic -y ./yearistype -d zoneinfo/right \
-L leapseconds $(FILES)
rm -rf /usr/share/zoneinfo
cd $(DIR_APP) && cp -prd zoneinfo /usr/share
cd $(DIR_APP) && install -p -m 644 zone.tab iso3166.tab \
/usr/share/zoneinfo
rm -vf /usr/share/zoneinfo/localtime
rm -vf /etc/localtime
cp -vf /usr/share/zoneinfo/GMT /etc/localtime
@rm -rf $(DIR_APP)
@$(POSTBUILD)