X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=lfs%2Ftzdata;h=edf5ff22dea4ed7565ac9a52902862f85f3bfaf7;hb=b128fe7e69304ee26a293d508e31bd7f63c12f2d;hp=3b0198f0c271bddd5d83b664e2cbef32eb3eaaf7;hpb=84aed1ea54ea5e482d3e7dcd7075188062ae85b1;p=people%2Fteissler%2Fipfire-2.x.git diff --git a/lfs/tzdata b/lfs/tzdata index 3b0198f0c..edf5ff22d 100644 --- a/lfs/tzdata +++ b/lfs/tzdata @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007 Michael Tremer & Christian Schmidt # +# Copyright (C) 2007-2011 IPFire Team # # # # 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 # @@ -24,29 +24,26 @@ include Config -TZDATA_VER = 2011j -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) -SUP_ARCH = armv5tel ############################################################################### # 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 = 30a6bebdbdd03c5bd29241c15f569d50 -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)