From dffc4afc5328bc3ff7266de99c3ee53c30014ae6 Mon Sep 17 00:00:00 2001 From: Johannes Kauffmann Date: Wed, 31 May 2023 15:00:35 +0200 Subject: open62541: update to v1.3.6 Since v1.3.4, support for OpenSSL 3.0 has been added. Signed-off-by: Johannes Kauffmann Signed-off-by: Khem Raj --- .../recipes-protocols/opcua/open62541_1.3.3.bb | 49 ---------------------- .../recipes-protocols/opcua/open62541_1.3.6.bb | 49 ++++++++++++++++++++++ 2 files changed, 49 insertions(+), 49 deletions(-) delete mode 100644 meta-networking/recipes-protocols/opcua/open62541_1.3.3.bb create mode 100644 meta-networking/recipes-protocols/opcua/open62541_1.3.6.bb (limited to 'meta-networking/recipes-protocols') diff --git a/meta-networking/recipes-protocols/opcua/open62541_1.3.3.bb b/meta-networking/recipes-protocols/opcua/open62541_1.3.3.bb deleted file mode 100644 index c7653bbbbb..0000000000 --- a/meta-networking/recipes-protocols/opcua/open62541_1.3.3.bb +++ /dev/null @@ -1,49 +0,0 @@ -DESCRIPTION = "open62541 is an implementation of OPC UA (OPC Unified Architecture)" -HOMEPAGE = "https://github.com/open62541/open62541.git" -LICENSE = "MPL-2.0 & BSD-3-Clause & MIT" -LIC_FILES_CHKSUM = "\ - file://LICENSE;md5=815ca599c9df247a0c7f619bab123dad \ - file://deps/mdnsd/LICENSE;md5=3bb4047dc4095cd7336de3e2a9be94f0 \ - file://deps/mqtt-c/LICENSE;md5=9226377baf0b79174c89a1ab55592456 \ -" - -SRCREV_FORMAT = "opcua_mdnsd_ua-nodeset_mqtt-c" -SRCREV_opcua = "ff73268829359639531ff02905c889f73a77b408" -SRCREV_mdnsd = "3151afe5899dba5125dffa9f4cf3ae1fe2edc0f0" -SRCREV_ua-nodeset = "f71b3f411d5cb16097c3ae0c744f67ad45535ffb" -SRCREV_mqtt-c = "f69ce1e7fd54f3b1834c9c9137ce0ec5d703cb4d" - -SRC_URI = " \ - git://github.com/open62541/open62541.git;name=opcua;branch=1.3;protocol=https \ - git://github.com/Pro/mdnsd.git;name=mdnsd;protocol=https;branch=master;destsuffix=git/deps/mdnsd \ - git://github.com/OPCFoundation/UA-Nodeset;name=ua-nodeset;protocol=https;branch=v1.04;destsuffix=git/deps/ua-nodeset \ - git://github.com/LiamBindle/MQTT-C.git;name=mqtt-c;protocol=https;branch=master;destsuffix=git/deps/mqtt-c \ - file://0001-fix-build-do-not-install-git-files.patch \ -" - -S = "${WORKDIR}/git" - -inherit cmake python3native - -EXTRA_OECMAKE += "\ - -DBUILD_SHARED_LIBS=ON \ - -DUA_NAMESPACE_ZERO=FULL \ - -DUA_LOGLEVEL=600 \ -" - -PACKAGECONFIG ?= "encryption-mbedtls pubsub pubsub-eth" -PACKAGECONFIG[amalgamation] = "-DUA_ENABLE_AMALGAMATION=ON, -DUA_ENABLE_AMALGAMATION=OFF" -PACKAGECONFIG[encryption-mbedtls] = "-DUA_ENABLE_ENCRYPTION=MBEDTLS, , mbedtls, , , encryption-openssl" -PACKAGECONFIG[encryption-openssl] = "-DUA_ENABLE_ENCRYPTION=OPENSSL, , openssl, , , encryption-mbedtls" -PACKAGECONFIG[pubsub] = "-DUA_ENABLE_PUBSUB=ON, -DUA_ENABLE_PUBSUB=OFF" -PACKAGECONFIG[pubsub-eth] = "-DUA_ENABLE_PUBSUB_ETH_UADP=ON, -DUA_ENABLE_PUBSUB_ETH_UADP=OFF" -PACKAGECONFIG[werror] = "-DUA_FORCE_WERROR=ON, -DUA_FORCE_WERROR=OFF" - -do_configure:prepend:toolchain-clang:riscv64() { - sed -i -e 's/set(CMAKE_INTERPROCEDURAL_OPTIMIZATION ON)/set(CMAKE_INTERPROCEDURAL_OPTIMIZATION OFF)/' ${S}/CMakeLists.txt -} - -do_configure:prepend:toolchain-clang:riscv32() { - sed -i -e 's/set(CMAKE_INTERPROCEDURAL_OPTIMIZATION ON)/set(CMAKE_INTERPROCEDURAL_OPTIMIZATION OFF)/' ${S}/CMakeLists.txt -} - diff --git a/meta-networking/recipes-protocols/opcua/open62541_1.3.6.bb b/meta-networking/recipes-protocols/opcua/open62541_1.3.6.bb new file mode 100644 index 0000000000..bab0e75864 --- /dev/null +++ b/meta-networking/recipes-protocols/opcua/open62541_1.3.6.bb @@ -0,0 +1,49 @@ +DESCRIPTION = "open62541 is an implementation of OPC UA (OPC Unified Architecture)" +HOMEPAGE = "https://github.com/open62541/open62541.git" +LICENSE = "MPL-2.0 & BSD-3-Clause & MIT" +LIC_FILES_CHKSUM = "\ + file://LICENSE;md5=815ca599c9df247a0c7f619bab123dad \ + file://deps/mdnsd/LICENSE;md5=3bb4047dc4095cd7336de3e2a9be94f0 \ + file://deps/mqtt-c/LICENSE;md5=9226377baf0b79174c89a1ab55592456 \ +" + +SRCREV_FORMAT = "opcua_mdnsd_ua-nodeset_mqtt-c" +SRCREV_opcua = "1b7e2b5d669661c568fda5577ee92011a029cf75" +SRCREV_mdnsd = "3151afe5899dba5125dffa9f4cf3ae1fe2edc0f0" +SRCREV_ua-nodeset = "f71b3f411d5cb16097c3ae0c744f67ad45535ffb" +SRCREV_mqtt-c = "f69ce1e7fd54f3b1834c9c9137ce0ec5d703cb4d" + +SRC_URI = " \ + git://github.com/open62541/open62541.git;name=opcua;branch=1.3;protocol=https \ + git://github.com/Pro/mdnsd.git;name=mdnsd;protocol=https;branch=master;destsuffix=git/deps/mdnsd \ + git://github.com/OPCFoundation/UA-Nodeset;name=ua-nodeset;protocol=https;branch=v1.04;destsuffix=git/deps/ua-nodeset \ + git://github.com/LiamBindle/MQTT-C.git;name=mqtt-c;protocol=https;branch=master;destsuffix=git/deps/mqtt-c \ + file://0001-fix-build-do-not-install-git-files.patch \ +" + +S = "${WORKDIR}/git" + +inherit cmake python3native + +EXTRA_OECMAKE += "\ + -DBUILD_SHARED_LIBS=ON \ + -DUA_NAMESPACE_ZERO=FULL \ + -DUA_LOGLEVEL=600 \ +" + +PACKAGECONFIG ?= "encryption-mbedtls pubsub pubsub-eth" +PACKAGECONFIG[amalgamation] = "-DUA_ENABLE_AMALGAMATION=ON, -DUA_ENABLE_AMALGAMATION=OFF" +PACKAGECONFIG[encryption-mbedtls] = "-DUA_ENABLE_ENCRYPTION=MBEDTLS, , mbedtls, , , encryption-openssl" +PACKAGECONFIG[encryption-openssl] = "-DUA_ENABLE_ENCRYPTION=OPENSSL, , openssl, , , encryption-mbedtls" +PACKAGECONFIG[pubsub] = "-DUA_ENABLE_PUBSUB=ON, -DUA_ENABLE_PUBSUB=OFF" +PACKAGECONFIG[pubsub-eth] = "-DUA_ENABLE_PUBSUB_ETH_UADP=ON, -DUA_ENABLE_PUBSUB_ETH_UADP=OFF" +PACKAGECONFIG[werror] = "-DUA_FORCE_WERROR=ON, -DUA_FORCE_WERROR=OFF" + +do_configure:prepend:toolchain-clang:riscv64() { + sed -i -e 's/set(CMAKE_INTERPROCEDURAL_OPTIMIZATION ON)/set(CMAKE_INTERPROCEDURAL_OPTIMIZATION OFF)/' ${S}/CMakeLists.txt +} + +do_configure:prepend:toolchain-clang:riscv32() { + sed -i -e 's/set(CMAKE_INTERPROCEDURAL_OPTIMIZATION ON)/set(CMAKE_INTERPROCEDURAL_OPTIMIZATION OFF)/' ${S}/CMakeLists.txt +} + -- cgit 1.2.3-korg