Skip to contentSkip to conversation

vsomeip: upgrade 3.5.10 -> 3.5.11

PATCH New Yi Zhao 1 participant 1 message Nov 20, 2025

lore
Share & tools
lore

Yi Zhao

author
#0 lore raw

PATCH 1/1 vsomeip: upgrade 3.5.10 -> 3.5.11

ChangeLog:
https://github.com/COVESA/vsomeip/releases/tag/3.5.11

* Refresh local patches
* Fix build with boost 1.89

---
 ...ddress-from_string-with-make_address.patch | 19 ++-----
 ...8-Replace-io_service-with-io_context.patch | 51 +++++++++++++++++++
 ...ts-CMakeLists.txt-update-cmake_minim.patch | 40 +++++++++++++++
 .../{vsomeip_3.5.10.bb => vsomeip_3.5.11.bb}  |  4 +-
 4 files changed, 99 insertions(+), 15 deletions(-)
 create mode 100644 meta-networking/recipes-protocols/vsomeip/vsomeip/0008-Replace-io_service-with-io_context.patch
 create mode 100644 meta-networking/recipes-protocols/vsomeip/vsomeip/0009-cached_event_tests-CMakeLists.txt-update-cmake_minim.patch
 rename meta-networking/recipes-protocols/vsomeip/{vsomeip_3.5.10.bb => vsomeip_3.5.11.bb} (94%)
meta-networking/recipes-protocols/vsomeip/vsomeip/0005-Replace-address-from_string-with-make_address.patch +5 -14
index c25df03d3b..2c96c4945d 100644
@@ -1,4 +1,4 @@
-From 47b976736e4f57447339081ab5a40435b3b2d5a8 Mon Sep 17 00:00:00 2001
+From 1ca5cf52db05a44e5e469bc394c0a1b32fb943f6 Mon Sep 17 00:00:00 2001
 From: Yi Zhao <[email protected]>
 Date: Tue, 4 Nov 2025 22:10:33 +0800
 Subject: [PATCH] Replace address::from_string with make_address
@@ -17,14 +17,14 @@ Upstream-Status: Submitted [https://github.com/COVESA/vsomeip/pull/973]
 
 Signed-off-by: Yi Zhao <[email protected]>
 ---
- implementation/routing/src/routing_manager_impl.cpp | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
+ implementation/routing/src/routing_manager_impl.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/implementation/routing/src/routing_manager_impl.cpp b/implementation/routing/src/routing_manager_impl.cpp
-index 3723fe5b..8a252c0b 100644
+index a3dc5242..7b9619c9 100644
 --- a/implementation/routing/src/routing_manager_impl.cpp
 +++ b/implementation/routing/src/routing_manager_impl.cpp
-@@ -1404,7 +1404,7 @@ void routing_manager_impl::on_message(const byte_t* _data, length_t _size, endpo
+@@ -1421,7 +1421,7 @@ void routing_manager_impl::on_message(const byte_t* _data, length_t _size, endpo
      if (is_forwarded) {
          trace::header its_header;
          const boost::asio::ip::address_v4 its_remote_address =
@@ -33,15 +33,6 @@ index 3723fe5b..8a252c0b 100644
          trace::protocol_e its_protocol = _receiver->is_local() ? trace::protocol_e::local
                  : _receiver->is_reliable()                     ? trace::protocol_e::tcp
                                                                 : trace::protocol_e::udp;
-@@ -1442,7 +1442,7 @@ bool routing_manager_impl::on_message(service_t _service, instance_t _instance,
-         std::shared_ptr<endpoint> _receiver = its_info->get_endpoint(_reliable);
-         if (_receiver && _receiver.get()) {
-             if(!is_acl_message_allowed(_receiver.get(), _service, _instance,
--                    boost::asio::ip::address_v4::from_string("127.0.0.1"))) {
-+                    boost::asio::ip::make_address_v4("127.0.0.1"))) {
-                 return false;
-             }
-         }
 -- 
 2.34.1
 
meta-networking/recipes-protocols/vsomeip/vsomeip/0008-Replace-io_service-with-io_context.patch new file +51 -0

51 lines not on this page · raw message

meta-networking/recipes-protocols/vsomeip/vsomeip/0009-cached_event_tests-CMakeLists.txt-update-cmake_minim.patch new file +40 -0
new file mode 100644
index 0000000000..ad68b5354a
@@ -0,0 +1,40 @@
+From 7dec71178aee905fac28712594f91969c6070b81 Mon Sep 17 00:00:00 2001
+From: Yi Zhao <[email protected]>
+Date: Thu, 20 Nov 2025 17:26:27 +0800
+Subject: [PATCH] cached_event_tests/CMakeLists.txt: update
+ cmake_minimum_required
+
+Update cmake_minimum_required to make it consistent with the others.
+
+Fix configuration error in higher versions of CMake:
+CMake Error at test/network_tests/cached_event_tests/CMakeLists.txt:6
+(cmake_minimum_required):
+  Compatibility with CMake < 3.5 has been removed from CMake.
+
+  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
+  to tell CMake that the project requires at least <min> but has been updated
+  to work with policies introduced by <max> or earlier.
+
+Upstream-Status: Submitted [https://github.com/COVESA/vsomeip/pull/977]
+
+Signed-off-by: Yi Zhao <[email protected]>
+---
+ test/network_tests/cached_event_tests/CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/test/network_tests/cached_event_tests/CMakeLists.txt b/test/network_tests/cached_event_tests/CMakeLists.txt
+index 4a68ae29..a2fbff86 100644
+--- a/test/network_tests/cached_event_tests/CMakeLists.txt
++++ b/test/network_tests/cached_event_tests/CMakeLists.txt
+@@ -3,7 +3,7 @@
+ # License, v. 2.0. If a copy of the MPL was not distributed with this
+ # file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ 
+-cmake_minimum_required(VERSION 3.4)
++cmake_minimum_required(VERSION 3.4...3.22)
+ 
+ # Configure necessary files into the build folder.
+ set(configuration_files
+-- 
+2.34.1
+
meta-networking/recipes-protocols/vsomeip/vsomeip_3.5.11.bb renamed from meta-networking/recipes-protocols/vsomeip/vsomeip_3.5.10.bb +3 -1
similarity index 94%
rename from meta-networking/recipes-protocols/vsomeip/vsomeip_3.5.10.bb
rename to meta-networking/recipes-protocols/vsomeip/vsomeip_3.5.11.bb
index 0455e23caa..e8b72743ec 100644
@@ -17,9 +17,11 @@ SRC_URI = "git://github.com/GENIVI/${BPN}.git;branch=master;protocol=https;name=
            file://0005-Replace-address-from_string-with-make_address.patch \
            file://0006-Fix-scanning-64-bit-integer-types.patch \
            file://0007-Do-not-treat-warnings-as-errors-with-clang.patch \
+           file://0008-Replace-io_service-with-io_context.patch \
+           file://0009-cached_event_tests-CMakeLists.txt-update-cmake_minim.patch \
           "
 
-SRCREV = "c4e0db329da9b63f511f3c2456c040582daf9305"
+SRCREV = "f58ba578c8c04e02dcf08d3ebcb9a71ca1e203ea"
 SRC_URI[gtest.sha256sum] = "65fab701d9829d38cb77c14acdc431d2108bfdbf8979e40eb8ae567edf10b27c"
 
 COMPATIBLE_HOST:mips = "null"
Signature · 1 line
2.34.1