Commit Graph

35 Commits

Author SHA1 Message Date
Lily Wang
35fed4bfa0
[openssl] Add no-ssl3 and no-weak-ssl-ciphers to Configure options (#28743)
* [openssl] Add no-ssl3 and no-weak-ssl-ciphers to Configure options

* x-add-version
2023-01-09 10:45:13 -08:00
Kai Pastor
f32fc13dbe
[openssl] Revise jom/nmake support (#27150)
* Use vcpkg_build_nmake for windows incl. uwp

Use prerun shell for configuration

* [openssl] Generate OPENSSL_VERSION_MAJOR/MINOR/FIX

* Update versions

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2022-11-11 14:12:15 -08:00
Billy O'Neal
09adfdc8cd
[OpenSSL] Update to 3.0.7. (#27594)
* [OpenSSL] Update to 3.0.7.

Fixes critical security vulnerability https://twitter.com/iamamoose/status/1584908434855628800

flags.patch part already applied by upstream removed.

Download location changed to openssl.org while a github tag is still missing.

* Revert unintentional boringssl change.

* Add vcpkg_minimum_required and switch back to GitHub now that a tag is available.
2022-11-01 18:58:59 -07:00
Francisco Facioni
a29baafabc
[ffmpeg] srt support (#26679) 2022-10-08 21:54:58 -07:00
Billy O'Neal
ae76307e4b
Audit use of TO_NATIVE_PATH. (#26201)
* 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.
2022-08-12 15:21:20 -07:00
Kai Pastor
498c6e90a1
[openssl] Fix pc files (#26170)
* Fix openssl libdir

* Update versions
2022-08-05 10:30:55 -07:00
Inhzus
6c6d01f07b
[openssl] remove no-stdio for iOS (#26023)
* [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>
2022-08-01 14:59:34 -07:00
Alexander Neumann
10d105c8c4
[openssl] Enable builds with clang-cl (#25869)
* allow clang-cl builds

* v db

* should always wait for the debug build to finishe .....

* v db

* fix static builds not having pdbs

* v db

* Add a variable and comment to describe why we are removing PDB copy rules.

Co-authored-by: Billy O'Neal <bion@microsoft.com>
2022-07-26 10:12:23 -07:00
Frank
58a4010284
[OpenSSL] update to 3.0.5 (#25597)
* [OpenSSL] update to 3.0.5

* update version
2022-07-08 13:57:26 -07:00
Jack·Boos·Yu
a61559a81b
[openssl] Change repo to github and update to 3.0.4 (#25451)
* [openssl] Change repo to github and update to 3.0.4

* version
2022-06-29 14:38:17 -07:00
LilyWangLL
2f0872b7d5
[openssl] Add no-module configure option for static build (#24598)
* [openssl] Add no-module configure option

* update version

* add no-module

* version

* remove change on windows

* x-add-version

* update version

* x-add-version

* fix windows static

* x-add-version

* x-add-version

Co-authored-by: Lily Wang <v-lilywang@microsoft.com>
2022-05-19 00:25:30 -07:00
Robert Schumacher
61058871a9
[openssl] Support custom cflags on Windows (#24133)
* [openssl] Support custom cflags on Windows

* [openssl] Add vcpkg-cmake-get-vars dependency

* [openssl] Record version

Co-authored-by: Billy Robert O'Neal <bion@microsoft.com>
2022-05-17 16:52:27 -07:00
Thomas1664
d4bc451ce6
[openssl] Update to 3.0.3 (#24547)
* [openssl] Update to 3.0.3

* version

* hash

* version
2022-05-09 14:33:47 -07:00
Thomas1664
be8bb99330
[openssl] Fix dynamic build on OSX (#24090)
* [openssl] Fix dynamic build on OSX

* version

* Use SHLIB_VERSION

* version
2022-04-19 09:38:44 -07:00
Thomas1664
e3e7583380
[openssl] Fix dynamic builds on UNIX (#24061)
* [openssl] Fix dynamic builds on UNIX

* version

* Use version.dat

* version
2022-04-11 08:45:24 -07:00
Vitalii Koshura
1b3a783ff1
[openssl] Fix building in Release only mode (#24004)
* [openssl] Fix building in Release only mode

Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>

* Update ports/openssl/windows/portfile.cmake

Co-authored-by: Alexander Neumann <30894796+Neumann-A@users.noreply.github.com>

* Merging from FrankXie05/dev/Frank/23889

Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>

Co-authored-by: Alexander Neumann <30894796+Neumann-A@users.noreply.github.com>
2022-04-07 07:48:06 -07:00
Thomas1664
407bc79b39
[openssl] update to 3.0.2 (#22878)
* 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>
2022-04-06 11:04:46 -07:00
Kai Pastor
3b3bd42482
[openssl] Don't switch from jom to nmake, fix cflags (#23726)
* Don't switch from jom to nmake

* Use CFLAGS for build type

* Update versions

* Fix flags for clang

* Update versions
2022-03-28 11:45:40 -07:00
Raul Metsma
a69b65229b
[openssl] update to 1.1.1n (#23589)
Signed-off-by: Raul Metsma <raul@metsma.ee>
2022-03-16 22:05:23 -07:00
Kai Pastor
afb2279ad7
[openssl] Revise vcpkg cmake wrapper (#22701)
* Revise OpenSSL wrapper

* Update versions

* Bump port-version

* Shorten OPENSSL_ROOT_DIR setup

* Update versions

* CR comments

* Update versions

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2022-02-07 22:12:29 -08:00
Billy O'Neal
fb1df5721e
[openssl] Remove vcpkg_fail_port_install. (#22755)
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
2022-01-24 13:35:21 -08:00
Guillaume Racicot
b25cb779e5
[openssl] Update to 1.1.1m (#22376)
* [openssl] Update to 1.1.1m

* run x-add-version --all for openssl 1.1.1m

* switch to 4 spaces to standardize instead of 2

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
2022-01-07 10:22:37 -08:00
Ahmed Yarub Hani Al Nuaimi
8b4ff54ecd
Fix aws-sdk-cpp and OpenSSL cross-platform builds (#20289)
* Fix Aws Crypto Abstraction Layer and S2N builds

* Fix aws-c-cal build

* Revert changes

* [s2n] update to 1.1.0

* Do not build tests for any of AWS SDK for C++ dependencies
Remove unused flags from OpenSSL and AWS SDK for C++ builds

* Update versions

* Fix indentation

* Fix indentation

* Remove redundant flags

* Remove redundant options

* Update ports/aws-c-auth/portfile.cmake

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* Update ports/aws-c-cal/002-no-exe-no-tests.patch

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* Update ports/aws-c-cal/portfile.cmake

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* Update ports/aws-c-cal/portfile.cmake

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* Update ports/aws-c-compression/portfile.cmake

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* Update ports/aws-crt-cpp/portfile.cmake

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* Update ports/aws-checksums/portfile.cmake

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* Update ports/aws-c-event-stream/portfile.cmake

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* Update ports/aws-c-s3/portfile.cmake

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* Update ports/aws-c-http/portfile.cmake

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* Update ports/aws-c-io/portfile.cmake

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* Update ports/aws-c-mqtt/portfile.cmake

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* Simplify patch
Restore PREFER_NINJA for OpenSSL build

* Update versions

* Replace deprecated methods

* Update versions

* Fix dependencies of OpenSSL

* Fix dependencies of OpenSSL

* Update ports/aws-c-cal/portfile.cmake

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* Update ports/aws-c-io/portfile.cmake

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* Update ports/aws-c-io/portfile.cmake

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* Fix versions

* Revert quotation mark change

* Revert quotation mark change

* Revert quotation mark change

* Patch AWS CRT for C++ for iOS build
Do not copy sha256_profile tool when building aws-c-cal

* Remove redundant flags

* Fix indentation

* Update versions

* Update versions

* Fix aws-c-cal build
Update versions

* Update versions

* Update versions

* Update versions

* Update versions

* Update versions

* Fix library paths for Windows shared builds

* Revert compiler check

* Update versions

* Fix indentation
Revert OS check

* Update versions

* Fix indentation

* Fix indentation

* Fix indentation

* Update versions/o-/openssl.json

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* Update versions

* Update versions

* Update versions

Co-authored-by: Ahmed Yarub Hani Al Nuaimi <ahmed.alnuaimi@zwift.com>
Co-authored-by: Charles-Auguste Marois <cmarois@coveo.com>
Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2021-11-22 14:18:07 -08:00
Kai Pastor
1baf31a668
[openssl] Fix exported config (#20831)
* Install openssl.pc

* Add pc files for Windows

* Use pkg-config friendly lib names without extension

* Update versions
2021-10-26 22:48:21 -07:00
Heiko Hund
b28d77ada2
[openssl] fix cross compilation with mingw (#17246)
* [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>
2021-10-15 19:10:32 -07:00
Pablo Busse
887cc9c15a
[openssl] Support static builds on UWP (#19636)
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2021-09-03 00:01:15 -07:00
autoantwort
772d435ba1
[openssl] Update to 1.1.1l (#19739) 2021-08-25 19:38:37 -07:00
Phoebe
92bbf7b331
[openssl] Fix vcpkg-cmake-wrapper.cmake (#18475)
* [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>
2021-07-22 22:11:45 -07:00
Lucius Q. User
588b1e66f9
[openssl] Fix x86-osx -> arm64-osx cross-compilation (#18630) 2021-07-16 12:51:32 -07:00
Lev Stipakov
06f8fd637d
[OpenSSL] support for "no-autoload-config" config option (#18389)
* [OpenSSL]: support for "no-autoload-config" config option

OpenSSL has "no-autoload-config" config option,
which disables automatic config loading:

  https://github.com/openssl/openssl/pull/5959

This patch allows to set above option via variable
in custom triplet:

  # build-openssl-no-autoload-config.cmake
  set(OPENSSL_NO_AUTOLOAD_CONFIG ON)

and use it like:

  vcpkg install --overlay-triplets=<path-to-triplets> \
    openssl:build-openssl-no-autoload-config

Signed-off-by: Lev Stipakov <lev@openvpn.net>

* [OpenSSL] bump version

Signed-off-by: Lev Stipakov <lev@openvpn.net>
2021-07-01 10:21:44 -07:00
Jack·Boos·Yu
02fa0eb4c6
[openssl] Add cmake wrapper to handle OPENSSL_ROOT_DIR (#18042)
* [openssl] Add cmake wrapper to handle OPENSSL_ROOT_DIR

* Get the abs path

* update version record

* apply suggestion.

* Clean up openssl related code, move to openssl wrapper.

* update version record

* [kf5holidays] Disable parallel configure

* update version record

* update version record

* bump version

* Update versions/o-/openssl.json

* update baseline

* Update ports/openssl/vcpkg-cmake-wrapper.cmake

* Update ports/openssl/vcpkg-cmake-wrapper.cmake

* Update versions/o-/openssl.json

* Update ports/openssl/vcpkg.json

* Update versions/o-/openssl.json

* Update ports/openssl/vcpkg.json

* Update versions/o-/openssl.json

* update version record
2021-06-11 08:45:08 -07:00
Ahmed Yarub Hani Al Nuaimi
c1c253fabc
[aws-sdk-cpp] [openssl] Fix iOS build (#17338)
* Add curl try_compile parameters
Don't set compiler when compiling for iOS

* Update OpenSSL and AWS SDK for C++ port versions

* [vcpkg baseline][marble] Disable find I18n

* update version record

* Update versions/a-/aws-sdk-cpp.json

* Update versions/o-/openssl.json

* Fix port-versions after merging master branch

* Update versions/a-/aws-sdk-cpp.json

* Update versions/o-/openssl.json

* Fix merge conflicts

* Merge master branch

* Refactor OpenSSL's build script

* Refactor OpenSSL's build script

* Fix version

* Fix WASM build

* Fix version

* Fix disabled flags

* Disable treating warnings as errors

* Disable treating warnings as errors

* Fix hashes

* fix indentation

* [aws-sdk-cpp] use the powershell file to generate

* Fix versions after merging

* Fix versions after merging

Co-authored-by: Ahmed Yarub Hani Al Nuaimi <ahmed.alnuaimi@zwift.com>
Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
2021-06-07 12:05:29 -07:00
Eric Hripko
ab3a32e2af
[openssl] Restore Blowfish cipher in OpenSSL (#18148)
* Include Blowfish cipher in OpenSSL

* Bump the version of the port

* x-add-version
2021-06-02 15:36:17 -05:00
Ahmed Yarub Hani Al Nuaimi
f519430b0f
[openssl] [aws-c-common] Fix AWS SDK for C++ build on WASM32 and Android (#17348)
* Add curl try_compile parameters
Don't set compiler when compiling for iOS

* Update OpenSSL and AWS SDK for C++ port versions

* [vcpkg baseline][marble] Disable find I18n

* update version record

* Fix AWS C Common build for WASM32

* Fix OpenSSL build for WASM32

* Update AWS C Common and OpenSSL versions

* Update versions/a-/aws-sdk-cpp.json

* Update versions/o-/openssl.json

* Fix port-versions after merging master branch

* Fix port-versions after merging master branch

* Update versions/o-/openssl.json

* Update versions/a-/aws-sdk-cpp.json

* Update versions/o-/openssl.json

* Fix merge conflicts

* Fix merge conflicts

* Update ports/aws-c-common/portfile.cmake

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>

* Update versions/a-/aws-c-common.json

* Update versions/o-/openssl.json

* Update versions/o-/openssl.json

* Update versions/o-/openssl.json

* Update ports/openssl/CONTROL

* Merge master branch and resolve merge conflicts

* Disable -moutline-atomics in Android also

* Revert line ending change

* Fix version info

Co-authored-by: Ahmed Yarub Hani Al Nuaimi <ahmed.alnuaimi@zwift.com>
Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2021-05-26 14:03:32 -07:00
Kai Pastor
d66dae4134
[Openssl] Fix mingw build (#17456)
* Use 'MINGW' when in CMake project mode

* Bump port-version, format manifest

* x-add-version
2021-05-06 14:00:37 -07:00