<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openssl/configdata.pm.in, branch openssl-3.4.5</title>
<subtitle>TLS/SSL and crypto library.</subtitle>
<id>http://git.bktus.com/gpgfrontend/openssl/atom?h=openssl-3.4.5</id>
<link rel='self' href='http://git.bktus.com/gpgfrontend/openssl/atom?h=openssl-3.4.5'/>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/'/>
<updated>2024-11-29T16:08:03Z</updated>
<entry>
<title>die() in .tmpl file should not be silently ignored.</title>
<updated>2024-11-29T16:08:03Z</updated>
<author>
<name>Alexandr Nedvedicky</name>
<email>sashan@openssl.org</email>
</author>
<published>2024-11-26T08:05:09Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=7de1da22abf050bf8ed01e4848fe0f2a5b279bc4'/>
<id>urn:sha1:7de1da22abf050bf8ed01e4848fe0f2a5b279bc4</id>
<content type='text'>
call to die() in perl templates is currently ignored.
any error printed by die() commad appears in template
output.

In order to make sure die() terminates processing we
must ensure we emite `undef` value. This is ensured
by adding a `BROKEN` callback to `fill_in()` Template
method. The callback must return undef to stop processing.

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/26064)

(cherry picked from commit 578760bb6aae6a9d7f3805eea66bab124d06c9b0)
</content>
</entry>
<entry>
<title>Use $config{build_file} instead of $target{build_file}</title>
<updated>2023-02-01T07:30:04Z</updated>
<author>
<name>Richard Levitte</name>
<email>levitte@openssl.org</email>
</author>
<published>2023-01-30T12:54:01Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=aa2d7e0ee15d1b7015479c38f370a25ceec690fc'/>
<id>urn:sha1:aa2d7e0ee15d1b7015479c38f370a25ceec690fc</id>
<content type='text'>
If the user specifies an alternative build file than the default, this
alternative is recorded in $config{build_file}, not $target{build_file}.
Therefore, the former should be used, leaving the latter as a mere default.

This is a bug.  While fixing it, document it better too.

Reviewed-by: Matt Caswell &lt;matt@openssl.org&gt;
Reviewed-by: Tomas Mraz &lt;tomas@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/20173)
</content>
</entry>
<entry>
<title>Configuration: produce include/openssl/configuration.h when configuring</title>
<updated>2022-05-22T15:33:08Z</updated>
<author>
<name>Richard Levitte</name>
<email>levitte@openssl.org</email>
</author>
<published>2021-08-23T06:54:37Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=2522889620446f1e56338367d1b6b028ea952bb4'/>
<id>urn:sha1:2522889620446f1e56338367d1b6b028ea952bb4</id>
<content type='text'>
The goal is to avoid having too much of the OpenSSL source rebuilt
because include/openssl/configuration.h, or even because it was a
Makefile target that was called upon (some make implementations
consider the use of a target as an update of that target, even if it
wasn't really updated).

To resolve this, we move the production of include/openssl/configuration.h
to configdata.pm, and only update it if there were any actual changes.

Fixes #16377

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/16378)
</content>
</entry>
<entry>
<title>Configuration: only produce a new configdata.pm if it has changed contents</title>
<updated>2022-05-22T15:33:08Z</updated>
<author>
<name>Richard Levitte</name>
<email>levitte@openssl.org</email>
</author>
<published>2021-08-23T06:48:02Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=764cf5b26306a8712e8b3d41599c44dc5ed07a25'/>
<id>urn:sha1:764cf5b26306a8712e8b3d41599c44dc5ed07a25</id>
<content type='text'>
The goal is to avoid having too much of the OpenSSL source rebuilt
because configdata.pm got a new time stamp.  The conditions for
updating configdata.pm are now:

1.  its time stamp is older than Configure's, or...
2.  its contents has changed.

Fixes #16377

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/16378)
</content>
</entry>
<entry>
<title>Fix typos</title>
<updated>2022-01-05T11:37:20Z</updated>
<author>
<name>Dimitris Apostolou</name>
<email>dimitris.apostolou@icloud.com</email>
</author>
<published>2022-01-02T23:00:27Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=e304aa87b35fac5ea97c405dd3c21549faa45e78'/>
<id>urn:sha1:e304aa87b35fac5ea97c405dd3c21549faa45e78</id>
<content type='text'>
Reviewed-by: Tim Hudson &lt;tjh@openssl.org&gt;
Reviewed-by: Tomas Mraz &lt;tomas@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/17392)
</content>
</entry>
<entry>
<title>configdata.pm: Allow extra arguments when --query is given.</title>
<updated>2021-05-29T09:02:37Z</updated>
<author>
<name>Richard Levitte</name>
<email>levitte@openssl.org</email>
</author>
<published>2021-05-28T05:51:05Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=e653b04bd29f35ee9703be8ee6691b4a640ee2b4'/>
<id>urn:sha1:e653b04bd29f35ee9703be8ee6691b4a640ee2b4</id>
<content type='text'>
That allows operations like this:

    ./configdata.pm --query 'get_sources(@ARGV)' file1 file2 file3

Reviewed-by: Tomas Mraz &lt;tomas@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/15514)
</content>
</entry>
<entry>
<title>Fix configdata.pm.in's "use lib" for VMS</title>
<updated>2021-05-19T10:31:34Z</updated>
<author>
<name>Richard Levitte</name>
<email>levitte@openssl.org</email>
</author>
<published>2021-05-17T15:20:58Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=0c1428f4418cbd4d449bd43100017b85db17b17d'/>
<id>urn:sha1:0c1428f4418cbd4d449bd43100017b85db17b17d</id>
<content type='text'>
`use lib` needs Unix formatted paths.  For VMS, it means that we must
make sure to convert paths, and we may as well generalise it.

In this case, we need to adapt the functions sourcedir() and sourcefile()

Reviewed-by: Tim Hudson &lt;tjh@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/15317)
</content>
</entry>
<entry>
<title>Rework how a build file (Makefile, ...) is produced</title>
<updated>2021-05-19T08:13:02Z</updated>
<author>
<name>Richard Levitte</name>
<email>levitte@openssl.org</email>
</author>
<published>2021-05-17T12:33:16Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=2660b7cfbad710dcd9df26e68c18d6c7d6ebaca0'/>
<id>urn:sha1:2660b7cfbad710dcd9df26e68c18d6c7d6ebaca0</id>
<content type='text'>
The memory footprint of how we produced the Makefile was quite...
important, because we have all the processing in one perl snippet, and
generate the details of the build file by appending to the "magic"
variable $OUT.  The result is that this variable gets to hold the
majority of the build file text, and depending on memory reallocation
strategies for strings, the heap may hold multiple (possibly not just
a few) copies of this string, almost all of them "freed" but still
taking up space.  This has resulted in memory exhaustion.

We therefore change strategy, and generate the build file in two
phases, where the first phase generates the full template using small
perl snippets for each detail, and the second phase processes this
template.  This is much kinder to process memory.

Reviewed-by: Tomas Mraz &lt;tomas@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/15310)
</content>
</entry>
<entry>
<title>Move some OpenSSL perl utility functions to OpenSSL::Util</title>
<updated>2021-05-19T08:13:02Z</updated>
<author>
<name>Richard Levitte</name>
<email>levitte@openssl.org</email>
</author>
<published>2021-05-17T12:25:12Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=da51dc5f68c9e7924be3d5071ba8aea439a4d1c9'/>
<id>urn:sha1:da51dc5f68c9e7924be3d5071ba8aea439a4d1c9</id>
<content type='text'>
quotify1() and quotify_l() were in OpenSSL::Template, but should be
more widely usable.

configdata.pm.in's out_item() is also more widely useful and is
therefore moved to OpenSSL::Util as well, and renamed to dump_data().

Reviewed-by: Tomas Mraz &lt;tomas@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/15310)
</content>
</entry>
<entry>
<title>Add OpenSSL::Config::Query and use it in configdata.pm</title>
<updated>2021-05-04T09:29:56Z</updated>
<author>
<name>Richard Levitte</name>
<email>levitte@openssl.org</email>
</author>
<published>2021-04-26T17:41:54Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=841a438c7f67f697dd6710b26cc6536dd76a420a'/>
<id>urn:sha1:841a438c7f67f697dd6710b26cc6536dd76a420a</id>
<content type='text'>
OpenSSL::Config::Query is a configuration querying tool that's meant
to make it easier to query the diverse configuration data for info.
That's much easier than to dig through all the parts of %unified_info.

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