-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Stephane Gouache
committed
Sep 25, 2024
1 parent
188076d
commit b0c3d83
Showing
40 changed files
with
2,359 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"overlay-ports": [ | ||
"./vcpkg_overlay" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,7 +30,7 @@ | |
"overrides": [ | ||
{ | ||
"name": "aws-sdk-cpp", | ||
"version": "1.11.255" | ||
"version": "1.11.412" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
vcpkg_from_github( | ||
OUT_SOURCE_PATH SOURCE_PATH | ||
REPO awslabs/aws-c-auth | ||
REF "v${VERSION}" | ||
SHA512 1847b7790590cf079785c4fb98fbcde9988cbc68254d18904a8676802bf96168e7038799642d4b67b834c6c772b7a35c6e7f7d35b93438cb9c0ceac9130e31ad | ||
HEAD_REF master | ||
) | ||
|
||
vcpkg_cmake_configure( | ||
SOURCE_PATH "${SOURCE_PATH}" | ||
OPTIONS | ||
"-DCMAKE_MODULE_PATH=${CURRENT_INSTALLED_DIR}/share/aws-c-common" # use extra cmake files | ||
-DBUILD_TESTING=FALSE | ||
) | ||
|
||
vcpkg_cmake_install() | ||
|
||
string(REPLACE "dynamic" "shared" subdir "${VCPKG_LIBRARY_LINKAGE}") | ||
vcpkg_cmake_config_fixup(CONFIG_PATH "lib/${PORT}/cmake/${subdir}" DO_NOT_DELETE_PARENT_CONFIG_PATH) | ||
vcpkg_cmake_config_fixup(CONFIG_PATH "lib/${PORT}/cmake") | ||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/share/${PORT}/${PORT}-config.cmake" [[/${type}/]] "/") | ||
|
||
file(REMOVE_RECURSE | ||
"${CURRENT_PACKAGES_DIR}/debug/include" | ||
"${CURRENT_PACKAGES_DIR}/debug/lib/${PORT}" | ||
"${CURRENT_PACKAGES_DIR}/debug/share" | ||
"${CURRENT_PACKAGES_DIR}/lib/${PORT}" | ||
) | ||
|
||
vcpkg_copy_pdbs() | ||
|
||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"name": "aws-c-auth", | ||
"version": "0.7.31", | ||
"description": "C99 library implementation of AWS client-side authentication: standard credentials providers and signing.", | ||
"homepage": "https://github.com/awslabs/aws-c-auth", | ||
"license": "Apache-2.0", | ||
"supports": "!(windows & arm) & !uwp", | ||
"dependencies": [ | ||
"aws-c-cal", | ||
"aws-c-http", | ||
"aws-c-sdkutils", | ||
{ | ||
"name": "s2n", | ||
"platform": "!uwp & !windows" | ||
}, | ||
{ | ||
"name": "vcpkg-cmake", | ||
"host": true | ||
}, | ||
{ | ||
"name": "vcpkg-cmake-config", | ||
"host": true | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
vcpkg_from_github( | ||
OUT_SOURCE_PATH SOURCE_PATH | ||
REPO awslabs/aws-c-cal | ||
REF "v${VERSION}" | ||
SHA512 7c0fa1fe976e7b432b5126792bd1fad94cf5bacffb4e9a5e374e173f617722431bea880b6026c2c664372399635cbf9f129b6ad48c9aca7c087fb6f94fb81837 | ||
HEAD_REF master | ||
PATCHES remove-libcrypto-messages.patch | ||
) | ||
|
||
vcpkg_cmake_configure( | ||
SOURCE_PATH "${SOURCE_PATH}" | ||
OPTIONS | ||
"-DCMAKE_MODULE_PATH=${CURRENT_INSTALLED_DIR}/share/aws-c-common" # use extra cmake files | ||
-DBUILD_TESTING=FALSE | ||
) | ||
|
||
vcpkg_cmake_install() | ||
|
||
string(REPLACE "dynamic" "shared" subdir "${VCPKG_LIBRARY_LINKAGE}") | ||
vcpkg_cmake_config_fixup(CONFIG_PATH "lib/${PORT}/cmake/${subdir}" DO_NOT_DELETE_PARENT_CONFIG_PATH) | ||
vcpkg_cmake_config_fixup(CONFIG_PATH "lib/${PORT}/cmake") | ||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/share/${PORT}/${PORT}-config.cmake" [[/${type}/]] "/") | ||
|
||
file(REMOVE_RECURSE | ||
"${CURRENT_PACKAGES_DIR}/debug/include" | ||
"${CURRENT_PACKAGES_DIR}/debug/lib/${PORT}" | ||
"${CURRENT_PACKAGES_DIR}/debug/share" | ||
"${CURRENT_PACKAGES_DIR}/lib/${PORT}" | ||
) | ||
|
||
vcpkg_copy_pdbs() | ||
|
||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
diff --git a/cmake/modules/Findcrypto.cmake b/cmake/modules/Findcrypto.cmake | ||
index fed83bb..9c1ae28 100644 | ||
--- a/cmake/modules/Findcrypto.cmake | ||
+++ b/cmake/modules/Findcrypto.cmake | ||
@@ -105,9 +105,6 @@ else() | ||
set(CRYPTO_FOUND true) | ||
set(crypto_FOUND true) | ||
|
||
- message(STATUS "LibCrypto Include Dir: ${crypto_INCLUDE_DIR}") | ||
- message(STATUS "LibCrypto Shared Lib: ${crypto_SHARED_LIBRARY}") | ||
- message(STATUS "LibCrypto Static Lib: ${crypto_STATIC_LIBRARY}") | ||
if (NOT TARGET AWS::crypto AND | ||
(EXISTS "${crypto_LIBRARY}") | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"name": "aws-c-cal", | ||
"version": "0.7.4", | ||
"description": "C99 wrapper for cryptography primitives.", | ||
"homepage": "https://github.com/awslabs/aws-c-cal", | ||
"license": "Apache-2.0", | ||
"supports": "!(windows & arm) & !uwp", | ||
"dependencies": [ | ||
"aws-c-common", | ||
{ | ||
"name": "openssl", | ||
"platform": "!windows & !osx" | ||
}, | ||
{ | ||
"name": "vcpkg-cmake", | ||
"host": true | ||
}, | ||
{ | ||
"name": "vcpkg-cmake-config", | ||
"host": true | ||
} | ||
] | ||
} |
20 changes: 20 additions & 0 deletions
20
vcpkg_overlay/aws-c-common/disable-internal-crt-option.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
diff --git a/cmake/AwsCFlags.cmake b/cmake/AwsCFlags.cmake | ||
index 470f6db..537536b 100644 | ||
--- a/cmake/AwsCFlags.cmake | ||
+++ b/cmake/AwsCFlags.cmake | ||
@@ -82,15 +82,6 @@ function(aws_set_common_properties target) | ||
list(APPEND AWS_C_FLAGS /DAWS_SUPPORT_WIN7=1) | ||
endif() | ||
|
||
- # Set MSVC runtime libary. | ||
- # Note: there are other ways of doing this if we bump our CMake minimum to 3.14+ | ||
- # See: https://cmake.org/cmake/help/latest/policy/CMP0091.html | ||
- if (AWS_STATIC_MSVC_RUNTIME_LIBRARY OR STATIC_CRT) | ||
- list(APPEND AWS_C_FLAGS "/MT$<$<CONFIG:Debug>:d>") | ||
- else() | ||
- list(APPEND AWS_C_FLAGS "/MD$<$<CONFIG:Debug>:d>") | ||
- endif() | ||
- | ||
else() | ||
list(APPEND AWS_C_FLAGS -Wall -Wstrict-prototypes) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
vcpkg_from_github( | ||
OUT_SOURCE_PATH SOURCE_PATH | ||
REPO awslabs/aws-c-common | ||
REF "v${VERSION}" | ||
SHA512 25da9356e36c87210bcdd95b007824288f36fd3ae4bdd757a1d3e88ef3cc8b65a0c1a31cbe338147949257c8e908c1721fc6297aeb0cbfe7cb89b4d7727dc2ad | ||
HEAD_REF master | ||
PATCHES | ||
disable-internal-crt-option.patch # Disable internal crt option because vcpkg contains crt processing flow | ||
) | ||
|
||
vcpkg_cmake_configure( | ||
SOURCE_PATH "${SOURCE_PATH}" | ||
OPTIONS | ||
-DBUILD_TESTING=FALSE | ||
) | ||
|
||
vcpkg_cmake_install() | ||
|
||
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake) # central macros | ||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share") | ||
|
||
string(REPLACE "dynamic" "shared" subdir "${VCPKG_LIBRARY_LINKAGE}") | ||
vcpkg_cmake_config_fixup(CONFIG_PATH "lib/${PORT}/cmake/${subdir}" DO_NOT_DELETE_PARENT_CONFIG_PATH) | ||
vcpkg_cmake_config_fixup(CONFIG_PATH "lib/${PORT}/cmake") | ||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/share/${PORT}/${PORT}-config.cmake" [[/${type}/]] "/") | ||
|
||
file(REMOVE_RECURSE | ||
"${CURRENT_PACKAGES_DIR}/debug/include" | ||
"${CURRENT_PACKAGES_DIR}/debug/lib/${PORT}" | ||
"${CURRENT_PACKAGES_DIR}/lib/${PORT}" | ||
) | ||
|
||
vcpkg_copy_pdbs() | ||
|
||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"name": "aws-c-common", | ||
"version": "0.9.28", | ||
"description": "AWS common library for C", | ||
"homepage": "https://github.com/awslabs/aws-c-common", | ||
"license": "Apache-2.0", | ||
"supports": "!(windows & arm) & !uwp", | ||
"dependencies": [ | ||
{ | ||
"name": "vcpkg-cmake", | ||
"host": true | ||
}, | ||
{ | ||
"name": "vcpkg-cmake-config", | ||
"host": true | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
vcpkg_from_github( | ||
OUT_SOURCE_PATH SOURCE_PATH | ||
REPO awslabs/aws-c-compression | ||
REF "v${VERSION}" | ||
SHA512 8af6b6ff78fbcb37bf858d0b56cb371974742aa769f08581d0efb6262b93f5c01203b6fcce7f3e9d78c915379d2c75e0c677a374793d8cdd1302961c7299553d | ||
HEAD_REF master | ||
) | ||
|
||
vcpkg_cmake_configure( | ||
SOURCE_PATH "${SOURCE_PATH}" | ||
OPTIONS | ||
"-DCMAKE_MODULE_PATH=${CURRENT_INSTALLED_DIR}/share/aws-c-common" # use extra cmake files | ||
-DBUILD_TESTING=FALSE | ||
) | ||
|
||
vcpkg_cmake_install() | ||
|
||
string(REPLACE "dynamic" "shared" subdir "${VCPKG_LIBRARY_LINKAGE}") | ||
vcpkg_cmake_config_fixup(CONFIG_PATH "lib/${PORT}/cmake/${subdir}" DO_NOT_DELETE_PARENT_CONFIG_PATH) | ||
vcpkg_cmake_config_fixup(CONFIG_PATH "lib/${PORT}/cmake") | ||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/share/${PORT}/${PORT}-config.cmake" [[/${type}/]] "/") | ||
|
||
file(REMOVE_RECURSE | ||
"${CURRENT_PACKAGES_DIR}/debug/include" | ||
"${CURRENT_PACKAGES_DIR}/debug/lib/${PORT}" | ||
"${CURRENT_PACKAGES_DIR}/debug/share" | ||
"${CURRENT_PACKAGES_DIR}/lib/${PORT}" | ||
) | ||
|
||
vcpkg_copy_pdbs() | ||
|
||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"name": "aws-c-compression", | ||
"version": "0.2.19", | ||
"description": "C99 implementation of huffman encoding/decoding", | ||
"homepage": "https://github.com/awslabs/aws-c-compression", | ||
"license": "Apache-2.0", | ||
"supports": "!(windows & arm) & !uwp", | ||
"dependencies": [ | ||
"aws-c-common", | ||
{ | ||
"name": "vcpkg-cmake", | ||
"host": true | ||
}, | ||
{ | ||
"name": "vcpkg-cmake-config", | ||
"host": true | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
vcpkg_from_github( | ||
OUT_SOURCE_PATH SOURCE_PATH | ||
REPO awslabs/aws-c-event-stream | ||
REF "v${VERSION}" | ||
SHA512 522ddc326dfc1865664727a48bcef041ecd3aa40a1fe8e680055059796a31d606a126ed73d8953b77935306ac26e162cc901b813b1ae3ba816a33122f2abc6ce | ||
HEAD_REF master | ||
) | ||
|
||
vcpkg_cmake_configure( | ||
SOURCE_PATH "${SOURCE_PATH}" | ||
OPTIONS | ||
"-DCMAKE_MODULE_PATH=${CURRENT_INSTALLED_DIR}/share/aws-c-common" | ||
-DBUILD_TESTING=FALSE | ||
) | ||
|
||
vcpkg_cmake_install() | ||
|
||
string(REPLACE "dynamic" "shared" subdir "${VCPKG_LIBRARY_LINKAGE}") | ||
vcpkg_cmake_config_fixup(CONFIG_PATH "lib/${PORT}/cmake/${subdir}" DO_NOT_DELETE_PARENT_CONFIG_PATH) | ||
vcpkg_cmake_config_fixup(CONFIG_PATH "lib/${PORT}/cmake") | ||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/share/${PORT}/${PORT}-config.cmake" [[/${type}/]] "/") | ||
|
||
file(REMOVE_RECURSE | ||
"${CURRENT_PACKAGES_DIR}/debug/include" | ||
"${CURRENT_PACKAGES_DIR}/debug/lib/${PORT}" | ||
"${CURRENT_PACKAGES_DIR}/debug/share" | ||
"${CURRENT_PACKAGES_DIR}/lib/${PORT}" | ||
) | ||
|
||
vcpkg_copy_pdbs() | ||
|
||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"name": "aws-c-event-stream", | ||
"version": "0.4.3", | ||
"description": "C99 implementation of the vnd.amazon.event-stream content-type.", | ||
"homepage": "https://github.com/awslabs/aws-c-event-stream", | ||
"license": "Apache-2.0", | ||
"supports": "!(windows & arm) & !uwp", | ||
"dependencies": [ | ||
"aws-c-common", | ||
"aws-c-io", | ||
"aws-checksums", | ||
{ | ||
"name": "vcpkg-cmake", | ||
"host": true | ||
}, | ||
{ | ||
"name": "vcpkg-cmake-config", | ||
"host": true | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
vcpkg_from_github( | ||
OUT_SOURCE_PATH SOURCE_PATH | ||
REPO awslabs/aws-c-http | ||
REF "v${VERSION}" | ||
SHA512 32b7e83ddae5997771136a5c7a6a7890b8cfa7f8808961e108e1519a9b85a39cccc4f0435526cebd3950607d530b6eb1645692dad4677b5f81f73dcc23ce5be0 | ||
HEAD_REF master | ||
) | ||
|
||
vcpkg_cmake_configure( | ||
SOURCE_PATH "${SOURCE_PATH}" | ||
OPTIONS | ||
"-DCMAKE_MODULE_PATH=${CURRENT_INSTALLED_DIR}/share/aws-c-common" # use extra cmake files | ||
-DBUILD_TESTING=FALSE | ||
) | ||
|
||
vcpkg_cmake_install() | ||
|
||
string(REPLACE "dynamic" "shared" subdir "${VCPKG_LIBRARY_LINKAGE}") | ||
vcpkg_cmake_config_fixup(CONFIG_PATH "lib/${PORT}/cmake/${subdir}" DO_NOT_DELETE_PARENT_CONFIG_PATH) | ||
vcpkg_cmake_config_fixup(CONFIG_PATH "lib/${PORT}/cmake") | ||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/share/${PORT}/${PORT}-config.cmake" [[/${type}/]] "/") | ||
|
||
file(REMOVE_RECURSE | ||
"${CURRENT_PACKAGES_DIR}/debug/include" | ||
"${CURRENT_PACKAGES_DIR}/debug/lib/${PORT}" | ||
"${CURRENT_PACKAGES_DIR}/debug/share" | ||
"${CURRENT_PACKAGES_DIR}/lib/${PORT}" | ||
) | ||
|
||
vcpkg_copy_pdbs() | ||
|
||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"name": "aws-c-http", | ||
"version": "0.8.10", | ||
"description": "C99 implementation of the HTTP/1.1 and HTTP/2 specifications", | ||
"homepage": "https://github.com/awslabs/aws-c-http", | ||
"license": "Apache-2.0", | ||
"supports": "!(windows & arm) & !uwp", | ||
"dependencies": [ | ||
"aws-c-cal", | ||
"aws-c-common", | ||
"aws-c-compression", | ||
"aws-c-io", | ||
{ | ||
"name": "vcpkg-cmake", | ||
"host": true | ||
}, | ||
{ | ||
"name": "vcpkg-cmake-config", | ||
"host": true | ||
} | ||
] | ||
} |
Oops, something went wrong.