zoneinfo: Updated to the latest release

Signed-off-by: Vladimir Ulrich <admin@evl.su>
(cherry picked from commit 7259eea63f)
(cherry picked from commit 00f1c78a64)
(cherry picked from commit 453be8f179)
(cherry picked from commit 3185feda49)
(cherry picked from commit b15721d6d6)
(cherry picked from commit cb5bf2b007)
(cherry picked from commit 89c2fa9d9b)
(cherry picked from commit 8d693a79be)
(cherry picked from commit 5a9e8698c9)

Updated zoneinfo-all meta-package to fix warnings on build
Removed zoneinfo-simple from dependencies of zoneinfo-all as its contents are included in other packages.
(cherry picked from commit 1d88250815)

(cherry picked from commit 23e6200e4d)
(cherry picked from commit 0ff1a8666b)
This commit is contained in:
Vladimir Ulrich 2021-09-25 22:17:18 +03:00 committed by Hannu Nyman
parent cc5d4f7f82
commit 5a6a8c3d6f
1 changed files with 8 additions and 5 deletions

View File

@ -1,5 +1,5 @@
#
# Copyright (C) 2007-2021 OpenWrt.org
# Copyright (C) 2007-2023 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
@ -9,7 +9,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=zoneinfo
PKG_VERSION:=2021a
PKG_VERSION:=2023c
PKG_RELEASE:=1
#As i couldn't find real license used "Public Domain"
@ -19,14 +19,14 @@ PKG_LICENSE:=Public Domain
PKG_SOURCE:=tzdata$(PKG_VERSION).tar.gz
PKG_SOURCE_CODE:=tzcode$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.iana.org/time-zones/repository/releases
PKG_HASH:=39e7d2ba08c68cbaefc8de3227aab0dec2521be8042cf56855f7dc3a9fb14e08
PKG_HASH:=3f510b5d1b4ae9bb38e485aa302a776b317fb3637bdb6404c4adf7b6cadd965c
include $(INCLUDE_DIR)/package.mk
define Download/tzcode
FILE=$(PKG_SOURCE_CODE)
URL=$(PKG_SOURCE_URL)
HASH:=eb46bfa124b5b6bd13d61a609bfde8351bd192894708d33aa06e5c1e255802d0
HASH:=46d17f2bb19ad73290f03a203006152e0fa0d7b11e5b71467c4a823811b214e7
endef
$(eval $(call Download,tzcode))
@ -103,7 +103,6 @@ define Package/zoneinfo-all
$(call Package/zoneinfo/Default)
TITLE:=Zone Information (all zones)
DEPENDS:= \
+zoneinfo-simple \
+zoneinfo-core \
+zoneinfo-africa \
+zoneinfo-northamerica \
@ -147,6 +146,10 @@ define Package/zoneinfo-core/install
done
endef
define Package/zoneinfo-all/install
:
endef
define Package/zoneinfo-simple/install
$(INSTALL_DIR) $(1)/usr/share/zoneinfo
for i in Pacific/Honolulu \