From patchwork Wed Jun 15 16:17:49 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Francois Perrad X-Patchwork-Id: 1643891 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=OhsdnTY7; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=140.211.166.136; helo=smtp3.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=) Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4LNVpb2HVrz9sGF for ; Thu, 16 Jun 2022 02:18:15 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 6542B60F84; Wed, 15 Jun 2022 16:18:11 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Y2jx3LPM7Q8c; Wed, 15 Jun 2022 16:18:10 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp3.osuosl.org (Postfix) with ESMTP id 500EE60C0E; Wed, 15 Jun 2022 16:18:09 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id CE8111BF4DB for ; Wed, 15 Jun 2022 16:18:07 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id BBAB682EB4 for ; Wed, 15 Jun 2022 16:18:07 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp1.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HwJnmQK6qHxn for ; Wed, 15 Jun 2022 16:18:06 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) by smtp1.osuosl.org (Postfix) with ESMTPS id 6AAA782DD9 for ; Wed, 15 Jun 2022 16:18:06 +0000 (UTC) Received: by mail-wm1-x335.google.com with SMTP id j5-20020a05600c1c0500b0039c5dbbfa48so1426061wms.5 for ; Wed, 15 Jun 2022 09:18:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=+GB6ygA0kEM0YQpBWRAJm8mWN7WtWLE7h2PxFILEZZk=; b=OhsdnTY7T1O2OKuFPDwyhk7F4nEk4Yflv/Td1QxA44Dybt+U0YZAqICOJBInM5sC2r VbRgLh9vyR7E/okFlc1iKqxLnq5ctGFGuWxum2LLT89eN+4yJ5uGyJru4IUHsdNskFJZ 5qn3/BaS0aRj6tgFADx2cv4BdGWb45NV8PikoiCXA0pgfQXDsTQP4N+xhjLqUq1u0g/9 ZND20o771m21lI61G4vj004F4O2lL2DQQgvysKtPQsOjHtpNirEQAyVUbi+VdxCGfa+O 3VquJZtnYMcIGElYv28sA29mZ8yHmYVaHrQJX3wHMNxLXZilWlNKt7kfDaB0YqHh3Q1K Kypg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=+GB6ygA0kEM0YQpBWRAJm8mWN7WtWLE7h2PxFILEZZk=; b=1fZ7Wf4vzxUw7qlx3ZEuQWq1xjr05OWp1EfmbkbQaOpW8lbeEhiix+mnoZbrHUnS8K 7eUNcZoQwN740n5/YfjRBe7E5hLVSi9gOL+7ZHtvd0z4eqzgavRtXBjalOUMO0qU15Vz 8HlOYdpD6ipISroHezTDUvHrF89eyFQc0wnlNNN3aaHB8O+RHkfGnhHOPCXrrsqtAfCd WD2YO8W+C62v+t8K/uShf9BUGMwNV0fZZkHkmOAtoJfvQ4nPrg3TVyumnebbMlfPAF7j /9Vc+YGYPi6+NWusXrbOqC5e68DzLSJ5vYbYbXWEMHwj96gnSdaTnTrfAUk95lGeSkc8 /5Yw== X-Gm-Message-State: AOAM530R5xWnfT2u2Ad4Akf+kFEwudPO5Mi4BPAwtAgV0pjrKl0HlIyi 0Bbwz2w2YUSDlIOo3G2pjla8kqlb3djDqQ== X-Google-Smtp-Source: ABdhPJwpAQhUGhTcqoel2QYe8oODnZmvCd6IdCowqOmFoyxoXARoCwOo7Eyf/j8qHEfnXP0U6GkLWA== X-Received: by 2002:a05:600c:23d0:b0:39c:63d4:69a6 with SMTP id p16-20020a05600c23d000b0039c63d469a6mr10923429wmb.5.1655309884530; Wed, 15 Jun 2022 09:18:04 -0700 (PDT) Received: from vm22.. (12.197.24.93.rev.sfr.net. [93.24.197.12]) by smtp.gmail.com with ESMTPSA id g13-20020adffc8d000000b002102f2fac37sm17723325wrr.51.2022.06.15.09.18.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jun 2022 09:18:04 -0700 (PDT) From: Francois Perrad X-Google-Original-From: Francois Perrad To: buildroot@busybox.net Date: Wed, 15 Jun 2022 18:17:49 +0200 Message-Id: <20220615161753.2580142-1-francois.perrad@gadz.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/5] package/open62541: bump to version 1.3.1 X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" remove patches Signed-off-by: Francois Perrad --- ...sts.txt-project-only-contains-C-code.patch | 27 ---------- ...eLists.txt-fix-build-without-threads.patch | 37 ------------- ...licit-cast-to-avoid-compiler-warning.patch | 25 --------- ...4-CMakeLists.txt-add-UA_FORCE_WERROR.patch | 54 ------------------- package/open62541/open62541.hash | 2 +- package/open62541/open62541.mk | 2 +- 6 files changed, 2 insertions(+), 145 deletions(-) delete mode 100644 package/open62541/0001-CMakeLists.txt-project-only-contains-C-code.patch delete mode 100644 package/open62541/0002-arch-posix-CMakeLists.txt-fix-build-without-threads.patch delete mode 100644 package/open62541/0003-fix-core-Explicit-cast-to-avoid-compiler-warning.patch delete mode 100644 package/open62541/0004-CMakeLists.txt-add-UA_FORCE_WERROR.patch diff --git a/package/open62541/0001-CMakeLists.txt-project-only-contains-C-code.patch b/package/open62541/0001-CMakeLists.txt-project-only-contains-C-code.patch deleted file mode 100644 index 52a9cbaac..000000000 --- a/package/open62541/0001-CMakeLists.txt-project-only-contains-C-code.patch +++ /dev/null @@ -1,27 +0,0 @@ -From 61f9440dfeacad517965451773371aca0332d700 Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Tue, 5 Jan 2021 23:08:53 +0100 -Subject: [PATCH] CMakeLists.txt: project only contains C code - -Make sure CMake doesn't check for a C++ compiler when it's not needed, -as open62541 is in C. - -Signed-off-by: Thomas Petazzoni ---- - CMakeLists.txt | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 94ceb127..acc41ab2 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -1,5 +1,5 @@ - cmake_minimum_required(VERSION 3.0...3.12) --project(open62541) -+project(open62541 C) - # set(CMAKE_VERBOSE_MAKEFILE ON) - if(${CMAKE_VERSION} VERSION_LESS 3.12) - cmake_policy(VERSION ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}) --- -2.29.2 - diff --git a/package/open62541/0002-arch-posix-CMakeLists.txt-fix-build-without-threads.patch b/package/open62541/0002-arch-posix-CMakeLists.txt-fix-build-without-threads.patch deleted file mode 100644 index bdf360804..000000000 --- a/package/open62541/0002-arch-posix-CMakeLists.txt-fix-build-without-threads.patch +++ /dev/null @@ -1,37 +0,0 @@ -From a312e82124fb8c9f139d5a40fa5a28123bb77a33 Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Sun, 10 Jan 2021 14:25:56 +0100 -Subject: [PATCH] arch/posix/CMakeLists.txt: fix build without threads - -Fix the following build failure without threads: - -[100%] Linking C shared library bin/libopen62541.so -/home/buildroot/autobuild/instance-3/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabihf/8.3.0/../../../../arm-buildroot-linux-uclibcgnueabihf/bin/ld: cannot find -lpthread -collect2: error: ld returned 1 exit status -CMakeFiles/open62541.dir/build.make:192: recipe for target 'bin/libopen62541.so.0.0.0' failed -make[3]: *** [bin/libopen62541.so.0.0.0] Error 1 - -Fixes: - - http://autobuild.buildroot.org/results/87ec3c987c991f790757276316d6caf81e635fa2 - -Signed-off-by: Fabrice Fontaine ---- - arch/posix/CMakeLists.txt | 2 -- - 1 file changed, 2 deletions(-) - -diff --git a/arch/posix/CMakeLists.txt b/arch/posix/CMakeLists.txt -index bb24757c..a53c9f2c 100644 ---- a/arch/posix/CMakeLists.txt -+++ b/arch/posix/CMakeLists.txt -@@ -20,8 +20,6 @@ if (${_index} GREATER -1 OR "${UA_ARCHITECTURE}" STREQUAL "posix") - ua_architecture_append_to_library(netdb ndblib socket) - else() - ua_architecture_append_to_library(m) -- #TODO - Error on first make run if pthread is included conditional? -- ua_architecture_append_to_library(pthread) - if(UA_MULTITHREADING OR UA_BUILD_UNIT_TESTS) - ua_architecture_append_to_library(pthread) - endif() --- -2.29.2 - diff --git a/package/open62541/0003-fix-core-Explicit-cast-to-avoid-compiler-warning.patch b/package/open62541/0003-fix-core-Explicit-cast-to-avoid-compiler-warning.patch deleted file mode 100644 index dea325c17..000000000 --- a/package/open62541/0003-fix-core-Explicit-cast-to-avoid-compiler-warning.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 0c53fd776af9631c915c8722e1d68ce9a69fa3f6 Mon Sep 17 00:00:00 2001 -From: Andreas Walter -Date: Fri, 26 Feb 2021 11:49:25 +0100 -Subject: [PATCH] fix(core): Explicit cast to avoid compiler warning (#4203) - -[Retrieved from: -https://github.com/open62541/open62541/commit/0c53fd776af9631c915c8722e1d68ce9a69fa3f6] -Signed-off-by: Fabrice Fontaine ---- - src/ua_types_encoding_binary.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/ua_types_encoding_binary.c b/src/ua_types_encoding_binary.c -index 0fe88eb98e0..abbd23735d3 100644 ---- a/src/ua_types_encoding_binary.c -+++ b/src/ua_types_encoding_binary.c -@@ -319,7 +319,7 @@ static long double - unpack754(uint64_t i, unsigned bits, unsigned expbits) { - unsigned significandbits = bits - expbits - 1; - long double result = (long double)(i&(uint64_t)((1LL<>significandbits) & (uint64_t)((1LL< -Date: Mon, 2 Aug 2021 09:49:48 +0200 -Subject: [PATCH] CMakeLists.txt: add UA_FORCE_WERROR - -Allow the user to disable -Werror to avoid the following build failures: - -/tmp/instance-0/output-1/build/open62541-v1.2.2/arch/network_tcp.c: In function 'connection_recv': -/tmp/instance-0/output-1/build/open62541-v1.2.2/arch/network_tcp.c:96:5: error: conversion to 'unsigned int' from 'int' may change the sign of the result [-Werror=sign-conversion] - 96 | UA_fd_set(connection->sockfd, &fdset); - | ^~~~~~~~~ - -/tmp/instance-6/output-1/build/open62541-v1.2.2/plugins/ua_pubsub_udp.c: In function 'UA_PubSubChannelUDPMC_receive': -/tmp/instance-6/output-1/build/open62541-v1.2.2/plugins/ua_pubsub_udp.c:477:21: error: conversion to '__suseconds_t' {aka 'int'} from 'UA_UInt32' {aka 'unsigned int'} may change the sign of the result [-Werror=sign-conversion] - 477 | tmptv.tv_usec = (long int)(timeout % 1000000); - | ^ - -Fixes: - - http://autobuild.buildroot.org/results/911811de81d8abb2a31feb8f27af1592641c6fbc - - http://autobuild.buildroot.org/results/f0187b3f2d62e955fddeef4e90f84ba4fd642bd2 - -Signed-off-by: Fabrice Fontaine -[Upstream status: https://github.com/open62541/open62541/pull/4572] ---- - CMakeLists.txt | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index bc839f27..963460d0 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -257,6 +257,8 @@ if(UA_FORCE_CPP) - add_definitions(-D__STDC_CONSTANT_MACROS) # We need the UINT32_C define - endif() - -+option(UA_FORCE_WERROR "Force compilation with -Werror" ON) -+ - #General PubSub setup - option(UA_ENABLE_PUBSUB "Enable publish/subscribe" OFF) - mark_as_advanced(UA_ENABLE_PUBSUB) -@@ -526,7 +528,9 @@ if(NOT UA_FORCE_CPP AND (CMAKE_COMPILER_IS_GNUCC OR "x${CMAKE_C_COMPILER_ID}" ST - check_add_cc_flag("-Wall") # Warnings - check_add_cc_flag("-Wextra") # More warnings - check_add_cc_flag("-Wpedantic") # Standard compliance -- check_add_cc_flag("-Werror") # All warnings are errors -+ if(UA_FORCE_WERROR) -+ check_add_cc_flag("-Werror") # All warnings are errors -+ endif() - - check_add_cc_flag("-Wno-static-in-inline") # Clang doesn't like the use of static inline methods inside static inline methods - check_add_cc_flag("-Wno-overlength-strings") # May happen in the nodeset compiler when complex values are directly encoded --- -2.30.2 - diff --git a/package/open62541/open62541.hash b/package/open62541/open62541.hash index 3257bfe47..c7234fd81 100644 --- a/package/open62541/open62541.hash +++ b/package/open62541/open62541.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 e2e1b8e6285c4fd6d8e07f37d61a8728376d525e169fadb3d61918fa6a7c271a open62541-v1.2.4-br1.tar.gz +sha256 b8f4bf73d50d3dc0e2e7343f03df7cd07ad169ff66056d5c392215662b1f8fc8 open62541-v1.3.1-br1.tar.gz sha256 fab3dd6bdab226f1c08630b1dd917e11fcb4ec5e1e020e2c16f83a0a13863e85 LICENSE diff --git a/package/open62541/open62541.mk b/package/open62541/open62541.mk index 87bd3449b..1958befae 100644 --- a/package/open62541/open62541.mk +++ b/package/open62541/open62541.mk @@ -4,7 +4,7 @@ # ################################################################################ -OPEN62541_VERSION = v1.2.4 +OPEN62541_VERSION = v1.3.1 OPEN62541_SITE_METHOD = git OPEN62541_SITE = https://github.com/open62541/open62541.git OPEN62541_GIT_SUBMODULES = YES From patchwork Wed Jun 15 16:17:50 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Francois Perrad X-Patchwork-Id: 1643892 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=ENd2CDWG; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=140.211.166.137; helo=smtp4.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=) Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4LNVpq18Mhz9sGF for ; Thu, 16 Jun 2022 02:18:26 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 39BC8403A7; Wed, 15 Jun 2022 16:18:24 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id I02YCN_aA1qY; Wed, 15 Jun 2022 16:18:23 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp4.osuosl.org (Postfix) with ESMTP id 0DAE84033A; Wed, 15 Jun 2022 16:18:21 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 162051BF4DB for ; Wed, 15 Jun 2022 16:18:08 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 13DC782E19 for ; Wed, 15 Jun 2022 16:18:08 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp1.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id U6cpm5Lz8MJF for ; Wed, 15 Jun 2022 16:18:07 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by smtp1.osuosl.org (Postfix) with ESMTPS id 58A2082DE6 for ; Wed, 15 Jun 2022 16:18:07 +0000 (UTC) Received: by mail-wm1-x330.google.com with SMTP id x6-20020a1c7c06000000b003972dfca96cso1402016wmc.4 for ; Wed, 15 Jun 2022 09:18:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=00ltzjgAiLoNg+qlu/LU/xaV9CeehH5Cwp63+O1WPzA=; b=ENd2CDWGPUvLcP9W4jOXELh/SZjI1TTtz4o6nq/PLMF+k4eBdZuBuZr23HfgRsf+xk kLsmjRop7+IQwAqIdqvok192MKuzOEL8K6TED1SyBd9Uu79p8V4Gtoc/YL9PlrMR1Rt1 XVbone4uw38wsU9t3s7ZNCwDMH0sT8UNcnMn0JYJng1UG19Z35d3EJYBXcAvRLTudU4q tluGs2PrJTe5wXDwI0MTZTmyV3sVIefDZJ00PkYkwObNuTa7BtITw5V+B2aGIwFN1sQ3 QlwTXncoYC7dIfIE1gh6DPNREcJ5oV4jg9ggJK9hzzUnjoGW5+7EG/gGUsOdANTjF2tM EtUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=00ltzjgAiLoNg+qlu/LU/xaV9CeehH5Cwp63+O1WPzA=; b=FHQd2lbe0jdCGKw7LH1AoIBbovEyzeI/8RTTI8KCByRl8wYd4ZSrDnR1ks68Ed4oWK VFbPq9GUoyv6rZooZOfCSpyYDZpyv/6hFMIseOYydsZkx00TzFsvGCOxANXnV2Dhv4+0 7529y+j2767p9+NRsG4gHQza3tiqhHjXXbhTNiuuYlLuRDz6UL2XJA/5cKX2VPgVTXuQ vBxzkeNeHwOi9R6Ag9oqaCmEV+8GlESyEN34hxUUks1K9PDWj4fxMhlrTkOY+Q9GEZnp Yvooz/u8VLuo946yW+2BDJCPOfTQBlln2NC95BCJ+EdCq2MR7rBqSIgjmKL6eae66isl iM+Q== X-Gm-Message-State: AJIora+aD5N2C+QwJuXTLznKscy7UrDXVh5nSpsQ0OPi58IJZ/vuDV+B f2gwaEW74hA18eAwuqaWDTa3i6nFJCAxlQ== X-Google-Smtp-Source: AGRyM1thCCBYje4UNnUS9jNEHS68cE8CHKxIUm906bql1yKbrCo0OICtxz5f8KXhbTwXjp3qc/7FzA== X-Received: by 2002:a7b:c1cf:0:b0:39c:4460:cfa8 with SMTP id a15-20020a7bc1cf000000b0039c4460cfa8mr207982wmj.21.1655309885542; Wed, 15 Jun 2022 09:18:05 -0700 (PDT) Received: from vm22.. (12.197.24.93.rev.sfr.net. [93.24.197.12]) by smtp.gmail.com with ESMTPSA id g13-20020adffc8d000000b002102f2fac37sm17723325wrr.51.2022.06.15.09.18.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jun 2022 09:18:05 -0700 (PDT) From: Francois Perrad X-Google-Original-From: Francois Perrad To: buildroot@busybox.net Date: Wed, 15 Jun 2022 18:17:50 +0200 Message-Id: <20220615161753.2580142-2-francois.perrad@gadz.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220615161753.2580142-1-francois.perrad@gadz.org> References: <20220615161753.2580142-1-francois.perrad@gadz.org> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 2/5] package/open62541: more options X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" Signed-off-by: Francois Perrad --- package/open62541/Config.in | 12 ++++++++++++ package/open62541/open62541.mk | 12 ++++++++++++ 2 files changed, 24 insertions(+) diff --git a/package/open62541/Config.in b/package/open62541/Config.in index 220fb3dfa..6045a5954 100644 --- a/package/open62541/Config.in +++ b/package/open62541/Config.in @@ -39,8 +39,20 @@ config BR2_PACKAGE_OPEN62541_UA_NAMESPACE_ZERO_FULL endchoice +config BR2_PACKAGE_OPEN62541_HISTORIZING + bool "historizing" + help + Enable basic support for historical access (client and server) + +config BR2_PACKAGE_OPEN62541_DISCOVERY + bool "discovery" + help + Enable Discovery Service (LDS) + config BR2_PACKAGE_OPEN62541_JSON_ENCODING bool "json encoding" + help + Enable JSON encoding config BR2_PACKAGE_OPEN62541_PUBSUB bool "publish/subscribe" diff --git a/package/open62541/open62541.mk b/package/open62541/open62541.mk index 1958befae..00e7236c0 100644 --- a/package/open62541/open62541.mk +++ b/package/open62541/open62541.mk @@ -31,6 +31,18 @@ else ifeq ($(BR2_PACKAGE_OPEN62541_UA_NAMESPACE_ZERO_FULL),y) OPEN62541_CONF_OPTS += -DUA_NAMESPACE_ZERO=FULL endif +ifeq ($(BR2_PACKAGE_OPEN62541_HISTORIZING),y) +OPEN62541_CONF_OPTS += -DUA_ENABLE_HISTORIZING=ON +else +OPEN62541_CONF_OPTS += -DUA_ENABLE_HISTORIZING=OFF +endif + +ifeq ($(BR2_PACKAGE_OPEN62541_DISCOVERY),y) +OPEN62541_CONF_OPTS += -DUA_ENABLE_DISCOVERY=ON +else +OPEN62541_CONF_OPTS += -DUA_ENABLE_DISCOVERY=OFF +endif + ifeq ($(BR2_PACKAGE_OPEN62541_JSON_ENCODING),y) OPEN62541_CONF_OPTS += -DUA_ENABLE_JSON_ENCODING=ON else From patchwork Wed Jun 15 16:17:51 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Francois Perrad X-Patchwork-Id: 1643893 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=gS2Xtfgw; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=2605:bc80:3010::133; helo=smtp2.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=) Received: from smtp2.osuosl.org (smtp2.osuosl.org [IPv6:2605:bc80:3010::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4LNVq3588qz9sGF for ; Thu, 16 Jun 2022 02:18:39 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 3364B40ABC; Wed, 15 Jun 2022 16:18:37 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RGQCHqydmSGy; Wed, 15 Jun 2022 16:18:36 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp2.osuosl.org (Postfix) with ESMTP id 61A4640AF4; Wed, 15 Jun 2022 16:18:35 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 4CE3D1BF4DB for ; Wed, 15 Jun 2022 16:18:09 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 4A64982DD9 for ; Wed, 15 Jun 2022 16:18:09 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp1.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RLiiOn0DN6Bt for ; Wed, 15 Jun 2022 16:18:08 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) by smtp1.osuosl.org (Postfix) with ESMTPS id 8B93982E19 for ; Wed, 15 Jun 2022 16:18:08 +0000 (UTC) Received: by mail-wm1-x335.google.com with SMTP id z9so6585124wmf.3 for ; Wed, 15 Jun 2022 09:18:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=n3qkDfzvEHdmN2ohM40VrWARxKa8sBwq+U7m17Ela18=; b=gS2XtfgwHWpwyyQ5dFeAotQH9Cj72LajFYvFxHPs6sMG4xCYKxpIYdCe6fWPKOd+zS IpKe2azn5p93+mR9q8rqO9oxwaRt6K2khrX/0G4TKv28nLFf/7VzN1Gd0m7rFBDFvQFY S9Qur8T0SCA+mf0d4QedN+oShM5YV8226g2rosgPnWUv5KHZfxbhKTQGMgesFzzp1x9h HpydWP5/3O5bvuCDOsYh3dYuPPE5t2R5AqwW+PoG1uWuTk+Lzrnw1cPEjNb2f4dFDuo+ NuQIUsGYoDk2YNcmwNI7i9qBy1eiq4d6iwqjPNbjGUnA7hLAbgUL4Cv8Rhg2rjoxiJ9O 2YfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=n3qkDfzvEHdmN2ohM40VrWARxKa8sBwq+U7m17Ela18=; b=U0F6tCQ7DrzduLQXAjqhHSlR01JVdCfMBNAe7CPE9lzhBeziJn107VBAhuwV970hKm ruQRRP5Rwq4uXZcgXK1K8wVAOgXZrSwtL5SD9IJ5gnVOeXNEM0kKjuhKivzQP2682jRD S9WzQlJIJJmqjGD/4Io+YuRaFmTnTO4MBzRbHYs7YBK2XvhEfLOSMbCau+Xh0j9gcj1J wAfyR8aFGOypKviUP8xn8CDw1F9ykf1NsP75cG7O3BdS93fSYe/811grK+gDi86+GjAY lt2hAGdbhEOKoO22ZxBtwH7mv8JaKRzu/hXZwLhHDQxwsqCfNlrpSVqm/M39TheeIXrT /lLQ== X-Gm-Message-State: AOAM530rUQkcoFjJfexOTDd/meG8K+kNhPxwdSolynDEURP9OGLFWpo5 ep4xgXavcxNzEH7KStS+KhfuUdWgCvK74Q== X-Google-Smtp-Source: ABdhPJztGY5vd30ev/l4hwVqexOKdt0Ja7dXKanatS4L8Pv1R75RygfMIMN4gaY72AjhxS1k5I/UeA== X-Received: by 2002:a05:600c:3d07:b0:39c:80a8:db07 with SMTP id bh7-20020a05600c3d0700b0039c80a8db07mr10688775wmb.168.1655309886797; Wed, 15 Jun 2022 09:18:06 -0700 (PDT) Received: from vm22.. (12.197.24.93.rev.sfr.net. [93.24.197.12]) by smtp.gmail.com with ESMTPSA id g13-20020adffc8d000000b002102f2fac37sm17723325wrr.51.2022.06.15.09.18.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jun 2022 09:18:06 -0700 (PDT) From: Francois Perrad X-Google-Original-From: Francois Perrad To: buildroot@busybox.net Date: Wed, 15 Jun 2022 18:17:51 +0200 Message-Id: <20220615161753.2580142-3-francois.perrad@gadz.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220615161753.2580142-1-francois.perrad@gadz.org> References: <20220615161753.2580142-1-francois.perrad@gadz.org> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 3/5] package/open62541: more PubSub options X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" Signed-off-by: Francois Perrad --- package/open62541/Config.in | 14 ++++++++++++++ package/open62541/open62541.mk | 12 ++++++++++++ 2 files changed, 26 insertions(+) diff --git a/package/open62541/Config.in b/package/open62541/Config.in index 6045a5954..3f5eb78d5 100644 --- a/package/open62541/Config.in +++ b/package/open62541/Config.in @@ -78,6 +78,20 @@ config BR2_PACKAGE_OPEN62541_PUBSUB_INFORMATIONMODEL Enable the information model representation of the PubSub configuration. +if BR2_PACKAGE_OPEN62541_PUBSUB_INFORMATIONMODEL + +config BR2_PACKAGE_OPEN62541_PUBSUB_INFORMATIONMODEL_METHODS + bool "publish/subscribe information model methods" + help + Enable PubSub informationmodel methods + +endif + +config BR2_PACKAGE_OPEN62541_PUBSUB_ETH_UADP + bool "publish/subscribe UADP" + help + Enable publish/subscribe UADP over Ethernet + endif # BR2_PACKAGE_OPEN62541_PUBSUB endif diff --git a/package/open62541/open62541.mk b/package/open62541/open62541.mk index 00e7236c0..9757aa18c 100644 --- a/package/open62541/open62541.mk +++ b/package/open62541/open62541.mk @@ -67,6 +67,18 @@ else OPEN62541_CONF_OPTS += -DUA_ENABLE_PUBSUB_INFORMATIONMODEL=OFF endif +ifeq ($(BR2_PACKAGE_OPEN62541_PUBSUB_INFORMATIONMODEL_METHODS),y) +OPEN62541_CONF_OPTS += -DUA_ENABLE_PUBSUB_INFORMATIONMODEL_METHODS=ON +else +OPEN62541_CONF_OPTS += -DUA_ENABLE_PUBSUB_INFORMATIONMODEL_METHODS=OFF +endif + +ifeq ($(BR2_PACKAGE_OPEN62541_PUBSUB_ETH_UADP),y) +OPEN62541_CONF_OPTS += -DUA_ENABLE_PUBSUB_ETH_UADP=ON +else +OPEN62541_CONF_OPTS += -DUA_ENABLE_PUBSUB_ETH_UADP=OFF +endif + # Remove unneeded files define OPEN62541_REMOVE_UNNEEDED_FILES $(RM) -r $(TARGET_DIR)/usr/share/open62541 From patchwork Wed Jun 15 16:17:52 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Francois Perrad X-Patchwork-Id: 1643894 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=R0Qe29F7; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=140.211.166.137; helo=smtp4.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=) Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4LNVqH4zlKz9sGF for ; Thu, 16 Jun 2022 02:18:51 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id E2BF941954; Wed, 15 Jun 2022 16:18:49 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OZqBNCYO4D4p; Wed, 15 Jun 2022 16:18:48 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp4.osuosl.org (Postfix) with ESMTP id BD951403A8; Wed, 15 Jun 2022 16:18:47 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 3FAC41BF4DB for ; Wed, 15 Jun 2022 16:18:10 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 2F2A182E19 for ; Wed, 15 Jun 2022 16:18:10 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp1.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5BM9qAHXLCuw for ; Wed, 15 Jun 2022 16:18:09 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) by smtp1.osuosl.org (Postfix) with ESMTPS id 77B2482DD9 for ; Wed, 15 Jun 2022 16:18:09 +0000 (UTC) Received: by mail-wm1-x32f.google.com with SMTP id c130-20020a1c3588000000b0039c6fd897b4so1427897wma.4 for ; Wed, 15 Jun 2022 09:18:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=QdYyeQSJx1kxd6FMPVRV4jptqKoVsO4Z0Bi5hNkGN/w=; b=R0Qe29F7rgft/0NraF4I+nDgINWheIfbpLxeA6noUEx7vpATY8LPC0hcR5/jOybhhq otqPaaL53cw9X8cF1k5nLa3EI/gf627Wp2+Hwv6MlsRhtD/FOBKHfdLdeTkjYA42TyB5 PgoxAqctdi25cCPmjDZvOfUdvRfc9utQGEEL8El+vMAsMiCZtm9QMnViBIFsVkiAsMnU VnxM/ZKjCorEQsWZbtz12Pf1S55rmO5ydt6Gufkpgi3mkW0ReQd6/hao0JsxxHHrvc3H EdrHGxSzxkAVTFnHMmvz/tyji7xu9otih99/atDzcrvsFWGopzmyTTX64h6oVx4SXDY/ myLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=QdYyeQSJx1kxd6FMPVRV4jptqKoVsO4Z0Bi5hNkGN/w=; b=zd9wWW/sDDG/9Qzx11YJic9GV9ZzDOpBKc7r+TF8MgIUcbqw7FBLaRlh2OnLgDrTLH XWLXh5XTcYNz9meXUVujz0/i2pLkgk6/vDBFgbU8aOmIoJhLs5xNvEGnAikWDeZnFVXF VKDqItzjE3luo09F2UPR8acXjq+FdNIshqy/Pys3q7DtViBD6Sx0QGrQOVAZ9zc3eRG/ 1+ziH15cPw33Xt6bF3xDeCin2xLYVg25dG5d5M4mlWTChmJnYp1KBv2HXYmigfrq8pza vho/ZgkpLFKBPzIoNwPj4JxPFwyw1JTwxCjAub/QsEj5QeIxPbkHu8CHVdxi+TWUTjWx 9HTw== X-Gm-Message-State: AJIora/pa23tVt8S5sgiM6uvUnoVBKopHRXBcXmlQ2W/CJUXnxpoPHMo RGsHckBxSLSS5Uc+awlvqgMuN9YcvAeXcA== X-Google-Smtp-Source: AGRyM1smM4U6pIzxvp974O2jakituv4nhmgSinuOb3BG7DendJtgy4bTmE3BZtL7Jxk8VChb7fgjFA== X-Received: by 2002:a7b:c154:0:b0:39c:4f4a:79c0 with SMTP id z20-20020a7bc154000000b0039c4f4a79c0mr224943wmi.152.1655309887724; Wed, 15 Jun 2022 09:18:07 -0700 (PDT) Received: from vm22.. (12.197.24.93.rev.sfr.net. [93.24.197.12]) by smtp.gmail.com with ESMTPSA id g13-20020adffc8d000000b002102f2fac37sm17723325wrr.51.2022.06.15.09.18.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jun 2022 09:18:07 -0700 (PDT) From: Francois Perrad X-Google-Original-From: Francois Perrad To: buildroot@busybox.net Date: Wed, 15 Jun 2022 18:17:52 +0200 Message-Id: <20220615161753.2580142-4-francois.perrad@gadz.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220615161753.2580142-1-francois.perrad@gadz.org> References: <20220615161753.2580142-1-francois.perrad@gadz.org> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 4/5] package/open62541: add encryption support X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" Signed-off-by: Francois Perrad --- package/open62541/Config.in | 19 +++++++++++++++++++ package/open62541/open62541.mk | 10 ++++++++++ 2 files changed, 29 insertions(+) diff --git a/package/open62541/Config.in b/package/open62541/Config.in index 3f5eb78d5..ceca2ca1f 100644 --- a/package/open62541/Config.in +++ b/package/open62541/Config.in @@ -7,6 +7,25 @@ config BR2_PACKAGE_OPEN62541 if BR2_PACKAGE_OPEN62541 +choice + prompt "encryption" + default BR2_PACKAGE_OPEN62541_ENCRYPTION_NONE + help + Encryption support + +config BR2_PACKAGE_OPEN62541_ENCRYPTION_NONE + bool "none" + +config BR2_PACKAGE_OPEN62541_ENCRYPTION_MBEDTLS + bool "mbedtls" + select BR2_PACKAGE_MBEDTLS + +config BR2_PACKAGE_OPEN62541_ENCRYPTION_OPENSSL + bool "openssl" + select BR2_PACKAGE_LIBOPENSSL + +endchoice + choice prompt "namespace zero nodes" help diff --git a/package/open62541/open62541.mk b/package/open62541/open62541.mk index 9757aa18c..0935581b0 100644 --- a/package/open62541/open62541.mk +++ b/package/open62541/open62541.mk @@ -23,6 +23,16 @@ OPEN62541_CONF_OPTS = \ -DUA_ENABLE_HARDENING=OFF \ -DUA_FORCE_WERROR=OFF +ifeq ($(BR2_PACKAGE_OPEN62541_ENCRYPTION_MBEDTLS),y) +OPEN62541_DEPENDENCIES += mbedtls +OPEN62541_CONF_OPTS += -DUA_ENABLE_ENCRYPTION=MBEDTLS +endif + +ifeq ($(BR2_PACKAGE_OPEN62541_ENCRYPTION_OPENSSL),y) +OPEN62541_DEPENDENCIES += libopenssl +OPEN62541_CONF_OPTS += -DUA_ENABLE_ENCRYPTION=OPENSSL +endif + ifeq ($(BR2_PACKAGE_OPEN62541_UA_NAMESPACE_ZERO_MINIMAL),y) OPEN62541_CONF_OPTS += -DUA_NAMESPACE_ZERO=MINIMAL else ifeq ($(BR2_PACKAGE_OPEN62541_UA_NAMESPACE_ZERO_REDUCED),y) From patchwork Wed Jun 15 16:17:53 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Francois Perrad X-Patchwork-Id: 1643896 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=oUC6scyD; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=140.211.166.137; helo=smtp4.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=) Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4LNVqY5Pxrz9sGF for ; Thu, 16 Jun 2022 02:19:05 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id ADCF441981; Wed, 15 Jun 2022 16:19:03 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FInFMNtuw8uD; Wed, 15 Jun 2022 16:19:02 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp4.osuosl.org (Postfix) with ESMTP id 5AEF14034A; Wed, 15 Jun 2022 16:19:01 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 00E521BF4DB for ; Wed, 15 Jun 2022 16:18:12 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id E4A3282DE6 for ; Wed, 15 Jun 2022 16:18:11 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp1.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id stGdRXSRtksY for ; Wed, 15 Jun 2022 16:18:11 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) by smtp1.osuosl.org (Postfix) with ESMTPS id 4623A82DD9 for ; Wed, 15 Jun 2022 16:18:11 +0000 (UTC) Received: by mail-wr1-x429.google.com with SMTP id k19so16040027wrd.8 for ; Wed, 15 Jun 2022 09:18:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=6xZP0aTrk8glhmjBBtQA9YdnRMdFSWin5wzjcWYJhIA=; b=oUC6scyDRzGgDhtL5HRr+FNWkll7TjZm+tB1cMarkNcLJ8tdYfgq0lLzFU0O4InvED Dorch9SGY6TwMuAMcR872uGJv+9X5qNXVY8RHyzM6rBpJhisE4nmQMTWuizpg+jbfO1s Bklg4K+1xEq45K6KDF5Q62KHd/+JJ7T+B/W0c/xhgv82rT0bwVTdShA8HTewFBRJKw3+ /syzyEt/rZ1hi3JtMLm7sv3+HVZdU5S62GxYQI1+GR1LHx7Gqi5mrFNMhyEYBBSydsOR PBQRsxcXP9yl4cOq8Awbekve0nbsP38jBapl8//JS7qMPZeNTpSWODm07CDsIDJiKAHQ hRnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=6xZP0aTrk8glhmjBBtQA9YdnRMdFSWin5wzjcWYJhIA=; b=TlG2nk7fzRazOsK+Rxcd4cwRSB0iQ8F7U4nqAueNmhBPabQN5M+RzSOdZMrflX7JL+ cPRrNVsgVmIJEkLxQ7QT4KXw8Pn4LLwvS86/m8KiqpP+3dX1iIbHGpWEWkG2zuIvL/3y 9OsUEy1+YIaBiPI6uFYHAAJUUnBPINLJQZfUVX48Jo3VSDa7VgAduvyfqetXiVvrgOUF ksyue3UD3qkwtaAU+tEpuIhCblwP+kTAPK+OsnaPvRZStI7obsRH5utaVbl2OS2CQ2wI uVqXW0bKquOSCG9b4G21jQZ4PLAj6t+FLagJIQd3F/IXXLNSVP48311/F1AB7LGkmuiP TFFg== X-Gm-Message-State: AJIora9pgNetBtX7e1x7XN6hmwplGG45W3KM/TgwhZmacGY9MxRqPP6Y AgV+L5BykSvSMMRUsu3mjQVPVpk+FZTGJQ== X-Google-Smtp-Source: AGRyM1uvk68T873C3jjgEkBLXKQ6Xn2rxA3AbSQjiLOGSEA4zBDFcAkdUhTUub4HkAECSR0Gh4TSUQ== X-Received: by 2002:adf:fb0d:0:b0:21a:2f42:4f0a with SMTP id c13-20020adffb0d000000b0021a2f424f0amr571190wrr.638.1655309889185; Wed, 15 Jun 2022 09:18:09 -0700 (PDT) Received: from vm22.. (12.197.24.93.rev.sfr.net. [93.24.197.12]) by smtp.gmail.com with ESMTPSA id g13-20020adffc8d000000b002102f2fac37sm17723325wrr.51.2022.06.15.09.18.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jun 2022 09:18:08 -0700 (PDT) From: Francois Perrad X-Google-Original-From: Francois Perrad To: buildroot@busybox.net Date: Wed, 15 Jun 2022 18:17:53 +0200 Message-Id: <20220615161753.2580142-5-francois.perrad@gadz.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220615161753.2580142-1-francois.perrad@gadz.org> References: <20220615161753.2580142-1-francois.perrad@gadz.org> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 5/5] package/open62541: refactor choice UA_NAMESPACE with a proper default X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" Signed-off-by: Francois Perrad --- package/open62541/Config.in | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/package/open62541/Config.in b/package/open62541/Config.in index ceca2ca1f..1dad985a7 100644 --- a/package/open62541/Config.in +++ b/package/open62541/Config.in @@ -28,15 +28,11 @@ endchoice choice prompt "namespace zero nodes" + default BR2_PACKAGE_OPEN62541_UA_NAMESPACE_ZERO_REDUCED help Namespace zero contains the standard-defined nodes. The full namespace zero may not be required for all applications. -config BR2_PACKAGE_OPEN62541_UA_NAMESPACE_ZERO_DEFAULT - bool "default" - help - Use the default namespace zero contents. - config BR2_PACKAGE_OPEN62541_UA_NAMESPACE_ZERO_MINIMAL bool "minimal" help @@ -91,8 +87,7 @@ config BR2_PACKAGE_OPEN62541_PUBSUB_DELTAFRAMES config BR2_PACKAGE_OPEN62541_PUBSUB_INFORMATIONMODEL bool "publish/subscribe information model" - depends on BR2_PACKAGE_OPEN62541_UA_NAMESPACE_ZERO_REDUCED || \ - BR2_PACKAGE_OPEN62541_UA_NAMESPACE_ZERO_FULL + depends on !BR2_PACKAGE_OPEN62541_UA_NAMESPACE_ZERO_MINIMAL help Enable the information model representation of the PubSub configuration.