All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/open62541: bump to version 1.5.10
@ 2026-10-30 10:26 Yegor Yefremov via buildroot
  2026-11-01 22:32 ` Thomas Petazzoni via buildroot
  0 siblings, 1 reply; 2+ messages in thread
From: Yegor Yefremov via buildroot @ 2026-10-30 10:26 UTC (permalink / raw)
  To: buildroot

Release notes:
https://github.com/open62541/open62541/releases/tag/v1.4.0
https://github.com/open62541/open62541/releases/tag/v1.5.0
https://github.com/open62541/open62541/releases/tag/v1.5.10

The UA_ENABLE_PUBSUB_DELTAFRAMES, UA_ENABLE_PUBSUB_INFORMATIONMODEL_METHODS
and UA_ENABLE_PUBSUB_ETH_UADP CMake options were removed in 1.4.0: the
information model methods are now always built with the PubSub
information model, and Ethernet support is part of the POSIX event loop
on Linux. Drop the corresponding Buildroot options and add legacy
entries for them.

Since 1.5.0, event monitoring (UA_ENABLE_SUBSCRIPTIONS_EVENTS, enabled
by default) requires JSON encoding, otherwise configuration fails with:

  CMake Error at CMakeLists.txt:955 (message):
    Event Filter Parsing require JSON to be enabled

Enable JSON encoding by default, as upstream does, so events stay
available as with 1.3.x, and disable event monitoring when JSON
encoding is turned off.

Assisted-by: Claude:claude-opus-5-5
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
---
 Config.in.legacy                 | 22 ++++++++++++++++++++++
 package/open62541/Config.in      | 29 ++++-------------------------
 package/open62541/open62541.hash |  2 +-
 package/open62541/open62541.mk   | 25 +++++--------------------
 4 files changed, 32 insertions(+), 46 deletions(-)

diff --git a/Config.in.legacy b/Config.in.legacy
index 29c9b7f9e7..185160f1b7 100644
--- a/Config.in.legacy
+++ b/Config.in.legacy
@@ -146,6 +146,28 @@ endif
 
 comment "Legacy options removed in 2026.11"
 
+config BR2_PACKAGE_OPEN62541_PUBSUB_DELTAFRAMES
+	bool "open62541 pubsub deltaframes option removed"
+	select BR2_LEGACY
+	help
+	  open62541 no longer has a separate option for PubSub
+	  deltaframes since version 1.4.0.
+
+config BR2_PACKAGE_OPEN62541_PUBSUB_INFORMATIONMODEL_METHODS
+	bool "open62541 pubsub information model methods option removed"
+	select BR2_LEGACY
+	help
+	  open62541 always enables the PubSub information model
+	  methods together with the PubSub information model since
+	  version 1.4.0.
+
+config BR2_PACKAGE_OPEN62541_PUBSUB_ETH_UADP
+	bool "open62541 pubsub ethernet option removed"
+	select BR2_LEGACY
+	help
+	  Since version 1.4.0, open62541 always builds PubSub over
+	  Ethernet support as part of its POSIX event loop.
+
 config BR2_PACKAGE_MESA3D_OPENCL
 	bool "Mesa3D OpenCL support is now provided by RustiCL"
 	select BR2_LEGACY
diff --git a/package/open62541/Config.in b/package/open62541/Config.in
index a5c07d5043..024067f6bb 100644
--- a/package/open62541/Config.in
+++ b/package/open62541/Config.in
@@ -71,25 +71,18 @@ config BR2_PACKAGE_OPEN62541_DISCOVERY
 
 config BR2_PACKAGE_OPEN62541_JSON_ENCODING
 	bool "json encoding"
+	default y
 	help
-	  Enable JSON encoding
+	  Enable JSON encoding. This is also needed for event
+	  monitoring support.
 
 config BR2_PACKAGE_OPEN62541_PUBSUB
 	bool "publish/subscribe"
 	help
-	  Enable the experimental OPC UA PubSub support. The option
-	  will include the PubSub UDP multicast plugin.
+	  Enable the OPC UA PubSub support.
 
 if BR2_PACKAGE_OPEN62541_PUBSUB
 
-config BR2_PACKAGE_OPEN62541_PUBSUB_DELTAFRAMES
-	bool "publish/subscribe deltaframes"
-	help
-	  The PubSub messages differentiate between keyframe (all
-	  published values contained) and deltaframe (only changed
-	  values contained) messages. Deltaframe messages creation
-	  consumes some additional resources.
-
 config BR2_PACKAGE_OPEN62541_PUBSUB_INFORMATIONMODEL
 	bool "publish/subscribe information model"
 	depends on BR2_PACKAGE_OPEN62541_UA_NAMESPACE_ZERO_REDUCED || \
@@ -98,20 +91,6 @@ 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.hash b/package/open62541/open62541.hash
index 3beead1a20..fcf8f26412 100644
--- a/package/open62541/open62541.hash
+++ b/package/open62541/open62541.hash
@@ -1,3 +1,3 @@
 # Locally calculated
-sha256  a8719f299505b144bd68bf557ad0b023fa28faf8862ff2d0b171381c8bd278c3  open62541-v1.3.15-git4.tar.gz
+sha256  6c218091f334fc458126635d0c7c3106b47b8f6fedd6c648defe06950654380f  open62541-v1.5.10-git4.tar.gz
 sha256  fab3dd6bdab226f1c08630b1dd917e11fcb4ec5e1e020e2c16f83a0a13863e85  LICENSE
diff --git a/package/open62541/open62541.mk b/package/open62541/open62541.mk
index 8d9c5e44bf..ac0a33bf87 100644
--- a/package/open62541/open62541.mk
+++ b/package/open62541/open62541.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-OPEN62541_VERSION_UPSTREAM = 1.3.15
+OPEN62541_VERSION_UPSTREAM = 1.5.10
 OPEN62541_VERSION = v$(OPEN62541_VERSION_UPSTREAM)
 OPEN62541_SITE_METHOD = git
 OPEN62541_SITE = https://github.com/open62541/open62541.git
@@ -58,7 +58,10 @@ endif
 ifeq ($(BR2_PACKAGE_OPEN62541_JSON_ENCODING),y)
 OPEN62541_CONF_OPTS += -DUA_ENABLE_JSON_ENCODING=ON
 else
-OPEN62541_CONF_OPTS += -DUA_ENABLE_JSON_ENCODING=OFF
+# Event filter parsing requires JSON encoding
+OPEN62541_CONF_OPTS += \
+	-DUA_ENABLE_JSON_ENCODING=OFF \
+	-DUA_ENABLE_SUBSCRIPTIONS_EVENTS=OFF
 endif
 
 ifeq ($(BR2_PACKAGE_OPEN62541_PUBSUB),y)
@@ -67,30 +70,12 @@ else
 OPEN62541_CONF_OPTS += -DUA_ENABLE_PUBSUB=OFF
 endif
 
-ifeq ($(BR2_PACKAGE_OPEN62541_PUBSUB_DELTAFRAMES),y)
-OPEN62541_CONF_OPTS += -DUA_ENABLE_PUBSUB_DELTAFRAMES=ON
-else
-OPEN62541_CONF_OPTS += -DUA_ENABLE_PUBSUB_DELTAFRAMES=OFF
-endif
-
 ifeq ($(BR2_PACKAGE_OPEN62541_PUBSUB_INFORMATIONMODEL),y)
 OPEN62541_CONF_OPTS += -DUA_ENABLE_PUBSUB_INFORMATIONMODEL=ON
 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
-- 
2.34.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-11-01 22:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-30 10:26 [Buildroot] [PATCH] package/open62541: bump to version 1.5.10 Yegor Yefremov via buildroot
2026-11-01 22:32 ` Thomas Petazzoni via buildroot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.