From 9bd537fb99721bde462d188cde41537fc2700258 Mon Sep 17 00:00:00 2001 From: Francesco Pham <francesco.pham@huawei.com> Date: Mon, 24 Jan 2022 14:51:52 +0100 Subject: [PATCH] coap: bump libcoap to the latest release Change coap version from a release candidate to the latest release; remove examples from default package Signed-off-by: Francesco Pham <francesco.pham@huawei.com> --- .../recipes-connectivity/coap/coap_git.bb | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/meta-oniro-staging/recipes-connectivity/coap/coap_git.bb b/meta-oniro-staging/recipes-connectivity/coap/coap_git.bb index 269f84e3..d691d641 100644 --- a/meta-oniro-staging/recipes-connectivity/coap/coap_git.bb +++ b/meta-oniro-staging/recipes-connectivity/coap/coap_git.bb @@ -15,15 +15,13 @@ SECTION = "libs/network" # WARNING: Code until 2017-06-01 is dual-licensed as GPLv2 and BSD 2-Clause, it is BSD after that LICENSE = "GPLv2 | BSD" LIC_FILES_CHKSUM = "file://COPYING;md5=faed8f005d476edd3f250599a4bb9a75 \ - file://LICENSE;md5=649d94043490c8be38f08b781838cddb \ + file://LICENSE;md5=e44b3af4925ec58e9f49b9ff143b5493 \ file://ext/tinydtls/LICENSE;md5=ffb073dbb36e7ec5e091047332f302c5" -LIBCOAP_VERSION = "4.3.0-rc3" -SRC_URI = "gitsm://github.com/obgm/libcoap.git;protocol=https;branch=develop" -# When using a final release: -#SRC_URI = "gitsm://github.com/obgm/libcoap.git;protocol=https;branch=release-${LIBCOAP_VERSION}" +LIBCOAP_VERSION = "4.3.0" +SRC_URI = "gitsm://github.com/obgm/libcoap.git;protocol=https;branch=release-${LIBCOAP_VERSION}" PV = "${LIBCOAP_VERSION}+git${SRCPV}" -SRCREV = "39b75f8240b45da3ab7923b0545001e08da437bf" +SRCREV = "1da37b9abbe871675d5939395b498324ccc8ecfe" S = "${WORKDIR}/git" @@ -36,3 +34,6 @@ inherit pkgconfig autotools EXTRA_OECONF = "--disable-doxygen --disable-manpages --with-mbedtls" BBCLASSEXTEND = "native nativesdk" + +PACKAGE_BEFORE_PN = "${PN}-examples" +FILES_${PN}-examples = "${datadir}/*" -- GitLab