* Audit use of TO_NATIVE_PATH.
TO_NATIVE_PATH should only be used when (1) pasting a path into a command line, or (2) displaying a path to a user. It must not be used before calling other CMake operations like file(WRITE.
Fixes https://github.com/microsoft/vcpkg/issues/26178
ports/ffmpeg/portfile.cmake:
Both uses are being embedded into a command line ✅
ports/gdal/dependency_win.cmake
117: This used TO_NATIVE_PATH but didn't actually connect the result. It's going on a command line so TO_NATIVE_PATH is appropriate.
Drive by: Added quotes around other uses (all of which seem to be going to command lines).
202: ${EXPAT_LIBRARY_REL} ${ZLIB_LIBRARY_REL} don't seem to be set even though they are used; I think this is wrong but I don't know for sure that it is so I'm leaving it alone for now.
ports/msmpi/portfile.cmake
All 3 uses are being embedded into a command line ✅
ports/jemalloc/fix-utilities.patch
ports/libproxy/fix-dependency-libmodman.patch
ports/qtbase/env.patch
These are in upstream content / context so it is not edited.
ports/opengl/portfile.cmake
Broken! Drive by fixes:
* Modernized checking VCPKG_BUILD_TYPE
* Ordered things consistently to be release then debug.
* Removed funny newlines.
ports/openni2/portfile.cmake
Borderline OK; it goes into an MSBuild / vcxproj. I'm leaving it alone. Drive by fixes:
* Guarded debug-only copies for VCPKG_BUILD_TYPE
* Fixed supports expression
ports/openssl/unix/CMakeLists.txt:
Unused!
ports/pthreads/portfile.cmake:
Both uses are being embedded into a command line ✅
ports/qt5-base/cmake/qt_fix_makefile_install.cmake
I'm not sure if this one is OK but it's being embedded into a file so it's probably fine.
ports/qtapplicationmanager/portfile.cmake:
I'm pretty sure this one is wrong, but it's guarded by VCPKG_TARGET_IS_WINDOWS so the ability to create damage is limited.
ports/readosm/portfile.cmake:
The use is being embedded into a command line ✅
ports/spatialite-tools/portfile.cmake:
The use is being embedded into a command line ✅
ports/sqlcipher/portfile.cmake:
Both uses are being embedded into a command line ✅
scripts/ports.cmake:
Some uses were unused, others are immediately used and printed to the console. ✅
scripts/buildsystems/vcpkg.cmake:
Fixed :)
scripts/cmake/vcpkg_build_qmake:
Looks unused.
scripts/cmake/vcpkg_build_process.cmake:
Added to console message only. ✅
scripts/cmake/vcpkg_execute_required_process_repeat.cmake:
Added to console message only. ✅
Drive by: Fixed typo in variable name in the message.
scripts/cmake/vcpkg_execute_required_process.cmake:
Added to console message only. ✅
* Fix missing license.
* [openssl] remove no-stdio option for iOS building
* [openssl] 3.0.5#2, remove no-stdio option for iOS building
Co-authored-by: xiling.sz <xiling.sz@alibaba-inc.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>
The only places this was being used were as morally asserts for the port itself. Also removed empty ports from ci.baseline.txt.
In support of https://github.com/microsoft/vcpkg/pull/21502
* [openssl] fix cross compilation with mingw
When cross compiling openssl on Linux, e.g.
./vcpkg install openssl:x64-mingw-dynamic
failed, because 'windres' was not found. The call to
openssl's Configure was missing the WINDRES environment
variable, which is needed in case it is prefixed. On
Ubuntu the binutils-mingw-w64-x86-64 package installed
it as /usr/bin/x86_64-w64-mingw32-windres.
Since mingw uses openssl-unix to build, it's worth mentioning
that the WINDRES env has no impact for non-mingw and is ignored
there.
* Handle conflicts
* Update version files
* Update ports/openssl/unix/CMakeLists.txt
* Update versions/o-/openssl.json
* Update versions/o-/openssl.json
Co-authored-by: NancyLi1013 <lirui09@beyondsoft.com>
Co-authored-by: nicole mazzuca <83086508+strega-nil-ms@users.noreply.github.com>
Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
* [openssl] Fix vcpkg-cmake-wrapper.cmake
* Update baseline revision
* Update the wrapper
* Update the baseline
* Update the wrapper
* Update the baseline
* Update the wrapper
* Update the baseline
* Update the wrapper
* Update the baseline
* Update the wrapper
* Update the baseline
* Update the wrapper
* Update the baseline
* Bump port-version.
* Update the baseline version
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>