diff options
| -rw-r--r-- | meta/recipes-connectivity/openssl/openssl/reproducible.patch | 32 | ||||
| -rw-r--r-- | meta/recipes-connectivity/openssl/openssl_1.1.1d.bb | 1 |
2 files changed, 33 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/openssl/openssl/reproducible.patch b/meta/recipes-connectivity/openssl/openssl/reproducible.patch new file mode 100644 index 0000000000..a24260c95d --- /dev/null +++ b/meta/recipes-connectivity/openssl/openssl/reproducible.patch | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | The value for perl_archname can vary depending on the host, e.g. | ||
| 2 | x86_64-linux-gnu-thread-multi or x86_64-linux-thread-multi which | ||
| 3 | makes the ptest package non-reproducible. Its unused other than | ||
| 4 | these references so drop it. | ||
| 5 | |||
| 6 | RP 2020/2/6 | ||
| 7 | |||
| 8 | Upstream-Status: Pending | ||
| 9 | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> | ||
| 10 | |||
| 11 | Index: openssl-1.1.1d/Configure | ||
| 12 | =================================================================== | ||
| 13 | --- openssl-1.1.1d.orig/Configure | ||
| 14 | +++ openssl-1.1.1d/Configure | ||
| 15 | @@ -286,7 +286,7 @@ if (defined env($local_config_envname)) | ||
| 16 | # Save away perl command information | ||
| 17 | $config{perl_cmd} = $^X; | ||
| 18 | $config{perl_version} = $Config{version}; | ||
| 19 | -$config{perl_archname} = $Config{archname}; | ||
| 20 | +#$config{perl_archname} = $Config{archname}; | ||
| 21 | |||
| 22 | $config{prefix}=""; | ||
| 23 | $config{openssldir}=""; | ||
| 24 | @@ -2517,7 +2517,7 @@ _____ | ||
| 25 | @{$config{perlargv}}), "\n"; | ||
| 26 | print "\nPerl information:\n\n"; | ||
| 27 | print ' ',$config{perl_cmd},"\n"; | ||
| 28 | - print ' ',$config{perl_version},' for ',$config{perl_archname},"\n"; | ||
| 29 | + print ' ',$config{perl_version},"\n"; | ||
| 30 | } | ||
| 31 | if ($dump || $options) { | ||
| 32 | my $longest = 0; | ||
diff --git a/meta/recipes-connectivity/openssl/openssl_1.1.1d.bb b/meta/recipes-connectivity/openssl/openssl_1.1.1d.bb index 7fd0f9a269..c2ba005f47 100644 --- a/meta/recipes-connectivity/openssl/openssl_1.1.1d.bb +++ b/meta/recipes-connectivity/openssl/openssl_1.1.1d.bb | |||
| @@ -17,6 +17,7 @@ SRC_URI = "http://www.openssl.org/source/openssl-${PV}.tar.gz \ | |||
| 17 | file://0001-buildinfo-strip-sysroot-and-debug-prefix-map-from-co.patch \ | 17 | file://0001-buildinfo-strip-sysroot-and-debug-prefix-map-from-co.patch \ |
| 18 | file://afalg.patch \ | 18 | file://afalg.patch \ |
| 19 | file://CVE-2019-1551.patch \ | 19 | file://CVE-2019-1551.patch \ |
| 20 | file://reproducible.patch \ | ||
| 20 | " | 21 | " |
| 21 | 22 | ||
| 22 | SRC_URI_append_class-nativesdk = " \ | 23 | SRC_URI_append_class-nativesdk = " \ |
