If a call to `vcpkg_replace_string` makes no changes i.e doesn't
effectively replace a string, A warning is logged.
This should also help identify ports that no longer need these calls to
fix things in `.pc` files etc.
It appears like the aws-sdk-cpp maintainers, in an attempt to avoid a
warning when compiling with Visual Studio, opted to use a Microsoft-only
function for reading environment variables. As a result, linking the
library will fail in MinGW environments. This PR adds a patch to
aws-sdk-cpp port that will replace the non-standard function with a
standard compliant version when being compiled for Windows using a
non-Microsoft compiler.
- [x] Changes comply with the [maintainer
guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md).
- [ ] SHA512s are updated for each updated download.
- [ ] The "supports" clause reflects platforms that may be fixed by this
new version.
- [ ] Any fixed [CI
baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt)
entries are removed from that file.
- [ ] Any patches that are no longer applied are deleted from the port's
directory.
- [x] The version database is fixed by rerunning `./vcpkg x-add-version
--all` and committing the result.
- [x] Only one version is added to each modified port's versions file.
Fix issue in comment
[issuecomment](https://github.com/microsoft/vcpkg/pull/38215#issuecomment-2122692264).
```
CMake Error at /mnt/vcpkg/scripts/buildsystems/vcpkg.cmake:598 (_add_executable):
Target "example" links to target "CURL::libcurl" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
Call Stack (most recent call first):
CMakeLists.txt:11 (add_executable)
CMake Error at /mnt/vcpkg/scripts/buildsystems/vcpkg.cmake:598 (_add_executable):
Target "example" links to target "ZLIB::ZLIB" but the target was not found.
Perhaps a find_package() call is missing for an IMPORTED target, or an
ALIAS target is missing?
Call Stack (most recent call first):
CMakeLists.txt:11 (add_executable)
```
Fixed the issue that curl and zlib cannot be found when calling s3
feature.
- [X] Changes comply with the [maintainer
guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md).
- [ ] ~~SHA512s are updated for each updated download.~~
- [ ] ~~The "supports" clause reflects platforms that may be fixed by
this new version.~~
- [ ] ~~Any fixed [CI
baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt)
entries are removed from that file.~~
- [ ] ~~Any patches that are no longer applied are deleted from the
port's directory.~~
- [X] The version database is fixed by rerunning `./vcpkg x-add-version
--all` and committing the result.
- [X] Only one version is added to each modified port's versions file.
Usage test pass with following triplets:
```
x64-windows
x64-linux
```
Fixes https://github.com/microsoft/vcpkg/issues/36661
Fix calling curl using config mode.
- [X] Changes comply with the [maintainer
guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md).
- [ ] ~~SHA512s are updated for each updated download.~~
- [ ] ~~The "supports" clause reflects platforms that may be fixed by
this new version.~~
- [ ] ~~Any fixed [CI
baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt)
entries are removed from that file.~~
- [ ] ~~Any patches that are no longer applied are deleted from the
port's directory.~~
- [ ] ~~The version database is fixed by rerunning `./vcpkg
x-add-version --all` and committing the result.~~
- [ ] ~~Only one version is added to each modified port's versions
file.~~
Compile test pass with following triplets:
```
x64-windows
arm64-osx
```
* [aws-c-auth] update to 0.7.14
* [aws-c-auth] update to 0.7.14
* [aws-c-io] update to 0.14.3
* [aws-c-io] update to 0.14.3
* [aws-c-s3] update to 0.5.0
* [aws-c-s3] update to 0.5.0
* [aws-c-sdkutils] update to 0.1.14
* [aws-c-sdkutils] update to 0.1.14
* [aws-sdk-cpp] update to 1.11.255
* [aws-sdk-cpp] update to 1.11.255
* [aws-c-auth] update to 0.7.11
* [aws-c-auth] update to 0.7.11
* [aws-c-common] update to 0.9.12
* [aws-c-common] update to 0.9.12
* [aws-c-event-stream] update to 0.4.1
* [aws-c-event-stream] update to 0.4.1
* [aws-c-io] update to 0.14.1
* [aws-c-io] update to 0.14.1
* [aws-c-mqtt] update to 0.10.1
* [aws-c-mqtt] update to 0.10.1
* [aws-c-s3] update to 0.4.9
* [aws-c-s3] update to 0.4.9
* [aws-c-sdkutils] update to 0.1.13
* [aws-c-sdkutils] update to 0.1.13
* [aws-crt-cpp] update to 0.26.1
* [aws-crt-cpp] update to 0.26.1
* [aws-sdk-cpp] update to 1.11.245
* [aws-sdk-cpp] update to 1.11.245
* [aws-lambda-cpp] update to 0.2.10
* [aws-lambda-cpp] update to 0.2.10
* [aws-c-http] update to 0.7.14
* [aws-c-http] update to 0.7.14
* [aws-c-mqtt] update to 0.9.9
* [aws-c-mqtt] update to 0.9.9
* [aws-c-s3] update to 0.3.23
* [aws-c-s3] update to 0.3.23
* [aws-c-auth] update to 0.7.6
* [aws-c-auth] update to 0.7.6
* [aws-crt-cpp] update to 0.24.5
* [aws-crt-cpp] update to 0.24.5
* [aws-sdk-cpp] update to 1.11.200
* [aws-sdk-cpp] update to 1.11.200
* [aws-c-common] update to 0.9.8
* [aws-c-common] update to 0.9.8
* [aws-c-common] update to 0.9.9
* [aws-c-common] update to 0.9.9
* [aws-c-s3] update to 0.3.24
* [aws-c-s3] update to 0.3.24
* [aws-crt-cpp] update to 0.24.7
* [aws-crt-cpp] update to 0.24.7
* [aws-sdk-cpp] update to 1.11.201
* [aws-sdk-cpp] update to 1.11.201
* Update aws-sdk-cpp and dependencies to 1.11.132
* Replace patches with new -DAWS_SDK_WARNINGS_ARE_ERRORS
* vcpkg x-add-version --all
---------
Co-authored-by: Conor Ryan <conor.ryan2@ihsmarkit.com>
* [curl] Update to 7.86.0
* [azure-core-cpp] Add missing Ws2_32.lib.
Filed upstream as https://github.com/Azure/azure-sdk-for-cpp/pull/4127
* [aws-sdk-cpp] Lock the selected curl features.
Co-authored-by: FrankXie <v-frankxie@microsoft.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
* Create package openssl3
* Create package openssl3
* Delete openssl3
* update version to 3.0.1
* Delete openssl3
* Update manifests to 3.0.1
* Fix download url
* Update port version
* Update version
* Remove wrong port version
* Fix errors
* Fix license
* Remove empty folders
* Fix post-build errors
* Add license field
* Fix cmake for uwp
* Remove patch file
* format manifest
* Update version file
* Fix port version
* version
* Test: remove vcvarsall
* version
* fix version
* version
* Fix docs in cmake files as well
* wrong branch
* Add port openssl-1
* Fix directories
* delete openssl-1
* [openssl-1] Add port
* version
* Fix UWP build
* version
* migrate uthenticode
* version
* Fix UWP build for librabbitmq
* version
* Fix UWP warnings
* version
* Fix patch
* version
* Disable C4996 on UWP
* version
* [idevicerestore] disable C4996
* remove warning fixes
* Revert uthenticode
* Final newlines
* version
* Remove winsock replace
* version
* [libwebsockets] Disable /WX on Windows
* version
* Typo
* version
* Disable C4996 in patch instead
* version
* [luasec] Use openssl-1
* version
* revert luasec
* migrate luasec
* version
* revert winsock
* version
* revert winsock
* version
* revert revert
* version
* Fix platform for luasec
* Fix supports
* version
* .
* version
* uthenticode
* libmysql
* azure-c-shared-utility
* version
* remove azure-c-shared-utility
* revert all
* uthenticode
* version
* azure
* version
* libmysql
* version
* remove mysql
* [libdatachannel] disable warnings on UWP
* version
* Fix patches
* version
* Add openssl-1 to CI baseline
* openssl-1: check if copyright exists
* version
* revert azure
* [libssh2] disable c4996
* version
* [aws-sdk-cpp] -Wno-deprecated
* version
* fix aws patch
* version
* fix aws patch
* version
* [qpid-proton] disable warning
* version
* Fix patch
* version
* [librtmp] disable c4996
* version
* [libu2f-server] disablec4996
* switch version scheme
* version
* [idevicerestore] disable c4996
* version
* typo
* version
* fix cmake
* version
* fix cmake again
* version
* [uthenticode] patch to support Openssl 3
* version
* fix idevicerestore
* version
* search for conflicting copyrights
* version
* Fix luasec
* fix version
* version
* fix azure
* version
* Remove debug stuff
* version
* [open62541] patch
* update port version
* version
* [libmysql] patch
* version
* Fix patch
* version
* Format openssl
* Format openssl portfiles
* Check for conflicting copyrights
* Fix typo
* Rename openssl-1 to openssl1
* Rename openssl-1 to openssl1
* version
* Update ci baseline
* version
* resolve conflicting port versions
* version
* apply latest openssl security fix
* version
* Fix qpid-proton
* version
* retrigger Bbuild of qtbase
* version
* revert qtbase
* Remove openssl1
* version
* version
* fix openssl_version_fix
Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
* [aws-c-common] Update to 0.6.9
* [aws-checksums] Update to 0.1.11
* [aws-c-event-stream] Upgrade to 0.2.7
* Add aws-c-cal port
* Add s2n port
* Add port aws-c-io
* [aws-c-event-stream] Update port to 0.2.7
* Update aws-sdk-cpp port
* Add aws-c-compression port
* Add aws-c-auth port
* Add aws-c-http port
* Add aws-c-mqtt port
* Add aws-c-s3 port
* Add aws-crt-cpp port
* [aws-sdk-cpp] Update port to 1.9.91 version
* Fix port issues.
* Upgrade aws-sdk-cpp to 1.9.96
Upgrade aws-crt-cpp to 0.15.1
* Support x64-windows
* Fix format issues
* Specify supported triplets for aws libs
* Specify platforms for more aws libs
* Support x64-windows-static triplet.
* Fix format issue for aws-c-common
* Update port versions file
* Use new vcpkg cmake methods and format
* Use new vcpkg cmake methods and format
* update version
* Fix s2n port typo
* Fix s2n port typo
Co-authored-by: Jonliu1993 <13720414433@163.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
* Update AWS C++ SDK version
* Update AWS C++ SDK version
* Update AWS C++ SDK version
Co-authored-by: Ahmed Yarub Hani Al Nuaimi <ahmed.alnuaimi@zwift.com>
* [vcpkg] allow to use semicolons in COMMAND argument
* [llvm] update to 11.0.0
* [vcpkg] use latest version
* [vcpkg] allow to use semicolons in OPTIONS
* fix vcpkg_fixup_cmake_targets
* [llvm] fix more install paths, add /bigobj option, fix up CMake targets
* Apply suggestions from code review
* [llvm] fix clang, flang, lld, mlir and polly CMake targets
* [llvm] remove empty include directory /include/flang/Config
* [llvm] Flang requires C++17
* [llvm] add /Zc:__cplusplus
* [llvm] remove empty include directory include/clang-tidy/plugin
* [llvm] try to fix ClangConfig.cmake, LLVMConfig.cmake, LLDConfig.cmake etc. with patch
* [llvm] set tools install dir to tools/llvm
* [aws-sdk-cpp] fix build after changes in vcpkg_configure_cmake.cmake
* [llvm] disable Flang and OpenMP on Windows
Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
* Make aws-sdk-cpp rpath relocatable (fix#14544)
This is important since vcpkg offers binary caching which could be
shared between different machines (as long as both machines use the same
"toolchains" [more technically, as long as the vcpkg hash is the same])
* Allow cross-compilation
* Update port version
Co-authored-by: Kevin Lalumiere <klalumiere@coveo.com>