Commit Graph

28 Commits

Author SHA1 Message Date
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
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
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
b2e069bb3e
[openssl] Fix win64 perlasm scheme (#32957)
* [openssl] Fix win64 perlasm scheme

* CI
2023-08-07 09:15:49 -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
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
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
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
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
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
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
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
Raul Metsma
85308d1a21
[OpenSSL] Update to 1.1.1k (#16937)
* [OpenSSL] Update to 1.1.1k

Signed-off-by: Raul Metsma <raul@metsma.ee>

* Update JSON file

Signed-off-by: Raul Metsma <raul@metsma.ee>

Co-authored-by: Billy Robert ONeal III <bion@microsoft.com>
2021-04-30 11:34:56 -07:00
Alexander Neumann
63dccf771d
[OpenSSL] refactor openssl ports. (#14308) 2020-11-03 22:59:02 -08:00