Commit Graph

148 Commits

Author SHA1 Message Date
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
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