From cd7f0d07f77cbabd01469843136c6b64c86c0f6a Mon Sep 17 00:00:00 2001 From: Armin Kuster Date: Thu, 25 Jan 2018 08:33:42 -0800 Subject: tzcode: update to 2018c removed patches now included in update. The 2018a through 2018c releases reflect the following changes, which were either circulated on the tz mailing list or are relatively minor technical or administrative changes. This announcement has merged the set of changes made by the three releases, to make it easier to see the difference between 2017c and 2018c; please see the 2018c NEWS file for more details about intermediate versions. Release 2018c - 2018-01-22 23:00:44 -0800 Release 2018b - 2018-01-17 23:24:48 -0800 Release 2018a - 2018-01-12 22:29:21 -0800 Changes to code zic has a new option -t FILE that specifies the location of the file that determines local time when TZ is unset. The default for this location can be configured via the new TZDEFAULT makefile macro, which defaults to /etc/localtime. Diagnostics and commentary now distinguish UT from UTC more carefully; see theory.html for more information about UT vs UTC. zic has been ported to GCC 8's -Wstringop-truncation option. (Problem reported by Martin Sebor.) Changes to documentation and commentary The zic man page now documents the longstanding behavior that times and years can be out of the usual range, with negative times counting backwards from midnight and with year 0 preceding year 1. (Problem reported by Michael Deckers.) The theory.html file now mentions the POSIX limit of six chars per abbreviation, and lists alphabetic abbreviations used. The files tz-art.htm and tz-link.htm have been renamed to tz-art.html and tz-link.html, respectively, for consistency with other file names and to simplify web server configuration. (From OE-Core rev: 8837417dc4be1f7c6994db8f455c350bc9ae266e) Signed-off-by: Armin Kuster Signed-off-by: Richard Purdie (cherry picked from commit aae1131225b92d2f984a2de35b2e21592ae8195d) Signed-off-by: Armin Kuster (cherry picked from commit 017bbce4101e90388cf662e12157a788112e0727) Signed-off-by: Richard Purdie --- .../recipes-extended/tzcode/tzcode-native_2017c.bb | 31 ---------------------- .../recipes-extended/tzcode/tzcode-native_2018c.bb | 30 +++++++++++++++++++++ 2 files changed, 30 insertions(+), 31 deletions(-) delete mode 100644 meta/recipes-extended/tzcode/tzcode-native_2017c.bb create mode 100644 meta/recipes-extended/tzcode/tzcode-native_2018c.bb (limited to 'meta') diff --git a/meta/recipes-extended/tzcode/tzcode-native_2017c.bb b/meta/recipes-extended/tzcode/tzcode-native_2017c.bb deleted file mode 100644 index aeaef726bc..0000000000 --- a/meta/recipes-extended/tzcode/tzcode-native_2017c.bb +++ /dev/null @@ -1,31 +0,0 @@ -# note that we allow for us to use data later than our code version -# -SUMMARY = "tzcode, timezone zoneinfo utils -- zic, zdump, tzselect" -LICENSE = "PD & BSD & BSD-3-Clause" - -LIC_FILES_CHKSUM = "file://LICENSE;md5=c679c9d6b02bc2757b3eaf8f53c43fba" - -SRC_URI =" http://www.iana.org/time-zones/repository/releases/tzcode${PV}.tar.gz;name=tzcode \ - http://www.iana.org/time-zones/repository/releases/tzdata${PV}.tar.gz;name=tzdata \ - file://0001-Fix-Makefile-quoting-bug.patch \ - file://0002-Port-zdump-to-C90-snprintf.patch" - -UPSTREAM_CHECK_URI = "http://www.iana.org/time-zones" - -SRC_URI[tzcode.md5sum] = "2fe6986231db5182c61d565021a0cd7b" -SRC_URI[tzcode.sha256sum] = "81e8b4bc23e60906640c266bbff3789661e22f0fa29fe61b96ec7c2816c079b7" -SRC_URI[tzdata.md5sum] = "1e751e7e08f8b68530674f04619d894d" -SRC_URI[tzdata.sha256sum] = "d6543f92a929826318e2f44ff3a7611ce5f565a43e10250b42599d0ba4cbd90b" - -S = "${WORKDIR}" - -inherit native - -EXTRA_OEMAKE += "cc='${CC}'" - -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_2018c.bb b/meta/recipes-extended/tzcode/tzcode-native_2018c.bb new file mode 100644 index 0000000000..85e9b70ace --- /dev/null +++ b/meta/recipes-extended/tzcode/tzcode-native_2018c.bb @@ -0,0 +1,30 @@ +# note that we allow for us to use data later than our code version +# +SUMMARY = "tzcode, timezone zoneinfo utils -- zic, zdump, tzselect" +LICENSE = "PD & BSD & BSD-3-Clause" + +LIC_FILES_CHKSUM = "file://LICENSE;md5=c679c9d6b02bc2757b3eaf8f53c43fba" + +SRC_URI =" http://www.iana.org/time-zones/repository/releases/tzcode${PV}.tar.gz;name=tzcode \ + http://www.iana.org/time-zones/repository/releases/tzdata${PV}.tar.gz;name=tzdata \ + " + +UPSTREAM_CHECK_URI = "http://www.iana.org/time-zones" + +SRC_URI[tzcode.md5sum] = "e6e0d4b2ce3fa6906f303157bed2612e" +SRC_URI[tzcode.sha256sum] = "31fa7fc0f94a6ff2d6bc878c0a35e8ab8b5aa0e8b01445a1d4a8f14777d0e665" +SRC_URI[tzdata.md5sum] = "c412b1531adef1be7a645ab734f86acc" +SRC_URI[tzdata.sha256sum] = "2825c3e4b7ef520f24d393bcc02942f9762ffd3e7fc9b23850789ed8f22933f6" + +S = "${WORKDIR}" + +inherit native + +EXTRA_OEMAKE += "cc='${CC}'" + +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-54-g00ecf