Commit Graph

87 Commits

Author SHA1 Message Date
Christoph Reiter
aa5852e6c4 pathtools: expose sanitise_path() again
this doesn't really work if the private headers aren't included since the
prototype is missing then
2023-10-30 21:01:44 +01:00
Christoph Reiter
6dd4efad4c synchronize pathtools
no rebuilds, since nothing changed for users.
Thy only exception is extremetuxracer where the header
can now be included in cpp code as is.
2023-10-27 10:56:50 +02:00
Christoph Reiter
07c0ffdc6c openssl: Update to 3.1.4 2023-10-24 19:24:19 +02:00
Christoph Reiter
f6b20bc51d openssl: Update to 3.1.3 2023-09-20 11:59:20 +02:00
Christoph Reiter
4545a67b78 openssl: Update to 3.1.2
also fix the build in case mingw perl is installed by
forcing the msys one
2023-08-02 07:33:44 +02:00
مهدي شينون (Mehdi Chinoune)
d4f496c798 openssl: update to 3.1.1 2023-05-31 20:23:45 +01:00
مهدي شينون (Mehdi Chinoune)
6fc2a827f3 openssl: update to 3.1.0 2023-03-15 08:10:11 +01:00
Christoph Reiter
414933ec23 openssl: do relocation based on the dll instead of the exe
Otherwise things break in case of a Python venv, where the python.exe
is in a different location, or in a test suite, where an uninstalled
exe is run in the build directory.

Fixes #16129
2023-03-10 20:00:21 +01:00
Christoph Reiter
0738f348a5 openssl: sync pathtools and port to single_path_relocation()
This should not change anything in openssl.
The leak fixes synced in were already fixed in openssl,
and single_path_relocation() is the same as the custom code
in openssl.
2023-03-10 19:41:06 +01:00
Christoph Reiter
b78bff2bcc openssl: Update to 3.0.8 2023-02-07 18:35:54 +01:00
Jeremy Drake
f146b20066 openssl: backport ASM support for Windows on ARM64.
Based on b863e1e4c6
2023-01-30 14:19:55 -08:00
Biswapriyo Nath
2d20797cb6 openssl: Remove full path reference in binaries
This changes the full directories reference to prefixed path.
For example, the output of 'openssl.exe version -a' becomes

Before:
OPENSSLDIR: D:/a/msys64/ucrt64/etc/ssl
ENGINESDIR: D:/a/msys64/ucrt64/lib/engines-3
MODULESDIR: D:/a/msys64/ucrt64/lib/ossl-modules

After:
OPENSSLDIR: /ucrt64/etc/ssl
ENGINESDIR: /ucrt64/lib/engines-3
MODULESDIR: /ucrt64/lib/ossl-modules
2023-01-19 11:09:38 +05:30
Christoph Reiter
ff2cb0b716 openssl: fix modulesdir relocation
openssl 3 added a new path from which DLLs can be loaded at runtime,
currently the "legacy.dll".

This code path was missing the relocation support and looking for
the CI build path instead, resulting in code that tried to load
the legacy providers to fail (examples: python-cryptography, transmission)

It can also be reproduced via:
   openssl list -provider legacy -providers

Add relocation support to MODULESDIR to fix this.
2023-01-18 22:19:36 +01:00
مهدي شينون (Mehdi Chinoune)
2f97826e8a openssl: update to 3.0.7 2023-01-14 21:47:55 +01:00
Christoph Reiter
40cb47e294 openssl: clean up validpgpkeys
add all active keys and their names
2022-11-04 17:19:52 +01:00
Christoph Reiter
d213b8330f openssl: Update to 1.1.1s
Add new singing key
remove patch which is included in the new release
2022-11-04 16:29:01 +01:00
Christoph Reiter
1291c7d4e9 openssl: Update to 1.1.1q 2022-07-05 14:25:30 +02:00
Christoph Reiter
3713b220b2 openssl: Update to 1.1.1p 2022-06-22 08:49:18 +02:00
Christoph Reiter
7184858fd4 openssl: backport fix for broken EC code with clang 14
Some UB results in broken code starting with Clang 14. This only
affects the no-asm case, which is only used for our arm64 build.

This resulted in runtime errors such as:

19560:error:1012606B:elliptic curve routines:EC_POINT_set_affine_coordinates:point is not on curve:../openssl-1.1.1o/crypto/ec/ec_lib.c:813:
19560:error:100AF010:elliptic curve routines:ec_group_new_from_data:EC lib:../openssl-1.1.1o/crypto/ec/ec_curve.c:3083:
19560:error:100AE081:elliptic curve routines:EC_GROUP_new_by_curve_name:unknown group:../openssl-1.1.1o/crypto/ec/ec_curve.c:3159:
19560:error:100D7010:elliptic curve routines:eckey_pub_decode:EC lib:../openssl-1.1.1o/crypto/ec/ec_ameth.c:168:
19560:error:0B09407D:x509 certificate routines:x509_pubkey_decode:public key decode error:../openssl-1.1.1o/crypto/x509/x_pubkey.c:125:
2022-05-10 08:13:33 +02:00
Takuro Ashie
6008a21f0a openssl: Plug remaining memory leaks on calling relocation functions
It's a follow up fix for 9cccd9c8063356c53397a1aa37930c03bf8ef19b
2022-05-06 11:37:30 +02:00
Christoph Reiter
7a1a9b83bc openssl: fix leak when calling relocation related functions multiple times
Instead of relocating every time the getters are called,
relocate only on the first call for each path.

Fixes #11552
2022-05-06 11:37:30 +02:00
Biswapriyo Nath
87e733aed3 openssl: update to 1.1.1o 2022-05-04 10:02:35 +05:30
Biswapriyo Nath
117e9d63b0 openssl: update to 1.1.1n 2022-03-16 20:58:30 +05:30
Markus Mützel
ee0924b86e openssl: synchronize pathtools
Signed-off-by: Markus Mützel <markus.muetzel@gmx.de>
2022-03-11 10:23:50 +01:00
Markus Mützel
d528f9258e openssl: Export CC and CXX before calling configure and make. 2022-02-06 16:51:56 +01:00
Christoph Reiter
7c67d9c465 Make sure every package using a C/C++ compiler depends on one
The "cc" virtual package provides the environment default compiler.
2022-01-08 17:11:16 +01:00
Christoph Reiter
59457948c3 openssl: Update to 1.1.1m 2021-12-18 15:29:59 +01:00
Christoph Reiter
3eac67e2ca Makedepend on autotools where needed 2021-12-17 12:41:47 +01:00
Christoph Reiter
fb4c7b6913 openssl: Update to 1.1.1l 2021-08-24 17:04:20 +02:00
Christoph Reiter
35848a7ae0 More rebuilds 2021-08-15 15:18:22 +02:00
Jeremy Drake
d93748c8e8 bump "core" packages that use time_t
These are packages that were part of "bootstrapping" clang prefixes.
For #9295.  I don't know if their dependencies auso need rebuilding, but
this is a start.
2021-08-10 11:04:34 -07:00
Johannes Schindelin
e76b7a2827 openssl: synchronize with mingw-w64-pathtools
Just like `mingw-w64-curl`, `mingw-w64-openssl` is now also built with a
literal copy of `mingw-w64-pathtools`' source code.

This adds the `get_dll_path()` function (which is unused by the
`openssl` code), and it also forward-ports the patch where we now
preserve UNC paths when normalizing/simplifying paths.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2021-07-19 17:31:09 +02:00
Christoph Reiter
a80fe5efc4 Enable clangarm64 for bootstrap packages 2021-05-13 16:17:13 +02:00
Christoph Reiter
977d3b5e02 Enable clang32 for all packages already in the repo 2021-04-25 15:26:34 +02:00
Christoph Reiter
58acb56691 Enable clang64 for all packages already in the repo 2021-04-23 13:26:20 +02:00
Jeremy Drake
54b6558c59 openssl: add mingw arm configs, and disable asm for them 2021-04-09 22:51:03 -07:00
Christoph Reiter
b6facd5747 More ucrt 2021-03-26 18:35:34 +01:00
sophia
00efd2ef43 openssl: 1.1.1k 2021-03-25 10:32:00 -05:00
Christoph Reiter
12e2c49c75 openssl: Update to 1.1.1j 2021-02-17 19:23:30 +01:00
Christoph Reiter
276f88142b openssl: Update to 1.1.1i 2020-12-08 20:41:05 +01:00
Christoph Reiter
41d0dc4f68 openssl: Update to 1.1.1h 2020-09-22 20:35:34 +02:00
Christoph Reiter
686fc03453 openssl: switch license to "custom:BSD"
as suggested in #6658
2020-08-05 22:34:43 +02:00
MSP-Greg
e4ef4b7791 openssl: Update to 1.1.1g 2020-04-22 10:25:29 -05:00
MSP-Greg
2ad58ceb01 openssl: Update to 1.1.1f
1.1.1f is a 'bug fix only release', and fixes a breaking change introduced in 1.1.1e involving error handling.

See:
https://mta.openssl.org/pipermail/openssl-announce/2020-March/000168.html
2020-03-31 13:51:02 -05:00
Alexey Pavlov
e6fa330de7 openssl: Update to 1.1.1e 2020-03-18 10:59:19 +03:00
Nehal J Wani
55de613740 Fix memcpy-param-overlap in patch for relocation
Prefer memmove over memcpy for overlapping memory regions, otherwise it
triggers the address sanitizer with:

ERROR: AddressSanitizer: memcpy-param-overlap: memory ranges [x,y) and [a,b) overlap
2020-01-13 04:07:48 -08:00
Andrew Sun
52c45d3cf7 openssl: update to 1.1.1.d 2019-09-12 21:15:10 -04:00
Christoph Reiter
7b01355dd9 openssl: remove unused patches 2019-08-15 16:14:10 +02:00
Andrew Sun
6276b9e31c openssl: update to 1.1.1.c 2019-05-28 15:49:01 -04:00
Alexey Pavlov
5e0b0fc48d openssl: Update to 1.1.1b 2019-02-27 09:15:43 +03:00