tzdata: Update to 2012h.

This commit is contained in:
Michael Tremer
2012-11-04 12:23:14 +01:00
parent f6057233ec
commit c1c60dbb73
5 changed files with 30 additions and 3546 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -100,6 +100,7 @@ usr/share/zoneinfo
#usr/share/zoneinfo/America/Coral_Harbour
#usr/share/zoneinfo/America/Cordoba
#usr/share/zoneinfo/America/Costa_Rica
+usr/share/zoneinfo/America/Creston
#usr/share/zoneinfo/America/Cuiaba
#usr/share/zoneinfo/America/Curacao
#usr/share/zoneinfo/America/Danmarkshavn
@@ -594,12 +595,14 @@ usr/share/zoneinfo
#usr/share/zoneinfo/US/Michigan
#usr/share/zoneinfo/US/Mountain
#usr/share/zoneinfo/US/Pacific
#usr/share/zoneinfo/US/Pacific-New
#usr/share/zoneinfo/US/Samoa
#usr/share/zoneinfo/UTC
#usr/share/zoneinfo/Universal
#usr/share/zoneinfo/W-SU
#usr/share/zoneinfo/WET
#usr/share/zoneinfo/Zulu
#usr/share/zoneinfo/iso3166.tab
#usr/share/zoneinfo/posix
#usr/share/zoneinfo/posix/Africa
#usr/share/zoneinfo/posix/Africa/Abidjan
@@ -702,6 +705,7 @@ usr/share/zoneinfo
#usr/share/zoneinfo/posix/America/Coral_Harbour
#usr/share/zoneinfo/posix/America/Cordoba
#usr/share/zoneinfo/posix/America/Costa_Rica
#usr/share/zoneinfo/posix/America/Creston
#usr/share/zoneinfo/posix/America/Cuiaba
#usr/share/zoneinfo/posix/America/Curacao
#usr/share/zoneinfo/posix/America/Danmarkshavn
@@ -1196,6 +1200,7 @@ usr/share/zoneinfo
#usr/share/zoneinfo/posix/US/Michigan
#usr/share/zoneinfo/posix/US/Mountain
#usr/share/zoneinfo/posix/US/Pacific
#usr/share/zoneinfo/posix/US/Pacific-New
#usr/share/zoneinfo/posix/US/Samoa
#usr/share/zoneinfo/posix/UTC
#usr/share/zoneinfo/posix/Universal
@@ -1305,6 +1310,7 @@ usr/share/zoneinfo
#usr/share/zoneinfo/right/America/Coral_Harbour
#usr/share/zoneinfo/right/America/Cordoba
#usr/share/zoneinfo/right/America/Costa_Rica
#usr/share/zoneinfo/right/America/Creston
#usr/share/zoneinfo/right/America/Cuiaba
#usr/share/zoneinfo/right/America/Curacao
#usr/share/zoneinfo/right/America/Danmarkshavn
@@ -1799,9 +1805,11 @@ usr/share/zoneinfo
#usr/share/zoneinfo/right/US/Michigan
#usr/share/zoneinfo/right/US/Mountain
#usr/share/zoneinfo/right/US/Pacific
#usr/share/zoneinfo/right/US/Pacific-New
#usr/share/zoneinfo/right/US/Samoa
#usr/share/zoneinfo/right/UTC
#usr/share/zoneinfo/right/Universal
#usr/share/zoneinfo/right/W-SU
#usr/share/zoneinfo/right/WET
#usr/share/zoneinfo/right/Zulu
#usr/share/zoneinfo/zone.tab

View File

@@ -266,6 +266,9 @@ ifeq "$(ROOT)" ""
mkdir -p /usr/lib/locale
cd $(DIR_SRC)/glibc-build && localedef -i en_US -f ISO-8859-1 en_US
cd $(DIR_SRC)/glibc-build && localedef -i en_US -f UTF-8 en_US.utf8
# Timezone data will be shipped by tzdata.
rm -rfv /usr/share/zoneinfo
endif
@rm -rf $(DIR_APP) $(DIR_SRC)/glibc-build
@$(POSTBUILD)

View File

@@ -24,12 +24,11 @@
include Config
VER = 2011n
TZDATA_VER = 2011n
TZCODE_VER = 2011i
VER = 2012h
TZDATA_VER = 2012h
TZCODE_VER = 2012h
THISAPP = tzdata
DL_FILE = tzdata-base-0.tar.bz2
THISAPP = tzdata-$(VER)
DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
@@ -38,15 +37,13 @@ TARGET = $(DIR_INFO)/$(THISAPP)
# Top-level Rules
###############################################################################
objects = $(DL_FILE) tzdata$(TZDATA_VER).tar.gz tzcode$(TZCODE_VER).tar.gz
objects = tzdata$(TZDATA_VER).tar.gz tzcode$(TZCODE_VER).tar.gz
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
tzdata$(TZDATA_VER).tar.gz = $(DL_FROM)/tzdata$(TZDATA_VER).tar.gz
tzcode$(TZCODE_VER).tar.gz = $(DL_FROM)/tzcode$(TZCODE_VER).tar.gz
$(DL_FILE)_MD5 = e36d2f742c22f8c8dbf0686ac9769b55
tzdata$(TZDATA_VER).tar.gz_MD5 = 20dbfb28efa008ddbf6dd34601ea40fa
tzcode$(TZCODE_VER).tar.gz_MD5 = cf7f4335b7c8682899fa2814e711c1b2
tzdata$(TZDATA_VER).tar.gz_MD5 = b937335e087fb85b7f8e3ce33e69184b
tzcode$(TZCODE_VER).tar.gz_MD5 = 44b3b6c3e50240ac44f16437040a7ba2
install : $(TARGET)
@@ -75,19 +72,21 @@ $(subst %,%_MD5,$(objects)) :
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
@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)/tzdata$(TZDATA_VER)
tar axf $(DIR_DL)/tzcode$(TZCODE_VER).tar.gz -C $(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) && sed -e 's|@objpfx@|$(DIR_APP)/obj/|' \
-e 's|@datadir@|/usr/share|' \
Makeconfig.in > Makeconfig
cd $(DIR_APP) && make $(MAKETUNING)
cd $(DIR_APP) && make TOPDIR=/usr ETCDIR=/tmp LIBDIR=/tmp MANDIR=/tmp \
TZDIR=/usr/share/zoneinfo all
cd $(DIR_APP) && make TOPDIR=/usr ETCDIR=/tmp LIBDIR=/tmp MANDIR=/tmp \
TZDIR=/usr/share/zoneinfo install
cd $(DIR_APP) && sed -i 's|@install_root@||' Makeconfig
cd $(DIR_APP) && make install
-mkdir -pv /usr/share/zoneinfo
mv -v /usr/share/zoneinfo-posix /usr/share/zoneinfo/posix
mv -v /usr/share/zoneinfo-leaps /usr/share/zoneinfo/right
rm -vf /usr/share/zoneinfo/localtime
cp -f /usr/share/zoneinfo/GMT /etc/localtime
cp -vf /usr/share/zoneinfo/GMT /etc/localtime
@rm -rf $(DIR_APP)
@$(POSTBUILD)