[meta-intel] [PATCH][meta-intel-iot-middleware] iotkit-lib-c: updated to version 1.4.8

Mark Ceisel mark.n.ceisel at intel.com
Tue Mar 24 17:02:43 PDT 2015


JIRA: EDISON-2451

fixed segmentation fault generated due to data retrieval operation
performed for a non-existing sensor

Signed-off-by: Mark Ceisel <mark.n.ceisel at intel.com>
---
 .../iotkit-lib-c/iotkit-lib-c_0.1.0.bb             | 49 ----------------------
 .../iotkit-lib-c/iotkit-lib-c_1.4.8.bb             | 48 +++++++++++++++++++++
 2 files changed, 48 insertions(+), 49 deletions(-)
 delete mode 100644 recipes-devtools/iotkit-lib-c/iotkit-lib-c_0.1.0.bb
 create mode 100644 recipes-devtools/iotkit-lib-c/iotkit-lib-c_1.4.8.bb

diff --git a/recipes-devtools/iotkit-lib-c/iotkit-lib-c_0.1.0.bb b/recipes-devtools/iotkit-lib-c/iotkit-lib-c_0.1.0.bb
deleted file mode 100644
index 3d9a27a..0000000
--- a/recipes-devtools/iotkit-lib-c/iotkit-lib-c_0.1.0.bb
+++ /dev/null
@@ -1,49 +0,0 @@
-SUMMARY = "Transparently implements the necessary message formats and transport security as well as device registration"
-SECTION = "libs"
-HOMEPAGE = "http://enableiot.com"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://COPYING;md5=e8db6501ed294e65418a933925d12058"
-
-DEPENDS = "nodejs-native swig-native curl"
-
-PR = "r1"
-
-SRC_URI = "git://github.com/enableiot/iotkit-lib-c.git;protocol=https;tag=v1.4.6"
-
-S = "${WORKDIR}/git"
-
-EXTRA_OECMAKE += " -DSTAGING_DIR_TARGET=${STAGING_DIR_TARGET}"
-
-inherit distutils-base pkgconfig python-dir cmake
-
-do_compile_prepend () {
-    # when yocto builds in ${D} it does not have access to ../git/.git so git
-    # describe --tags fails. In order not to tag our version as dirty we use this
-    # trick
-    sed -i 's/-dirty//' src/version.c
-}
-
-do_install_prepend () {
-    # Copy config file
-    install -d ${D}${sysconfdir}/iotkit-lib
-    install -d ${D}${datadir}/iotkit-lib
-    install -m 644 ${S}/config/config.json ${D}${sysconfdir}/iotkit-lib/
-
-    # Copy test programs
-    cp -r ${B}/tests/ ${D}${datadir}/iotkit-lib/
-    rm -rf ${D}${datadir}/iotkit-lib/tests/CMakeFiles/
-    touch ${D}${datadir}/iotkit-lib/.setup.done
-}
-
-PACKAGES =+ "${PN}-tests"
-
-FILES_${PN}-dbg += "${libdir}/node_modules/iotkitjs/.debug/ \
-                    ${libdir}/python2.7/dist-packages/.debug/ \
-                    ${datadir}/iotkit-lib/tests/.debug/"
-
-FILES_${PN}-tests = "${datadir}/iotkit-lib/tests/*"
-
-FILES_${PN} += "${sysconfdir} \
-                    ${datadir}/iotkit-lib/.setup.done"
-
-RDEPENDS_${PN}-tests += "${PN} gcov cmake"
diff --git a/recipes-devtools/iotkit-lib-c/iotkit-lib-c_1.4.8.bb b/recipes-devtools/iotkit-lib-c/iotkit-lib-c_1.4.8.bb
new file mode 100644
index 0000000..5da8274
--- /dev/null
+++ b/recipes-devtools/iotkit-lib-c/iotkit-lib-c_1.4.8.bb
@@ -0,0 +1,48 @@
+SUMMARY = "Transparently implements the necessary message formats and transport security as well as device registration"
+SECTION = "libs"
+HOMEPAGE = "http://enableiot.com"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://COPYING;md5=e8db6501ed294e65418a933925d12058"
+
+DEPENDS = "nodejs-native swig-native curl"
+
+SRC_URI = "git://github.com/enableiot/iotkit-lib-c.git;protocol=https"
+SRCREV = "eaa4af960ffda40c0ca6eca80c18c61f415ef685"
+
+S = "${WORKDIR}/git"
+
+EXTRA_OECMAKE += " -DSTAGING_DIR_TARGET=${STAGING_DIR_TARGET}"
+
+inherit distutils-base pkgconfig python-dir cmake
+
+do_compile_prepend () {
+    # when yocto builds in ${D} it does not have access to ../git/.git so git
+    # describe --tags fails. In order not to tag our version as dirty we use this
+    # trick
+    sed -i 's/-dirty//' src/version.c
+}
+
+do_install_prepend () {
+    # Copy config file
+    install -d ${D}${sysconfdir}/iotkit-lib
+    install -d ${D}${datadir}/iotkit-lib
+    install -m 644 ${S}/config/config.json ${D}${sysconfdir}/iotkit-lib/
+
+    # Copy test programs
+    cp -r ${B}/tests/ ${D}${datadir}/iotkit-lib/
+    rm -rf ${D}${datadir}/iotkit-lib/tests/CMakeFiles/
+    touch ${D}${datadir}/iotkit-lib/.setup.done
+}
+
+PACKAGES =+ "${PN}-tests"
+
+FILES_${PN}-dbg += "${libdir}/node_modules/iotkitjs/.debug/ \
+                    ${libdir}/python2.7/dist-packages/.debug/ \
+                    ${datadir}/iotkit-lib/tests/.debug/"
+
+FILES_${PN}-tests = "${datadir}/iotkit-lib/tests/*"
+
+FILES_${PN} += "${sysconfdir} \
+                ${datadir}/iotkit-lib/.setup.done"
+
+RDEPENDS_${PN}-tests += "${PN} gcov cmake"
-- 
1.9.1



More information about the meta-intel mailing list