<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openssl/exporters/cmake, branch dependabot/github_actions/actions/setup-python-7</title>
<subtitle>TLS/SSL and crypto library.</subtitle>
<id>http://git.bktus.com/gpgfrontend/openssl/atom?h=dependabot%2Fgithub_actions%2Factions%2Fsetup-python-7</id>
<link rel='self' href='http://git.bktus.com/gpgfrontend/openssl/atom?h=dependabot%2Fgithub_actions%2Factions%2Fsetup-python-7'/>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/'/>
<updated>2026-03-26T15:14:26Z</updated>
<entry>
<title>Slight enhancement of commentary for exported configurations</title>
<updated>2026-03-26T15:14:26Z</updated>
<author>
<name>Richard Levitte</name>
<email>levitte@openssl.org</email>
</author>
<published>2025-10-11T04:53:18Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=3bc23e1d2470ad1366c17fcb784e4a4daec4d6f2'/>
<id>urn:sha1:3bc23e1d2470ad1366c17fcb784e4a4daec4d6f2</id>
<content type='text'>
There's a misunderstanding regarding the use of .pc and .cmake files
found in the top of the build tree vs in its 'exporters' subdirectory.

Some added commentary, especially in the files being produced, might
help clarify their uses.

Resolves: https://github.com/openssl/openssl/issues/28803

Reviewed-by: Eugene Syromiatnikov &lt;esyr@openssl.org&gt;
Reviewed-by: Nikola Pajkovsky &lt;nikolap@openssl.org&gt;
MergeDate: Thu Mar 26 15:19:09 2026
(Merged from https://github.com/openssl/openssl/pull/28858)
</content>
</entry>
<entry>
<title>Remove unused Data::Dumper from cmake exporter</title>
<updated>2026-01-08T08:55:48Z</updated>
<author>
<name>Andreas Aigner</name>
<email>andreas.aigner@dcs-computing.com</email>
</author>
<published>2024-06-12T07:27:36Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=2a0aea5a9b5d1cfc1a115de0e0a7f0faf13f8c70'/>
<id>urn:sha1:2a0aea5a9b5d1cfc1a115de0e0a7f0faf13f8c70</id>
<content type='text'>
* Remove additional dependency for old build boxes (in particular centos)

CLA: trivial

Reviewed-by: Richard Levitte &lt;levitte@openssl.org&gt;
Reviewed-by: Tomas Mraz &lt;tomas@openssl.org&gt;
MergeDate: Thu Jan  8 08:55:10 2026
(Merged from https://github.com/openssl/openssl/pull/24632)

(cherry picked from commit df0a0fd613cb36a252ea20076d86408a5da2bd43)
</content>
</entry>
<entry>
<title>Remove ENGINESDIR variable and engines installation from Makefiles.</title>
<updated>2025-12-04T12:31:06Z</updated>
<author>
<name>Milan Broz</name>
<email>gmazyland@gmail.com</email>
</author>
<published>2025-09-19T11:03:07Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=cfd96295fc9df42ce7e07f000fa21efb08204456'/>
<id>urn:sha1:cfd96295fc9df42ce7e07f000fa21efb08204456</id>
<content type='text'>
For compatibility reasons, OPENSSL_ENGINES_DIR and OPENSSL_INFO_ENGINES_DIR
are still supported but return values like with engines disabled.

The OPENSSL_ENGINES environment variable will be removed with engine
removal later.

Resolves: https://github.com/openssl/project/issues/1425

Signed-off-by: Milan Broz &lt;gmazyland@gmail.com&gt;

Reviewed-by: Tomas Mraz &lt;tomas@openssl.org&gt;
Reviewed-by: Saša Nedvědický &lt;sashan@openssl.org&gt;
Reviewed-by: Saša Nedvědický &lt;sashan@openssl.org&gt;
Reviewed-by: Eugene Syromiatnikov &lt;esyr@openssl.org&gt;
Reviewed-by: Neil Horman &lt;nhorman@openssl.org&gt;
Reviewed-by: Matt Caswell &lt;matt@openssl.org&gt;
Reviewed-by: Norbert Pocs &lt;norbertp@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/29305)
</content>
</entry>
<entry>
<title>fix: for exporters to work for build config, there may be two include dirs</title>
<updated>2024-08-27T15:20:12Z</updated>
<author>
<name>Richard Levitte</name>
<email>levitte@openssl.org</email>
</author>
<published>2024-07-17T16:23:57Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=accd835f8d6ed946eb540a3e2e82f9723093f094'/>
<id>urn:sha1:accd835f8d6ed946eb540a3e2e82f9723093f094</id>
<content type='text'>
For CMake / pkg-config configuration files to be used for an uninstalled
build, the include directory in the build directory isn't enough, if that
one is separate from the source directory.  The include directory in the
source directory must be accounted for too.

This includes some lighter refactoring of util/mkinstallvars.pl, with the
result that almost all variables in builddata.pm and installdata.pm have
become arrays, even though unnecessarily for most of them; it was simpler
that way.  The CMake / pkg-config templates are adapted accordingly.

Reviewed-by: Neil Horman &lt;nhorman@openssl.org&gt;
Reviewed-by: Tomas Mraz &lt;tomas@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/24918)
</content>
</entry>
<entry>
<title>fix: exporters/cmake/OpenSSLConfig.cmake.in to work for build config</title>
<updated>2024-08-27T15:20:12Z</updated>
<author>
<name>Richard Levitte</name>
<email>levitte@openssl.org</email>
</author>
<published>2024-07-17T09:09:11Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=a82d9e572cc757e4fa50d484bfbb7115f2d027dd'/>
<id>urn:sha1:a82d9e572cc757e4fa50d484bfbb7115f2d027dd</id>
<content type='text'>
This template file is made to make both:

1. OpenSSLConfig.cmake (CMake config used when building a CMake package
   against an uninstalled OpenSSL build)
2. exporters/OpenSSLConfig.cmake (CMake config that's to be installed
   alongside OpenSSL, and is used when building a CMake package against
   an OpenSSL installation).

Variant 1 was unfortunately getting the internal '_ossl_prefix' variable
wrong, which is due to how the perl snippet builds the command(s) to figure
out its value.  That needed some correction.

Reviewed-by: Neil Horman &lt;nhorman@openssl.org&gt;
Reviewed-by: Tomas Mraz &lt;tomas@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/24918)
</content>
</entry>
<entry>
<title>Fix cmake generator</title>
<updated>2024-07-16T15:12:04Z</updated>
<author>
<name>Neil Horman</name>
<email>nhorman@openssl.org</email>
</author>
<published>2024-07-14T12:57:25Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=c1a27bdeb9a4f915aa92ed0e74ed48a1f9b94176'/>
<id>urn:sha1:c1a27bdeb9a4f915aa92ed0e74ed48a1f9b94176</id>
<content type='text'>
PR #24678 modified some environment variables and locations that the
cmake exporter depended on, resulting in empty directory resolution.
Adjust build build.info and input variable names to match up again

Fixes #24874

Reviewed-by: Richard Levitte &lt;levitte@openssl.org&gt;
Reviewed-by: Tomas Mraz &lt;tomas@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/24877)
</content>
</entry>
<entry>
<title>Adapt all the exporter files to the new vars from util/mkinstallvars.pl</title>
<updated>2024-06-25T19:32:43Z</updated>
<author>
<name>Richard Levitte</name>
<email>levitte@openssl.org</email>
</author>
<published>2024-06-20T12:33:15Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=30dc37d798a0428fd477d3763086e7e97b3d596f'/>
<id>urn:sha1:30dc37d798a0428fd477d3763086e7e97b3d596f</id>
<content type='text'>
With this, the pkg-config files take better advantage of relative directory
values.

Fixes #24298

Reviewed-by: Neil Horman &lt;nhorman@openssl.org&gt;
Reviewed-by: Tomas Mraz &lt;tomas@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/24687)
</content>
</entry>
<entry>
<title>exporters/cmake/OpenSSLConfig.cmake.in: Detect missing `platform-&gt;sharedlib_import`</title>
<updated>2023-12-02T13:15:25Z</updated>
<author>
<name>Richard Levitte</name>
<email>levitte@openssl.org</email>
</author>
<published>2023-11-21T12:45:13Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=dd5fe94a61b4455630cbb2988da71949e88f8b6a'/>
<id>urn:sha1:dd5fe94a61b4455630cbb2988da71949e88f8b6a</id>
<content type='text'>
Some platform implementations are without `sharedlib_import()`, so we need
to check that it exists before using it.

Reviewed-by: Tomas Mraz &lt;tomas@openssl.org&gt;
Reviewed-by: Todd Short &lt;todd.short@me.com&gt;
(Merged from https://github.com/openssl/openssl/pull/22789)
</content>
</entry>
<entry>
<title>Add exporters for CMake</title>
<updated>2023-11-15T07:22:29Z</updated>
<author>
<name>Richard Levitte</name>
<email>levitte@openssl.org</email>
</author>
<published>2023-05-03T10:36:09Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=c768ccebc718ea0ed6afc5147fe4079fff632cd6'/>
<id>urn:sha1:c768ccebc718ea0ed6afc5147fe4079fff632cd6</id>
<content type='text'>
CMake's older package finder, FindOpenSSL.cmake, does a best guess effort
and doesn't always get it right.

By CMake's own documentation, that's what such modules are (best effort
attempts), and package producers are (strongly) encouraged to help out by
producing and installing &lt;PackageName&gt;Config.cmake files to get a more
deterministic configuration.

The resulting OpenSSLConfig.cmake tries to mimic the result from CMake's
FindOpenSSL.cmake, by using the same variable and imported target names.
It also adds a few extra variables of its own, such as:

    OPENSSL_MODULES_DIR     Indicates the default installation directory
                            for OpenSSL loadable modules, such as providers.
    OPENSSL_RUNTIME_DIR     Indicates the default runtime directory, where
                            for example the openssl program is located.
    OPENSSL_PROGRAM         Is the full directory-and-filename of the
                            openssl program.

The imported targets OpenSSL::Crypto and OpenSSL::SSL are as precisely
specified as possible, so for example, they are specified with the both the
import library and the DLL on Windows, which should make life easier on that
platform.

For the moment, one of the following must be done in your CMake project for
this CMake configuration to take priority over CMake's FindOpenSSL.cmake:

-   The variable CMAKE_FIND_PACKAGE_PREFER_CONFIG must be set to true prior
    to the 'find_package(OpenSSL)' call.
-   The 'find_package' call itself must use the "Full Signature".  If you
    don't know any better, simply add the 'CONFIG' option, i.e. from this
    example:

        find_package(OpenSSL 3.0 REQUIRED)

    to this:

        find_package(OpenSSL 3.0 REQUIRED CONFIG)

Just as with the 'pkg-config' exporters, two variants of the .cmake files
are produced:

- Those in 'exporters/' are installed in the location that 'pkg-config'
  itself prefers for installed packages.
- Those in the top directory are to be used when it's desirable to build
  directly against an OpenSSL build tree.

Reviewed-by: Paul Dale &lt;pauli@openssl.org&gt;
Reviewed-by: Tomas Mraz &lt;tomas@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/20878)
</content>
</entry>
</feed>
