Skip to contentSkip to conversation

package/open62541: bump to version 1.5.10

PATCH Applied Yegor Yefremov via buildroot 1 participant 2 messages Oct 30 – Nov 1

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/open62541: bump to version 1.5.10

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
---
 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(-)
Config.in.legacy +22 -0
index 29c9b7f9e7..185160f1b7 100644
@@ -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
package/open62541/Config.in +4 -25
index a5c07d5043..024067f6bb 100644
@@ -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
package/open62541/open62541.hash +1 -1
index 3beead1a20..fcf8f26412 100644
@@ -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
package/open62541/open62541.mk +5 -20
index 8d9c5e44bf..ac0a33bf87 100644
@@ -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
Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 11 lines · Yegor Yefremov via 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.

Actually in this case, Config.in.legacy entries are not needed, since the features in question are now always compiled in. So anyone who had those options enabled will continue to have those features in.

Applied to master with this change. Thanks!

Best regards,

Thomas

Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot