summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/tzcode/tzcode-native_2017a.bb
diff options
context:
space:
mode:
authorArmin Kuster <akuster@mvista.com>2017-02-28 19:48:30 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-03-04 23:18:20 +0000
commit46f7f56c587fd005c06c7b33c3ee01143036d633 (patch)
tree00eedc428b424c39498add065b7b5eb8f24b656b /meta/recipes-extended/tzcode/tzcode-native_2017a.bb
parentbbb1a0781a7be6efed6b43c0e22e31efc4c63dd5 (diff)
downloadpoky-46f7f56c587fd005c06c7b33c3ee01143036d633.tar.gz
tzcode-native: update to 2017a
Changes to code zic no longer mishandles some transitions in January 2038 when it attempts to work around Qt bug 53071. This fixes a bug affecting Pacific/Tongatapu that was introduced in zic 2016e. localtime.c now contains a workaround, useful when loading a file generated by a buggy zic. (Problem and localtime.c fix reported by Bradley White.) zdump -i now outputs non-hour numeric time zone abbreviations without a colon, e.g., "+0530" rather than "+05:30". This agrees with zic %z and with common practice, and simplifies auditing of zdump output. zdump is now buildable again with -DUSE_LTZ=0. (Problem reported by Joseph Myers.) zdump.c now always includes private.h, to avoid code duplication with private.h. (Problem reported by Kees Dekker.) localtime.c no longer mishandles early or late timestamps when TZ is set to a POSIX-style string that specifies DST. (Problem reported by Kees Dekker.) date and strftime now cause %z to generate "-0000" instead of "+0000" when the UT offset is zero and the time zone abbreviation begins with "-". Changes to documentation and commentary The 'Theory' file now better documents choice of historical time zone abbreviations. (Problems reported by Michael Deckers.) tz-link.htm now covers leap smearing, which is popular in clouds. (From OE-Core rev: 6c95fbf51ec538e29083a4a890d106b732c1b182) Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/tzcode/tzcode-native_2017a.bb')
-rw-r--r--meta/recipes-extended/tzcode/tzcode-native_2017a.bb26
1 files changed, 26 insertions, 0 deletions
diff --git a/meta/recipes-extended/tzcode/tzcode-native_2017a.bb b/meta/recipes-extended/tzcode/tzcode-native_2017a.bb
new file mode 100644
index 0000000000..0daac531fd
--- /dev/null
+++ b/meta/recipes-extended/tzcode/tzcode-native_2017a.bb
@@ -0,0 +1,26 @@
1# note that we allow for us to use data later than our code version
2#
3SUMMARY = "tzcode, timezone zoneinfo utils -- zic, zdump, tzselect"
4LICENSE = "PD & BSD & BSD-3-Clause"
5
6LIC_FILES_CHKSUM = "file://LICENSE;md5=ef1a352b901ee7b75a75df8171d6aca7"
7
8SRC_URI =" http://www.iana.org/time-zones/repository/releases/tzcode${PV}.tar.gz;name=tzcode \
9 http://www.iana.org/time-zones/repository/releases/tzdata${PV}.tar.gz;name=tzdata"
10UPSTREAM_CHECK_URI = "http://www.iana.org/time-zones"
11
12SRC_URI[tzcode.md5sum] = "eef0bfac7a52dce6989a7d8b40d86fe0"
13SRC_URI[tzcode.sha256sum] = "02f2c6b58b99edd0d47f0cad34075b359fd1a4dab71850f493b0404ded3b38ac"
14SRC_URI[tzdata.md5sum] = "cb8274cd175f8a4d9d1b89895df876dc"
15SRC_URI[tzdata.sha256sum] = "df3a5c4d0a2cf0cde0b3f35796ccf6c9acfd598b8e70f8dece5404cd7626bbd6"
16
17S = "${WORKDIR}"
18
19inherit native
20
21do_install () {
22 install -d ${D}${bindir}/
23 install -m 755 zic ${D}${bindir}/
24 install -m 755 zdump ${D}${bindir}/
25 install -m 755 tzselect ${D}${bindir}/
26}