| #
97388e72 |
| 11-Oct-2025 |
Enji Cooper <ngie@FreeBSD.org> |
OpenSSL: install .pc files from the exporters subdir
The .pc files generated in the root directory are used as part of the build; they should never be installed. Use the versions from the exporters
OpenSSL: install .pc files from the exporters subdir
The .pc files generated in the root directory are used as part of the build; they should never be installed. Use the versions from the exporters subdirectory--which should be installed--as the .pc files which are distributed with FreeBSD. This avoids the need for "fixing up" these files after the fact (see `crypto/openssl/BSDmakefile` for more details as part of this change).
Garbage collect `secure/lib/libcrypto/Makefile.version`, et al, as they're orphaned files. They were technically unused prior to this change as the vendor process properly embeds the version numbers in various files, but this commit formalizes the removal.
This correction/clarification on the .pc files will be made in an upcoming release of OpenSSL [1].
References: 1. https://github.com/openssl/openssl/issues/28803
Suggested by: Richard Levitte (OpenSSL project) MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D53043
show more ...
|
|
Revision tags: release/13.5.0-p5, release/14.2.0-p7, release/14.3.0-p4 |
|
| #
52c4b76d |
| 17-Sep-2025 |
Enji Cooper <ngie@FreeBSD.org> |
crypto/openssl: fix importing new versions from pristine trees
Prior to this change, CC was not being passed through to Configure, which was resulting in failures when Configure was running compiler
crypto/openssl: fix importing new versions from pristine trees
Prior to this change, CC was not being passed through to Configure, which was resulting in failures when Configure was running compiler checks.
Pass through CC via `WRK_ENV` to Configure so the compiler is defined properly as part of the initial build.
MFC after: 1 month Fixes: d18058b7b850 ("crypto/openssl: apply polish to new vendor import process") Differential Revision: https://reviews.freebsd.org/D52595
show more ...
|
|
Revision tags: release/14.3.0-p3, release/14.2.0-p6, release/13.5.0-p4 |
|
| #
d18058b7 |
| 22-Aug-2025 |
Enji Cooper <ngie@FreeBSD.org> |
crypto/openssl: apply polish to new vendor import process
This change does the following 2 things: - Makes the build more repeatable by isolating the environment. This prevents bmake from leaking
crypto/openssl: apply polish to new vendor import process
This change does the following 2 things: - Makes the build more repeatable by isolating the environment. This prevents bmake from leaking variables into gmake and makes the overall process a bit more robust. - Add debug printouts to make the process more straightforward to the reader and whoever is executing doing the current vendor import.
MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D52420
show more ...
|
|
Revision tags: release/13.5.0-p3, release/14.2.0-p5, release/14.3.0-p2 |
|
| #
267f8c1f |
| 01-Aug-2025 |
Enji Cooper <ngie@FreeBSD.org> |
crypto/openssl: make vendor imports easier/less error prone
This change adds a custom BSD makefile containing multiple high-level PHONY targets, similar to targets provided by the ports framework.
crypto/openssl: make vendor imports easier/less error prone
This change adds a custom BSD makefile containing multiple high-level PHONY targets, similar to targets provided by the ports framework.
The Makefile does the following: - Reruns Configure with a deterministic set of arguments to ensure that all appropriate features have been enabled/disabled in OpenSSL. - Preens the pkgconfig files to remove duplicate paths in their `CFLAGS` and `includedir` variables. - Rebuilds all ASM files to ensure that the content contained is fresh. - Rebuilds all manpages to ensure that the content contained in the manpages is fresh.
Some additional work needs to be done to make the manpage regeneration "operation" reproducible (the date the manpages were generated is embedded in the files).
All dynamic configuration previously captured in `include/openssl/configuration.h` and `include/crypto/bn_conf.h` has been moved to `freebsd/include/dynamic_freebsd_configuration.h` and `freebsd/include/crypto/bn_conf.h`, respectively. This helps ensure that future updates don't wipe out FreeBSD customizations to these files, which tune behavior on a per-target architecture basis, e.g., ARM vs x86, 32-bit vs 64-bit, etc.
MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D51663
show more ...
|