Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[azure-iot-sdk-c] LTS Release 07-2022_Ref02 #26361

Merged
merged 45 commits into from
Sep 22, 2022
Merged
Show file tree
Hide file tree
Changes from 8 commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
ec353b4
update versions
vaavva Jul 22, 2022
4ea64a1
add patches
vaavva Jul 25, 2022
925f9f4
fix ninja error
vaavva Aug 8, 2022
751512c
Merge pull request #1 from vaavva/vaavva/csdk-release
vaavva Aug 12, 2022
7f51519
update port versions
vaavva Aug 15, 2022
b9d7f08
fix linux build issues
vaavva Aug 15, 2022
ff22511
bot comment fixes
vaavva Aug 15, 2022
e0c6c99
update version
vaavva Aug 15, 2022
5223a06
add openssl override for c-utility
vaavva Aug 15, 2022
f975575
format vcpkg.json file
vaavva Aug 16, 2022
c9beee4
Update version database
vaavva Aug 16, 2022
52ab476
update licenses
vaavva Aug 16, 2022
f445b67
Update version database
vaavva Aug 16, 2022
362191a
remove depracated portfile functions
vaavva Aug 16, 2022
a6d7903
Update version database
vaavva Aug 16, 2022
f6dec2a
fix vcpkg_cmake_config_fixup arguments
vaavva Aug 16, 2022
c457ce0
Update version database
vaavva Aug 16, 2022
2d1e3a7
point to after openssl 3 support
vaavva Sep 7, 2022
db568c8
revert overrides
vaavva Sep 7, 2022
0efdbe0
add new openssl patch
vaavva Sep 7, 2022
2b3dbb0
Merge branch 'microsoft:master' into master
vaavva Sep 7, 2022
5045d33
fix patches to work on linux
Sep 9, 2022
a65a82d
update to actual release code
vaavva Sep 20, 2022
0911885
Merge pull request #2 from vaavva/vaavva/csdk-sept-updated-release
vaavva Sep 20, 2022
6a0fbb5
update versions
vaavva Sep 20, 2022
b458919
remove leftovers from trying to fix linux
vaavva Sep 20, 2022
4115247
Revert "remove leftovers from trying to fix linux"
vaavva Sep 20, 2022
7c35a00
Revert "update versions"
vaavva Sep 20, 2022
180ddfd
remove leftovers from trying to fix linux
vaavva Sep 20, 2022
5dfdf22
update versions
vaavva Sep 20, 2022
0957cb9
remove unpublished versions
vaavva Sep 21, 2022
e972b83
Update ports/azure-c-shared-utility/vcpkg.json
vaavva Sep 21, 2022
f39ec1f
Update ports/azure-uamqp-c/portfile.cmake
vaavva Sep 21, 2022
43d9f3f
Update ports/azure-uamqp-c/vcpkg.json
vaavva Sep 21, 2022
168a81d
Update ports/azure-umqtt-c/vcpkg.json
vaavva Sep 21, 2022
eb68ca5
pr comments
vaavva Sep 21, 2022
31ea038
update versions
vaavva Sep 21, 2022
970659b
clean up versions
vaavva Sep 21, 2022
ebb2e5f
remove version updates from un-updated packages
vaavva Sep 22, 2022
13fe4d5
overwrite versions
vaavva Sep 22, 2022
8881773
Update vcpkg.json
LilyWangLL Sep 22, 2022
025a6a3
Update vcpkg.json
LilyWangLL Sep 22, 2022
60f0f5a
Update azure-macro-utils-c.json
LilyWangLL Sep 22, 2022
2f56de2
Update umock-c.json
LilyWangLL Sep 22, 2022
74e6790
Merge branch 'master' of https://github.com/microsoft/vcpkg
LilyWangLL Sep 22, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 12 additions & 3 deletions ports/azure-c-shared-utility/openssl.patch
Original file line number Diff line number Diff line change
@@ -1,13 +1,22 @@
diff --git a/adapters/x509_openssl.c b/adapters/x509_openssl.c
index 5a9e5ac2..bb946c2d 100644
index 46195b40..5a9e5ac2 100644
--- a/adapters/x509_openssl.c
+++ b/adapters/x509_openssl.c
@@ -75,7 +75,7 @@ static int load_certificate_chain(SSL_CTX* ssl_ctx, const char* certificate)
// certificates.

/* Codes_SRS_X509_OPENSSL_07_006: [ If successful x509_openssl_add_ecc_credentials shall to import each certificate in the cert chain. ] */
-#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && (OPENSSL_VERSION_NUMBER < 0x20000000L)
+#if (OPENSSL_VERSION_NUMBER >= 0x10100000L)
-#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && (OPENSSL_VERSION_NUMBER < 0x20000000L) || defined(LIBRESSL_VERSION_NUMBER)
+#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && (OPENSSL_VERSION_NUMBER < 0x20000000L)
SSL_CTX_clear_extra_chain_certs(ssl_ctx);
#else
if (ssl_ctx->extra_certs != NULL)
@@ -345,7 +345,7 @@ int x509_openssl_add_certificates(SSL_CTX* ssl_ctx, const char* certificates)
else
{
/*Codes_SRS_X509_OPENSSL_02_012: [ x509_openssl_add_certificates shall get the memory BIO method function by calling BIO_s_mem. ]*/
-#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && (OPENSSL_VERSION_NUMBER < 0x20000000L) || defined(LIBRESSL_VERSION_NUMBER)
+#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && (OPENSSL_VERSION_NUMBER < 0x20000000L)
const BIO_METHOD* bio_method;
#else
BIO_METHOD* bio_method;
4 changes: 2 additions & 2 deletions ports/azure-c-shared-utility/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ else()
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO Azure/azure-c-shared-utility
REF 1a27846886a74702d409a8f0e2d77a38163cefc7
SHA512 c30cba73692691fe1310b6180e3aeaf4d86b6276981c680cac31d605634e5dedbce3f823142dfebba4ae2f76ccead965a527d95df0e52af638a30ddec9818fbd
REF a573357197179356543c74836fe943c4864c94ba
SHA512 54d5e8a8ef59d11781532e3ef3479d80975a35fd4c382e1240bcb6575a964bc4a54c707391406bcfb7e0841c80228cb599155a534487b29d9f83a3aad06221e5
HEAD_REF master
PATCHES
openssl.patch
Expand Down
2 changes: 1 addition & 1 deletion ports/azure-c-shared-utility/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "azure-c-shared-utility",
"version-date": "2022-01-21",
"version-date": "2022-07-18",
"port-version": 3,
vaavva marked this conversation as resolved.
Show resolved Hide resolved
"description": "Azure C SDKs common code",
"homepage": "https://github.com/Azure/azure-c-shared-utility",
Expand Down
10 changes: 5 additions & 5 deletions ports/azure-iot-sdk-c/fix-iothubclient-includes.patch
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
diff --git a/iothub_client/CMakeLists.txt b/iothub_client/CMakeLists.txt
index 07ab3b7..9769a08 100644
index 5a8f5573c..07ab3b7cb 100644
--- a/iothub_client/CMakeLists.txt
+++ b/iothub_client/CMakeLists.txt
@@ -441,7 +441,7 @@ add_library(iothub_client
target_include_directories(iothub_client
@@ -442,8 +442,6 @@ target_include_directories(iothub_client
PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/inc>
- $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/azureiot/include>
+ $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/azureiot>
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/azureiot/include>
- $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/deps/umock-c/inc>
- $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/deps/azure-macro-utils-c/inc>
)
applyXcodeBuildFlagsIfNeeded(iothub_client)
target_link_libraries(iothub_client ${iothub_client_libs})
5 changes: 3 additions & 2 deletions ports/azure-iot-sdk-c/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ else()
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO Azure/azure-iot-sdk-c
REF 5805fb669ffe2adff021d68c62725d0bd783ac49
SHA512 8f1aa1020f3bb8b3e801f3977d11be50fd07d961c89ac921f795ef8a99312f12e1ddb2268ce3d2fb84b6a42bb5806cde410e6b51c7c4539a9a11a9ae512dbcd1
REF 02bfa1bab1620999af7fe971e68d61171827cb8b
SHA512 0c961fcef48849e394c492283c6244425d86db7ab5d15d2a767a30c670cf5b6a01f1e95a7260e6d61b5d16babffef1e127a33e617be002d2a98221ae72160ad0
HEAD_REF master
PATCHES
fix-install-location.patch
Expand All @@ -42,6 +42,7 @@ vcpkg_cmake_configure(
-Dbuild_as_dynamic=OFF
-Duse_edge_modules=ON
-Dwarnings_as_errors=OFF
-Dhsm_type_sastoken=OFF
MAYBE_UNUSED_VARIABLES
build_as_dynamic
warnings_as_errors
Expand Down
12 changes: 9 additions & 3 deletions ports/azure-iot-sdk-c/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "azure-iot-sdk-c",
"version-date": "2022-01-21",
"port-version": 2,
"version-date": "2022-07-18",
"description": "A C99 SDK for connecting devices to Microsoft Azure IoT services",
"homepage": "https://github.com/Azure/azure-iot-sdk-c",
"license": "MIT",
"builtin-baseline": "925f9f413df132b876639d7abdaa599806e5b039",
"dependencies": [
"azure-c-shared-utility",
"azure-macro-utils-c",
Expand Down Expand Up @@ -67,5 +67,11 @@
"use-prov-client": {
"description": "Enables device provisioning client for DPS"
}
}
},
"overrides": [
{
"name": "openssl",
"version-string": "1.1.1n"
}
]
}
2 changes: 1 addition & 1 deletion ports/azure-macro-utils-c/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "azure-macro-utils-c",
"version-date": "2022-01-21",
"version-date": "2022-07-18",
"description": "A library of macros for the Azure IoT SDK Suite",
"features": {
"public-preview": {
Expand Down
4 changes: 2 additions & 2 deletions ports/azure-uamqp-c/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ else()
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO Azure/azure-uamqp-c
REF 85aae56beb717dddaf5512845de537d2926afb02
SHA512 3d9e7788c784169e6d1d9abd233e00a4c1e6525d67cbc25f8ba42292b6d66d0179a742833a0c00a3a0df6498bf88dc8b12a40c183e7141f7290cbb4eceb67dbe
REF 9adecc7afc9fb2c1d05b5b850005ecae6e4d98f2
SHA512 e90b9dd76bf753d30bdbfd62afb39c0d49e09e106d0546c66c214a339abfbe2cd53aa383f2e6d9ef445b553d4fa65438acdd18b80a88ab93c613466709bf828f
HEAD_REF master
)
endif()
Expand Down
2 changes: 1 addition & 1 deletion ports/azure-uamqp-c/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "azure-uamqp-c",
"version-date": "2022-01-21",
"version-date": "2022-07-18",
"port-version": 1,
vaavva marked this conversation as resolved.
Show resolved Hide resolved
"description": "AMQP library for C",
"homepage": "https://github.com/Azure/azure-uamqp-c",
Expand Down
4 changes: 2 additions & 2 deletions ports/azure-uhttp-c/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ else()
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO Azure/azure-uhttp-c
REF 1cc70f4d21ad69768cafb9551b1b512118fba995
SHA512 6604e82b347a1a4eb5072ab762fde7bd5ae9b32848a78da9103e0eb528b9ccd420a12dbc237dc0b5fe6db271d5cdcd24eedf1cde8ac058102fdd24c5a5a33f26
REF f07e04f3ae007bd90b51cb8a931bacaa8590ab43
SHA512 308bda3b9c965be40d1c2dbe5c94fc2d4ae5b0b60b30eb693f9a5dd8b8be2ba0991e8e6fda4b42b0b535cf735ef6e1d5b97e4db95d06df54aa50c756232576af
HEAD_REF master
)
endif()
Expand Down
2 changes: 1 addition & 1 deletion ports/azure-uhttp-c/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "azure-uhttp-c",
"version-date": "2022-01-21",
"version-date": "2022-07-18",
"port-version": 1,
vaavva marked this conversation as resolved.
Show resolved Hide resolved
"description": "Azure HTTP Library written in C",
"homepage": "https://github.com/Azure/azure-uhttp-c",
Expand Down
4 changes: 2 additions & 2 deletions ports/azure-umqtt-c/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ else()
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO Azure/azure-umqtt-c
REF 09558f380a314ea89b28f406cc810f47718cea49
SHA512 7fc1b3d4ed6bd7401b764e27755270dd97caeb09f3bdede90e2e8c554acd13b5c24f9c7343e642bcb62d2937b8169d900fa46a1b97a8c439733c8cdcac19d548
REF a4f77d1d5a5945921f38800e9a44ae8d05eb0778
SHA512 b15dad3f2ce14b1b06486fc110094219d7ba867ac7fbdf91ad732e57bf1c97e8b666882d987057bd96acf30f6f9e487bffc9426078c3f8e76c90dbe9e8373b08
HEAD_REF master
)
endif()
vaavva marked this conversation as resolved.
Show resolved Hide resolved
Expand Down
2 changes: 1 addition & 1 deletion ports/azure-umqtt-c/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "azure-umqtt-c",
"version-date": "2022-01-21",
"version-date": "2022-07-18",
"port-version": 1,
vaavva marked this conversation as resolved.
Show resolved Hide resolved
"description": "General purpose library for communication over the mqtt protocol",
"homepage": "https://github.com/Azure/azure-umqtt-c",
Expand Down
2 changes: 1 addition & 1 deletion ports/umock-c/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "umock-c",
"version-date": "2022-01-21",
"version-date": "2022-07-18",
"description": "A pure C mocking library",
"homepage": "https://github.com/Azure/umock-c",
"dependencies": [
Expand Down
5 changes: 5 additions & 0 deletions versions/a-/azure-c-shared-utility.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "8a23d7b8af8ae9859a59f900ff121e06359c69f8",
"version-date": "2022-07-18",
"port-version": 3
},
{
"git-tree": "ec45ec6a9a5b28ecab27857508355956d151a814",
"version-date": "2022-01-21",
Expand Down
5 changes: 5 additions & 0 deletions versions/a-/azure-iot-sdk-c.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "5eefa170b2a66199f2242dd9a850b25478a2c1a3",
"version-date": "2022-07-18",
"port-version": 0
},
{
"git-tree": "80f1eb4e465fef817503af2c9599b2186d4922e6",
"version-date": "2022-01-21",
Expand Down
5 changes: 5 additions & 0 deletions versions/a-/azure-macro-utils-c.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "faf284a29db6d410425b21a685c963f97159f1f9",
"version-date": "2022-07-18",
"port-version": 0
},
{
"git-tree": "0c90715278e5ab77af983254bdf17571bf69c55b",
"version-date": "2022-01-21",
Expand Down
5 changes: 5 additions & 0 deletions versions/a-/azure-uamqp-c.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "985a1cc476bfd20041ddfd36c8d76c10fe615a01",
"version-date": "2022-07-18",
"port-version": 1
},
{
"git-tree": "d7d284a159afe6ab21ce65d5e5d96dbee83339f6",
"version-date": "2022-01-21",
Expand Down
5 changes: 5 additions & 0 deletions versions/a-/azure-uhttp-c.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "fffe2a36a3711c8957a6cf15dd3b49c7934a8dac",
"version-date": "2022-07-18",
"port-version": 1
},
{
"git-tree": "28439985096cc9a714695d10830ceb2f54859c24",
"version-date": "2022-01-21",
Expand Down
5 changes: 5 additions & 0 deletions versions/a-/azure-umqtt-c.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "ce115d70a018ea9cc6e8b3fa2271d07693b83e4a",
"version-date": "2022-07-18",
"port-version": 1
},
{
"git-tree": "5953c7aee01e5c0972a8eb97fbb763c74b60c49c",
"version-date": "2022-01-21",
Expand Down
16 changes: 8 additions & 8 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@
"port-version": 1
},
"azure-c-shared-utility": {
"baseline": "2022-01-21",
"baseline": "2022-07-18",
"port-version": 3
},
"azure-core-cpp": {
Expand All @@ -337,15 +337,15 @@
"port-version": 0
},
"azure-iot-sdk-c": {
"baseline": "2022-01-21",
"port-version": 2
"baseline": "2022-07-18",
"port-version": 0
},
"azure-kinect-sensor-sdk": {
"baseline": "1.4.1",
"port-version": 4
},
"azure-macro-utils-c": {
"baseline": "2022-01-21",
"baseline": "2022-07-18",
"port-version": 0
},
"azure-security-attestation-cpp": {
Expand Down Expand Up @@ -389,15 +389,15 @@
"port-version": 0
},
"azure-uamqp-c": {
"baseline": "2022-01-21",
"baseline": "2022-07-18",
"port-version": 1
},
"azure-uhttp-c": {
"baseline": "2022-01-21",
"baseline": "2022-07-18",
"port-version": 1
},
"azure-umqtt-c": {
"baseline": "2022-01-21",
"baseline": "2022-07-18",
"port-version": 1
},
"b64": {
Expand Down Expand Up @@ -7285,7 +7285,7 @@
"port-version": 2
},
"umock-c": {
"baseline": "2022-01-21",
"baseline": "2022-07-18",
"port-version": 0
},
"unicorn": {
Expand Down
5 changes: 5 additions & 0 deletions versions/u-/umock-c.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "5052f86253f6feff1ba273564264ff743731f8f3",
"version-date": "2022-07-18",
"port-version": 0
},
{
"git-tree": "67f2fda1636719281706ebef0314a388ba5c8d15",
"version-date": "2022-01-21",
Expand Down