Skip to contentSkip to conversation

tzcode-natvie: update to 2015e

PATCH New Armin Kuster 1 participant 2 messages Jun 14, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 tzcode-natvie: update to 2015e

merged inc back into recipe.

Changes affecting code

When displaying data, tzselect converts it to the current locale's encoding if the iconv command works. (Problem reported by random832.)

tzselect no longer mishandles Dominica, fixing a bug introduced in Release 2014f. (Problem reported by Owen Leibman.)

zic -l no longer fails when compiled with -DTZDEFAULT=\"/etc/localtime\". This fixes a bug introduced in Release 2014f.
(Problem reported by Leonardo Chiquitto.)

---
 meta/recipes-extended/tzcode/tzcode-native.inc     | 15 -------------
 .../recipes-extended/tzcode/tzcode-native_2015d.bb | 11 ----------
 .../recipes-extended/tzcode/tzcode-native_2015e.bb | 25 ++++++++++++++++++++++
 3 files changed, 25 insertions(+), 26 deletions(-)
 delete mode 100644 meta/recipes-extended/tzcode/tzcode-native.inc
 delete mode 100644 meta/recipes-extended/tzcode/tzcode-native_2015d.bb
 create mode 100644 meta/recipes-extended/tzcode/tzcode-native_2015e.bb
meta/recipes-extended/tzcode/tzcode-native.inc deleted +0 -15
deleted file mode 100644
index 4af1e20..0000000
@@ -1,15 +0,0 @@
-DESCRIPTION = "tzcode, timezone zoneinfo utils -- zic, zdump, tzselect"
-LICENSE = "PD & BSD"
-
-LIC_FILES_CHKSUM = "file://${WORKDIR}/README;md5=d0ff93a73dd5bc3c6e724bb4343760f6"
-
-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}/
-}
meta/recipes-extended/tzcode/tzcode-native_2015d.bb deleted +0 -11
deleted file mode 100644
index 44a9f03..0000000
@@ -1,11 +0,0 @@
-# note that we allow for us to use data later than our code version
-#
-SRC_URI =" ftp://ftp.iana.org/tz/releases/tzcode${PV}.tar.gz;name=tzcode \
-           ftp://ftp.iana.org/tz/releases/tzdata2015d.tar.gz;name=tzdata"
-
-SRC_URI[tzcode.md5sum] = "4008a3abc025a398697b2587c48258b9"
-SRC_URI[tzcode.sha256sum] = "221af54ec5c42eaf0101159ffe1256a883d1c14c46228d42774c656a56317128"
-SRC_URI[tzdata.md5sum] = "b595bdc4474b8fc1a15cffc67c66025b"
-SRC_URI[tzdata.sha256sum] = "8b9f5008277f09e251e97dba7813f56168d691115bda90ade4638d72f296d531"
-
-require tzcode-native.inc
meta/recipes-extended/tzcode/tzcode-native_2015e.bb new file +25 -0
new file mode 100644
index 0000000..30dba7a
@@ -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/tzdata2015e.tar.gz;name=tzdata"
+
+SRC_URI[tzcode.md5sum] = "fb62eb6daf3ddb8c41fd40be05ec657e"
+SRC_URI[tzcode.sha256sum] = "b5a217b55847fb56f470a7738939c36f3a520d6cc12342d965cfcf848e59ada0"
+SRC_URI[tzdata.md5sum] = "36f9056efb432ca945c73397acfce0d4"
+SRC_URI[tzdata.sha256sum] = "ffc9b5d38abda8277aa479e3f75aa7668819d0977cd1a0c8ef3b09128334ba6f"
+
+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}/
+}
Signature · 1 line
2.3.5
#1 lore raw

PATCH 2/2 tzdata: update to 2015e

merged inc back into recipe.

Changes affecting future time stamps

Morocco will suspend DST from 2015-06-14 03:00 through 2015-07-19 02:00, not 06-13 and 07-18 as we had guessed. (Thanks to Milamber.)

Assume Cayman Islands will observe DST starting next year, using US rules. Although it isn't guaranteed, it is the most likely.

---
 meta/recipes-extended/tzdata/tzdata_2015d.bb                 | 6 ------
 meta/recipes-extended/tzdata/{tzdata.inc => tzdata_2015e.bb} | 5 +++++
 2 files changed, 5 insertions(+), 6 deletions(-)
 delete mode 100644 meta/recipes-extended/tzdata/tzdata_2015d.bb
 rename meta/recipes-extended/tzdata/{tzdata.inc => tzdata_2015e.bb} (97%)
meta/recipes-extended/tzdata/tzdata_2015d.bb deleted +0 -6
deleted file mode 100644
index d8e5f24..0000000
@@ -1,6 +0,0 @@
-SRC_URI = "ftp://ftp.iana.org/tz/releases/tzdata${PV}.tar.gz;name=tzdata"
-
-SRC_URI[tzdata.md5sum] = "b595bdc4474b8fc1a15cffc67c66025b"
-SRC_URI[tzdata.sha256sum] = "8b9f5008277f09e251e97dba7813f56168d691115bda90ade4638d72f296d531"
-
-require tzdata.inc
meta/recipes-extended/tzdata/tzdata_2015e.bb renamed from meta/recipes-extended/tzdata/tzdata.inc +5 -0
similarity index 97%
rename from meta/recipes-extended/tzdata/tzdata.inc
rename to meta/recipes-extended/tzdata/tzdata_2015e.bb
index ee56d36..9179d7b 100644
@@ -5,6 +5,11 @@ LICENSE = "PD & BSD"
 LIC_FILES_CHKSUM = "file://asia;beginline=2;endline=3;md5=996a9811747aa48db91ed239e5b355a1"
 DEPENDS = "tzcode-native"
 
+SRC_URI = "ftp://ftp.iana.org/tz/releases/tzdata${PV}.tar.gz;name=tzdata"
+
+SRC_URI[tzdata.md5sum] = "36f9056efb432ca945c73397acfce0d4"
+SRC_URI[tzdata.sha256sum] = "ffc9b5d38abda8277aa479e3f75aa7668819d0977cd1a0c8ef3b09128334ba6f"
+
 inherit allarch
 
 RCONFLICTS_${PN} = "timezones timezone-africa timezone-america timezone-antarctica \
Signature · 1 line
2.3.5