From 46385806b4f8f3e0259df3b65b1ad12decaaed53 Mon Sep 17 00:00:00 2001 From: Ewerton Scaboro da Silva Date: Thu, 7 Mar 2024 22:38:40 -0800 Subject: [PATCH] [azure-iot-sdk-c] LTS_03_2024 (#37201) [azure-iot-sdk-c] LTS_03_2024 --- ports/azure-c-shared-utility/disable-error.patch | 12 ++++++------ .../improve-dependencies.patch | 2 +- ports/azure-c-shared-utility/portfile.cmake | 4 ++-- ports/azure-c-shared-utility/vcpkg.json | 2 +- ports/azure-iot-sdk-c/portfile.cmake | 4 ++-- ports/azure-iot-sdk-c/vcpkg.json | 2 +- ports/azure-uamqp-c/portfile.cmake | 4 ++-- ports/azure-uamqp-c/vcpkg.json | 2 +- ports/azure-uhttp-c/portfile.cmake | 4 ++-- ports/azure-uhttp-c/vcpkg.json | 2 +- ports/azure-umqtt-c/portfile.cmake | 4 ++-- ports/azure-umqtt-c/vcpkg.json | 2 +- versions/a-/azure-c-shared-utility.json | 5 +++++ versions/a-/azure-iot-sdk-c.json | 5 +++++ versions/a-/azure-uamqp-c.json | 5 +++++ versions/a-/azure-uhttp-c.json | 5 +++++ versions/a-/azure-umqtt-c.json | 5 +++++ versions/baseline.json | 10 +++++----- 18 files changed, 52 insertions(+), 27 deletions(-) diff --git a/ports/azure-c-shared-utility/disable-error.patch b/ports/azure-c-shared-utility/disable-error.patch index b2fd2f8d2d..33592d7a23 100644 --- a/ports/azure-c-shared-utility/disable-error.patch +++ b/ports/azure-c-shared-utility/disable-error.patch @@ -1,5 +1,5 @@ diff --git a/configs/azure_iot_build_rules.cmake b/configs/azure_iot_build_rules.cmake -index be3e14fe..aa402902 100644 +index 655b7f01..2f7e4ae4 100644 --- a/configs/azure_iot_build_rules.cmake +++ b/configs/azure_iot_build_rules.cmake @@ -71,8 +71,6 @@ if(MSVC) @@ -9,9 +9,9 @@ index be3e14fe..aa402902 100644 - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror") - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Werror") if(NOT (IN_OPENWRT OR APPLE)) - set (CMAKE_C_FLAGS "-D_POSIX_C_SOURCE=200112L ${CMAKE_C_FLAGS}") - endif() -@@ -191,12 +189,6 @@ endfunction() + # _XOPEN_SOURCE=500 is required for glibc to expose random and srandom. + set (CMAKE_C_FLAGS "-D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=500 ${CMAKE_C_FLAGS}") +@@ -208,12 +206,6 @@ endmacro(generate_cppunittest_wrapper) IF((WIN32) AND (NOT(MINGW))) #windows needs this define add_definitions(-D_CRT_SECURE_NO_WARNINGS) @@ -22,5 +22,5 @@ index be3e14fe..aa402902 100644 - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror") - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Werror") ENDIF() - - + + diff --git a/ports/azure-c-shared-utility/improve-dependencies.patch b/ports/azure-c-shared-utility/improve-dependencies.patch index 2f2702bfc2..987cc67b5a 100644 --- a/ports/azure-c-shared-utility/improve-dependencies.patch +++ b/ports/azure-c-shared-utility/improve-dependencies.patch @@ -1,5 +1,5 @@ diff --git a/CMakeLists.txt b/CMakeLists.txt -index 6eb607f0..5b0f60f6 100755 +index 6eb607f0..5b0f60f6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -553,8 +553,7 @@ if(${use_http}) diff --git a/ports/azure-c-shared-utility/portfile.cmake b/ports/azure-c-shared-utility/portfile.cmake index 0ed1e02efe..1cbc58a00f 100644 --- a/ports/azure-c-shared-utility/portfile.cmake +++ b/ports/azure-c-shared-utility/portfile.cmake @@ -3,8 +3,8 @@ vcpkg_check_linkage(ONLY_STATIC_LIBRARY) vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO Azure/azure-c-shared-utility - REF 8ee0e5d88d1771d33e36d38d392ec9d9ae13ea55 - SHA512 d57730c294340093b80108c55280ab089fa851a68c6f9df53b55823920fce25f5f1daa7ff3eeb2f8ea76bc10603aa7096931caa608c49f86e515b96477fbc81d + REF ceeafc67441b5b6a6d3ea32cf4bf3bcb3fa760af + SHA512 4f6a7c803fa052f719f656bf437a904d335ed02b46ad96d35ae12521a1eb5cb08c6a18de08ba1f0cfa89ea05b23347d6e0028a7642706b8ceb55f110093b3d04 HEAD_REF master PATCHES fix-install-location.patch diff --git a/ports/azure-c-shared-utility/vcpkg.json b/ports/azure-c-shared-utility/vcpkg.json index bd4574ea15..37df568a18 100644 --- a/ports/azure-c-shared-utility/vcpkg.json +++ b/ports/azure-c-shared-utility/vcpkg.json @@ -1,6 +1,6 @@ { "name": "azure-c-shared-utility", - "version-date": "2023-08-07", + "version-date": "2024-03-04", "description": "Azure C SDKs common code", "homepage": "https://github.com/Azure/azure-c-shared-utility", "license": "MIT", diff --git a/ports/azure-iot-sdk-c/portfile.cmake b/ports/azure-iot-sdk-c/portfile.cmake index 3e837562bf..ccbd647056 100644 --- a/ports/azure-iot-sdk-c/portfile.cmake +++ b/ports/azure-iot-sdk-c/portfile.cmake @@ -3,8 +3,8 @@ vcpkg_check_linkage(ONLY_STATIC_LIBRARY) vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO Azure/azure-iot-sdk-c - REF 97fef570416467598100b782ef27ceadad9ca796 - SHA512 faec54b97164c778ef3cd6accfbd5181381f6ab488c06900a096be5338563581552b8d8314d6ce91cb4db82c936490d3b435cdf9a3e50383e1d7bb643859a40c + REF 09d4e9ca46d1facea7d6d0c7ac13e56edd0a715f + SHA512 3b7e09320b6166ee1de8eae43c89e1fe0aa6733a1933f402d87b9e4edc3285eedbcf231cde1183e6ba3e4f0e392559eb803fa50da14a61a50e226875f3d283a0 HEAD_REF master PATCHES fix-install-location.patch diff --git a/ports/azure-iot-sdk-c/vcpkg.json b/ports/azure-iot-sdk-c/vcpkg.json index a50e9a6352..c947e0c79f 100644 --- a/ports/azure-iot-sdk-c/vcpkg.json +++ b/ports/azure-iot-sdk-c/vcpkg.json @@ -1,6 +1,6 @@ { "name": "azure-iot-sdk-c", - "version-date": "2023-08-07", + "version-date": "2024-03-04", "description": "A C99 SDK for connecting devices to Microsoft Azure IoT services", "homepage": "https://github.com/Azure/azure-iot-sdk-c", "license": "MIT", diff --git a/ports/azure-uamqp-c/portfile.cmake b/ports/azure-uamqp-c/portfile.cmake index a05e0abb67..dbb205af0b 100644 --- a/ports/azure-uamqp-c/portfile.cmake +++ b/ports/azure-uamqp-c/portfile.cmake @@ -3,8 +3,8 @@ vcpkg_check_linkage(ONLY_STATIC_LIBRARY) vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO Azure/azure-uamqp-c - REF efd1b1b8b1e85d471ebd3aa1be062fb1cc6a10a1 - SHA512 1303183cf1830be0cd52ccb67eebe2055343979d788f8c7eddde30343cc2c334035a1f4767bf404b1432277f7a4846317e14fb0da3a05114e8befb91562fa8f3 + REF 4971d3795f48290893f9155deef5a5ae9563bd57 + SHA512 efb79c03b0ae63d065f36ff9dc763fc21b6e1b1bd2a474899576657ce1a75829e95e1ae3ab9a7dd64f84c4c8d9eab3c3b84bbda16aa184745503c43a62271b60 HEAD_REF master ) diff --git a/ports/azure-uamqp-c/vcpkg.json b/ports/azure-uamqp-c/vcpkg.json index f9b9e4ecc6..9d13bbe7b7 100644 --- a/ports/azure-uamqp-c/vcpkg.json +++ b/ports/azure-uamqp-c/vcpkg.json @@ -1,6 +1,6 @@ { "name": "azure-uamqp-c", - "version-date": "2023-08-07", + "version-date": "2024-03-04", "description": "AMQP library for C", "homepage": "https://github.com/Azure/azure-uamqp-c", "license": "MIT", diff --git a/ports/azure-uhttp-c/portfile.cmake b/ports/azure-uhttp-c/portfile.cmake index d20732cc62..7e84f654bf 100644 --- a/ports/azure-uhttp-c/portfile.cmake +++ b/ports/azure-uhttp-c/portfile.cmake @@ -3,8 +3,8 @@ vcpkg_check_linkage(ONLY_STATIC_LIBRARY) vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO Azure/azure-uhttp-c - REF ff321c8158b53b18557b0224dfd32a4bf0ebb77a - SHA512 47c03d550561580155c56e4a35734c453d6df64feac7aa39ec777cfa420aa142e596e32c19c9847654f5f02c75335314ad20d1b64c4a60a8189641c305938b19 + REF 9efe77ed921a7cedb7d7ca6c6a9cd2107ee9404a + SHA512 d940dac7751902b261a46c9289fed5570d5001bdda3849636ae7abaa29ecd464f58ee6953bd5d0f430bfefc9b7a3ec45a16a219f7ab91523ba75bcd8c49c0995 HEAD_REF master ) diff --git a/ports/azure-uhttp-c/vcpkg.json b/ports/azure-uhttp-c/vcpkg.json index faac6faa92..668402049f 100644 --- a/ports/azure-uhttp-c/vcpkg.json +++ b/ports/azure-uhttp-c/vcpkg.json @@ -1,6 +1,6 @@ { "name": "azure-uhttp-c", - "version-date": "2023-08-07", + "version-date": "2024-03-04", "description": "Azure HTTP Library written in C", "homepage": "https://github.com/Azure/azure-uhttp-c", "license": "MIT", diff --git a/ports/azure-umqtt-c/portfile.cmake b/ports/azure-umqtt-c/portfile.cmake index 4f55379ac5..ea024dbe0f 100644 --- a/ports/azure-umqtt-c/portfile.cmake +++ b/ports/azure-umqtt-c/portfile.cmake @@ -3,8 +3,8 @@ vcpkg_check_linkage(ONLY_STATIC_LIBRARY) vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO Azure/azure-umqtt-c - REF 457e5af5e08ce72cee4c3c32d13ef274ab23c0d3 - SHA512 f95c3f8a207d34cdb5fe686f86421e4c8a584f3d506c82055e320133f8a346e67ffcdaa872d70d3ac7be67ae9f24d14dac852a95e0c1f98b7d2012805083f587 + REF b4e16beaaa2a025d18a95a665e2784dd9284c066 + SHA512 12e3c75aa374edcc654bb37397a69af45e64fc1f923cd905d7518bf469228e020cd1c50f9d963ccbf566aadee7bfb83b60503176b4d408fc9332e526c3e424ba HEAD_REF master ) diff --git a/ports/azure-umqtt-c/vcpkg.json b/ports/azure-umqtt-c/vcpkg.json index 446d03f7a9..1105fcd6cd 100644 --- a/ports/azure-umqtt-c/vcpkg.json +++ b/ports/azure-umqtt-c/vcpkg.json @@ -1,6 +1,6 @@ { "name": "azure-umqtt-c", - "version-date": "2023-08-03", + "version-date": "2024-03-04", "description": "General purpose library for communication over the mqtt protocol", "homepage": "https://github.com/Azure/azure-umqtt-c", "license": "MIT", diff --git a/versions/a-/azure-c-shared-utility.json b/versions/a-/azure-c-shared-utility.json index 25b74c196c..5f1e7f5fe6 100644 --- a/versions/a-/azure-c-shared-utility.json +++ b/versions/a-/azure-c-shared-utility.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "74412552223e3f64edea53ad4ad5d6dc55c0b443", + "version-date": "2024-03-04", + "port-version": 0 + }, { "git-tree": "c5938bd8175ca21aa30c5e9b2989b776ec50a481", "version-date": "2023-08-07", diff --git a/versions/a-/azure-iot-sdk-c.json b/versions/a-/azure-iot-sdk-c.json index fa4be628d8..6dd55ad0fc 100644 --- a/versions/a-/azure-iot-sdk-c.json +++ b/versions/a-/azure-iot-sdk-c.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "c59e266be9be7454384b38fc56f42be7e40084e9", + "version-date": "2024-03-04", + "port-version": 0 + }, { "git-tree": "2761c8c3302243693aaa2877b54a904d5cbed96f", "version-date": "2023-08-07", diff --git a/versions/a-/azure-uamqp-c.json b/versions/a-/azure-uamqp-c.json index 4d0bd25a1f..64a4ae2811 100644 --- a/versions/a-/azure-uamqp-c.json +++ b/versions/a-/azure-uamqp-c.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "5c1a89093f2d60cc722b51386ecf9c12f7f907d0", + "version-date": "2024-03-04", + "port-version": 0 + }, { "git-tree": "0ca3c3ded9e4bfee0d22f68201e4bf89462d4cff", "version-date": "2023-08-07", diff --git a/versions/a-/azure-uhttp-c.json b/versions/a-/azure-uhttp-c.json index 0ade88af22..0a541565ef 100644 --- a/versions/a-/azure-uhttp-c.json +++ b/versions/a-/azure-uhttp-c.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "15f4ae8589414854f2213c77ca78aadf97996e31", + "version-date": "2024-03-04", + "port-version": 0 + }, { "git-tree": "70faa0f3e0eb5d1f3aa0c3fed59147515404c5bf", "version-date": "2023-08-07", diff --git a/versions/a-/azure-umqtt-c.json b/versions/a-/azure-umqtt-c.json index 59714a1f78..502e37d7e8 100644 --- a/versions/a-/azure-umqtt-c.json +++ b/versions/a-/azure-umqtt-c.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "4aaa4bd90982fbfc3200c24d8d6d1b44487f0d57", + "version-date": "2024-03-04", + "port-version": 0 + }, { "git-tree": "f6b50934a467b9bf7a494290ebc34ff8d036937f", "version-date": "2023-08-03", diff --git a/versions/baseline.json b/versions/baseline.json index ff0bcef0cb..9de27033f1 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -425,7 +425,7 @@ "port-version": 0 }, "azure-c-shared-utility": { - "baseline": "2023-08-07", + "baseline": "2024-03-04", "port-version": 0 }, "azure-core-amqp-cpp": { @@ -449,7 +449,7 @@ "port-version": 0 }, "azure-iot-sdk-c": { - "baseline": "2023-08-07", + "baseline": "2024-03-04", "port-version": 0 }, "azure-kinect-sensor-sdk": { @@ -513,15 +513,15 @@ "port-version": 0 }, "azure-uamqp-c": { - "baseline": "2023-08-07", + "baseline": "2024-03-04", "port-version": 0 }, "azure-uhttp-c": { - "baseline": "2023-08-07", + "baseline": "2024-03-04", "port-version": 0 }, "azure-umqtt-c": { - "baseline": "2023-08-03", + "baseline": "2024-03-04", "port-version": 0 }, "b64": {