From 7c9082ab1ae6f7810c7cffe137d7d232b03852f8 Mon Sep 17 00:00:00 2001 From: Armin Kuster Date: Fri, 2 Oct 2015 07:24:52 -0700 Subject: tzcode: update to 2015g Changes affecting code localtime no longer mishandles America/Anchorage after 2037. (Thanks to Bradley White for reporting the bug.) On hosts with signed 32-bit time_t, localtime no longer mishandles Pacific/Fiji after 2038-01-16 14:00 UTC. The localtime module allows the variables 'timezone', 'daylight', and 'altzone' to be in common storage shared with other modules, and declares them in case the system does not. (Problems reported by Kees Dekker.) On platforms with tm_zone, strftime.c now assumes it is not NULL. This simplifies the code and is consistent with zdump.c. (Problem reported by Christos Zoulas.) Changes affecting documentation The tzfile man page now documents that transition times denote the starts (not the ends) of the corresponding time periods. (Ambiguity reported by Bill Seymour.) Signed-off-by: Armin Kuster Signed-off-by: Richard Purdie --- .../recipes-extended/tzcode/tzcode-native_2015f.bb | 25 ---------------------- .../recipes-extended/tzcode/tzcode-native_2015g.bb | 25 ++++++++++++++++++++++ 2 files changed, 25 insertions(+), 25 deletions(-) delete mode 100644 meta/recipes-extended/tzcode/tzcode-native_2015f.bb create mode 100644 meta/recipes-extended/tzcode/tzcode-native_2015g.bb (limited to 'meta') diff --git a/meta/recipes-extended/tzcode/tzcode-native_2015f.bb b/meta/recipes-extended/tzcode/tzcode-native_2015f.bb deleted file mode 100644 index a8865a3167..0000000000 --- a/meta/recipes-extended/tzcode/tzcode-native_2015f.bb +++ /dev/null @@ -1,25 +0,0 @@ -# note that we allow for us to use data later than our code version -# -DESCRIPTION = "tzcode, timezone zoneinfo utils -- zic, zdump, tzselect" -LICENSE = "PD & BSD" - -LIC_FILES_CHKSUM = "file://${WORKDIR}/README;md5=d0ff93a73dd5bc3c6e724bb4343760f6" - -SRC_URI =" ftp://ftp.iana.org/tz/releases/tzcode${PV}.tar.gz;name=tzcode \ - ftp://ftp.iana.org/tz/releases/tzdata2015f.tar.gz;name=tzdata" - -SRC_URI[tzcode.md5sum] = "19578d432ba8b92f73406a17a9bc268d" -SRC_URI[tzcode.sha256sum] = "0c95e0a42bb61141f790f4f5f204b954d7654c894aa54a594a215d6f38de84ae" -SRC_URI[tzdata.md5sum] = "e3b82732d20e973e48af1c6f13df9a1d" -SRC_URI[tzdata.sha256sum] = "959f81b541e042ecb13c50097d264ae92ff03a57979c478dbcf24d5da242531d" - -S = "${WORKDIR}" - -inherit native - -do_install () { - install -d ${D}${bindir}/ - install -m 755 zic ${D}${bindir}/ - install -m 755 zdump ${D}${bindir}/ - install -m 755 tzselect ${D}${bindir}/ -} diff --git a/meta/recipes-extended/tzcode/tzcode-native_2015g.bb b/meta/recipes-extended/tzcode/tzcode-native_2015g.bb new file mode 100644 index 0000000000..989e24b311 --- /dev/null +++ b/meta/recipes-extended/tzcode/tzcode-native_2015g.bb @@ -0,0 +1,25 @@ +# note that we allow for us to use data later than our code version +# +DESCRIPTION = "tzcode, timezone zoneinfo utils -- zic, zdump, tzselect" +LICENSE = "PD & BSD" + +LIC_FILES_CHKSUM = "file://${WORKDIR}/README;md5=d0ff93a73dd5bc3c6e724bb4343760f6" + +SRC_URI =" ftp://ftp.iana.org/tz/releases/tzcode${PV}.tar.gz;name=tzcode \ + ftp://ftp.iana.org/tz/releases/tzdata2015g.tar.gz;name=tzdata" + +SRC_URI[tzcode.md5sum] = "a2c47d908a6426f530efb1393cf1cd06" +SRC_URI[tzcode.sha256sum] = "18e402ef24bfad2ded38643c9a7a9a580f940a729cb47d983052fc28ff0c7ec4" +SRC_URI[tzdata.md5sum] = "8d46e8b225b9a04c75f5c39636435ad6" +SRC_URI[tzdata.sha256sum] = "b923cdbf078491696b17bc8d069c74bce73fabc5774629da2f410c9b31576161" + +S = "${WORKDIR}" + +inherit native + +do_install () { + install -d ${D}${bindir}/ + install -m 755 zic ${D}${bindir}/ + install -m 755 zdump ${D}${bindir}/ + install -m 755 tzselect ${D}${bindir}/ +} -- cgit v1.2.3