]> code.ossystems Code Review - openembedded-core.git/commit
openssl: use deterministic perl Text::Template module bundled by openssl source
authorHongxu Jia <hongxu.jia@windriver.com>
Fri, 12 Oct 2018 16:28:48 +0000 (09:28 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 12 Oct 2018 17:02:35 +0000 (18:02 +0100)
commit5e7a75c226d4df0c066f04eaea014b8888c6bed2
treec0871d3ceb0039b0f8ef98cb334af79048c0e6e5
parente64a30f7af87fa960b012ace92c51b88e8abae68
openssl: use deterministic perl Text::Template module bundled by openssl source

1. The building openssl requires to install perl Text::Template module(>=1.46),
but Text::Template is a non core Perl module, openssl chooses to bundle
Text::Template 1.46 into the source, for convenience.
https://github.com/openssl/openssl/commit/8ff2af548303d311ce3591406111f77862875a60

2. While Text::Template < 1.46, the produced build files are gravely faulty.
https://github.com/openssl/openssl/pull/6682

3. If host has installed Text::Template < 1.46 (such as CentOS-7.5 has Text::
Template 1.45). The mismatched old module was used although the right one in
openssl source.

So set PERL5LIB to use deterministic perl Text::Template module bundled
by openssl source and ignore the one of host

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-connectivity/openssl/openssl_1.1.1.bb