Commit Graph

76 Commits

Author SHA1 Message Date
Raul Metsma 031ad89ce6
[OpenSSL] Update to 3.5.1 (#46263)
Signed-off-by: Raul Metsma <raul@metsma.ee>
2025-07-03 09:09:06 +00:00
Michał Petryka 0d5cae1530
[openssl] Backport a Windows crash fix patch for 3.5 (#45080) 2025-04-19 09:05:03 +00:00
Kai Pastor 2ad004460f
[openssl] Update to 3.5.0 (#44918) 2025-04-09 10:45:22 +00:00
Osyotr 5ee5eee0d3
[openssl] Update to 3.4.1 (#43771) 2025-02-12 19:11:53 -08:00
Kai Pastor 42452c3443
[openssl] emscripten toolchain controls thread support (#43671) 2025-02-10 19:21:55 -08:00
Kai Pastor f0a401b174
[openssl] Fix build with `"C:\Program Files\<...>\cl.exe"` (#43089) 2025-01-08 11:11:36 -05:00
Kai Pastor 11faa3f168
[openssl] Update to 3.4.0 (#41727) 2024-10-29 13:34:50 -07:00
Osyotr 49e1e8f775
[openssl] Add upstream patch to fix build with old versions of perl (#40881) 2024-09-10 13:45:18 -07:00
JonLiu1993 efcefeff87
[openssl] update to 3.3.2 (#40794)
Co-authored-by: Jon <v-zhli17@microsoft.com>
2024-09-08 11:50:08 -07:00
Kai Pastor db0f4e665e
[openssl] Fix arm-neon-android asm (#33955)
Follow-up from #33890, tentative arm-neon-android asm patch.

Patch submitted upstream: https://github.com/openssl/openssl/pull/22181,
tagged "severity: fips change".
2024-06-28 14:51:23 -07:00
JonLiu1993 4065f37d0a
[OpenSSL] update to 3.3.1 (#39162) 2024-06-10 16:26:54 -07:00
Stefano Sinigardi ce2c1f0def
[openssl] install cmake config wrapper only at the end (#38398)
Fixes #37987

- [x] Changes comply with the [maintainer
guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md).
- [x] SHA512s are updated for each updated download.
- [x] The "supports" clause reflects platforms that may be fixed by this
new version.
- [x] Any fixed [CI
baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt)
entries are removed from that file.
- [x] 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.

i don't know why adding the config wrapper at the beginning results in a
missing file in the end, but at least in this way it works.

Could it be that including a portfile in a portfile triggers any cleanup
in the packages folder?
2024-05-13 12:50:35 -07:00
Kai Pastor 8d1bb02da0
[openssl] Update to 3.3.0, limited cmake config fixup (#38173)
Based on #38118, credits: @talregev.

OpenSSL now installs a CMake config, but it is not generated by CMake,
and it is not multi-config capable. This limitation affects location
properties, interface link libraries and package variables.
This PR just patches the config to chainload CMake's Find module.
Together with vcpkg's cmake wrapper, this immediately gives the desired
imported targets in a multi-config configuration when a user really
requests `OpenSSL CONFIG`.

---------

Co-authored-by: Tal Regev <tal.regev@gmail.com>
2024-04-15 14:18:29 -04:00
Kai Pastor 84e008654e
[openssl] Enforce cmd for nmake (#37716)
Fixes https://github.com/microsoft/vcpkg/issues/37134.
Fixes https://github.com/microsoft/vcpkg/issues/35949.
2024-03-27 14:54:54 -07:00
Kai Pastor 46e4c4c78c
[openssl] Set linux-x32 for emscripten (#37076) 2024-03-20 11:29:20 -07:00
Dr.-Ing. Carsten Grimm d83f4e9e56
[openssl] update to 3.2.1 (#36560)
* [openssl] update to 3.2.1

* [openssl] remove patches that were applied upstream

* [openssl] regenerate version info
2024-02-06 13:11:12 -08:00
Vitalii Koshura baa9580d7d
[openssl] Disable building quicserver utility. (#35838)
Thix fixes #35792.

Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
Co-authored-by: vzhli17 <v-zhli17@microsoft.com>
2024-01-04 11:59:47 -08:00
Benjamin Just ec05fe4a59
[openssl] add feature to enable ssl3/weak-ssl-ciphers (#35196) 2023-12-21 11:17:20 -08:00
Kai Pastor e2f6384a79
[openssl] Update to 3.2.0 (#35734)
Co-authored-by: مهدي شينون (Mehdi Chinoune) <mehdi.chinoune@hotmail.com>
2023-12-19 16:31:02 -08:00
Evgeny Karpov 795111ff31
[OpenSSL] Enabling Arm64 assembly on Windows by using clang (#34711)
* * Enable Arm64 assembly optimization on Windows by using clang

* * find and add clang folder to the patch

* * update version

* * refactor based on the review

* * update version

* * fix arm64_uwp build

* * update version

* * fix arm64_uwp build

* * update version

* * refactoring

* * update version

* * use clang c_flags only for clang on Arm64

* * update version

* * update version
2023-11-05 09:34:01 -08:00
Frank 98a562a04c
[openssl] Update version to 3.1.4 (#34734)
* [openssl] Update version to 3.1.4

* version
2023-10-27 11:30:01 -07:00
Kai Pastor 5a38b5ec0e
[openssl] Update to 3.1.3, disable asm on arm32 neon (#33890)
* [openssl] update version to 3.1.3

* [openssl] removed patches that are already applied in version 3.1.3 for windows

* [openssl] format vcpkg.json

* [openssl] update version information

* Revert armcap changes (WIP)

* WIP

* Revert "Revert armcap changes (WIP)"

This reverts commit a451e6e0be.

* Trace

* Revert "Trace"

This reverts commit 91e6428688.

* [openssl] Disable asm also on arm32 neon

* Revert "WIP"

This reverts commit b7c3a6d961.

---------

Co-authored-by: Carsten Grimm <carsten.grimm@ipolog.ai>
2023-09-23 22:24:50 -07:00
Kai Pastor be063cfe4a
[openssl] Fix armv8 asm [fastrtps] Fix configure race (#33515) 2023-09-05 22:38:10 -07:00
JonLiu1993 39c703eb01
[openssl] Fix compile error on arm64-android (#33421)
* [openssl] Fix compile error on arm64-android

* update version

---------

Co-authored-by: Zhao Liu <v-zhli17@microsoft.com>
2023-08-30 12:56:38 -07:00
Kai Pastor b2e069bb3e
[openssl] Fix win64 perlasm scheme (#32957)
* [openssl] Fix win64 perlasm scheme

* CI
2023-08-07 09:15:49 -07:00
JonLiu1993 ab5927a4f8
[openssl] update to 3.1.2 (#32919)
* [openssl] update to 3.1.2

* update version

---------

Co-authored-by: Zhao Liu <v-zhli17@microsoft.com>
2023-08-04 06:55:10 -07:00
Alonso Schaich 4a3c366f2d
[openssl] Use bash from PATH rather then /bin (#32289)
* [openssl] Use bash from PATH rather then /bin (microsoft/vcpkg#32288)

The configure script used to invoke python during the build process contains
a shebang that invokes /bin/bash independend of whatever bash would usually
resolve to.

This breaks compilation on FreeBSD, where bash isn't part of the operating
system.

Rather then /bin/bash, invoke /usr/bin/env bash, which resolves the bash
command by iterating PATH

* [openssl] regenerate versions registries (microsoft/vcpkg#32288)
2023-06-30 17:37:52 -07:00
Mengna Li 6172c4b5a0
update to 3.1.1 (#31734) 2023-06-01 11:03:26 -07:00
Frank Lichtenheld c102be8b23
openssl: Fix installation of openssl[core,tools] (#31171)
Do not try to install file that does not exist.

Fixes #31170

Signed-off-by: Frank Lichtenheld <frank@lichtenheld.com>
2023-05-04 10:44:41 -07:00
lbermes e52999ee1a
[openssl] correct fipsmodule install (#31142)
* Corrected fipsmodule.cnf install

move it to the same position as openssl.cnf, both are only examples of openssl

* Adjusted port version

* Adjusted SHA for vcpkg x-add-version --all

---------

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2023-04-27 22:48:59 -07:00
lbermes 6ffa0fc3a4
[openssl] support fips build feature (#30916)
* Added option to enable fips build for openssl

I only implement and tested it for windows as I have no option to do this under linux

* Adjusted port version

* Updated to support only for Windows

* Corrected Formatting

* Corrected SHA for vcpkg x-add-version --all

* Changes requested by review

Removed the not needed FEATURE FIPS
Initialize INSTALL_FIPS as empty

* Corrected SHA for vcpkg x-add-version --all

* Removed Windows only support

* Corrected SHA for vcpkg x-add-version --all

* Added "supports": "!static"

As the provider conecpts needs dynamic linkage

* Corrected SHA for vcpkg x-add-version --all
2023-04-21 15:02:05 -07:00
Kai Pastor 7838c255f5
[openssl] Omit emmake (#30400)
* [openssl] Omit emmake

* [libimobiledevice] Fix pkgconf dependency

* [libcaer] Fix pkgconf dependency
2023-03-28 14:49:27 -07:00
talregev e84a58fe26
update openssl to 3.1.0 (#30263) 2023-03-20 11:45:56 -07:00
Kai Pastor 73b9a2a359
[openssl,vcpkg-cmake-get-vars] Fix android and emscripten, add feature `tools` (#29966)
* [vcpkg-cmake-get-vars] Call 'project' early

System variables like 'APPLE' or 'ANDROID' aren't set before 'project()'.

* Get Android variables

* [openssl] Ensure that compiler is reached via 'PATH'

* Fix Android configuration

* Add 'tools' feature

* Update versions

* [openssl] Initialize android with vcpkg settings

* [openssl] Really don't build apps

* [vcpkg-cmake-get-vars] Update android vars

* [libpq] Pass openssl version from pkgconfig

* [vcpkg-cmake-get-vars] Update android vars

* [vcpkg-cmake-get-vars] Report generator

* [vcpkg-cmake-get-vars] Escape all output

* Transfer cmake-get-vars fixes

* Transfer cmake-get-vars extra flags

* no-asm for android-arm w/o neon

* [vcpkg_configure_make] Unquote as needed

Toolchain flags are passed into make via environment variables (e.g.
CFLAGS) and expanded by Makefiles regardless of quotes. And even vcm's
internal handling isn't prepared for these quotes. So we must remove
the early. This doesn't interfere with properly escaped quotes.

* Re-add lost 'project', amends 4cf7caaa

* [openssl] Fix emscripten
2023-03-14 14:11:06 -07:00
Kai Pastor 9ccc64ca98
[openssl] Finish unified configuration for windows and non-windows (#27261)
* Simplify non-windows openssl build

* No static libs in dynamic triplet

* Install /etc/ssl

* Refactor common and specific setup

* Fix debug configuration

* cleanup

* Remove deprecated no-ssl2 option

e80381e1a3

* Fix absolute path

* No legacy target for debug

* Check for Perl's IPC::Cmd

* Update linux kernel headers message

* CR requests
2023-02-28 11:20:45 -08:00
Yavor Georgiev 6706cf05f0
[OpenSSL] Update to 3.0.8 (#29530)
* Update to OpenSSL 3.0.8

* update manifests
2023-02-10 11:14:37 -08:00
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