diff options
author | Alexander Kanavin <alexander.kanavin@linux.intel.com> | 2018-03-28 15:43:07 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-03-30 00:31:18 +0100 |
commit | 51088f1bcd9a62068f63cc00b1a9920c15488867 (patch) | |
tree | 364e81cfaeaefca7172e12c5c987a51a5f1f2595 /meta/recipes-connectivity/openssl/openssl-1.0.2o/reproducible-mkbuildinf.patch | |
parent | 5ba7622e379180c7c78aadac3a067d5a788367ca (diff) | |
download | poky-51088f1bcd9a62068f63cc00b1a9920c15488867.tar.gz |
openssl: update 1.0.2n -> 1.0.2o
Please see this security advisory:
https://www.openssl.org/news/secadv/20180327.txt
License-Update: copyright years
(From OE-Core rev: 13542282e34c078296c46a98721b31ed9a69a980)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/openssl/openssl-1.0.2o/reproducible-mkbuildinf.patch')
-rw-r--r-- | meta/recipes-connectivity/openssl/openssl-1.0.2o/reproducible-mkbuildinf.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/openssl/openssl-1.0.2o/reproducible-mkbuildinf.patch b/meta/recipes-connectivity/openssl/openssl-1.0.2o/reproducible-mkbuildinf.patch new file mode 100644 index 0000000000..b556731219 --- /dev/null +++ b/meta/recipes-connectivity/openssl/openssl-1.0.2o/reproducible-mkbuildinf.patch | |||
@@ -0,0 +1,21 @@ | |||
1 | If SOURCE_DATE_EPOCH is present in the environment, use it as build date. | ||
2 | Also make sure to use UTC time. | ||
3 | |||
4 | Upstream-Status: Backport [ https://github.com/openssl/openssl/blob/master/util/mkbuildinf.pl ] | ||
5 | |||
6 | Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> | ||
7 | |||
8 | --- mkbuildinf.pl 2018-03-06 14:20:09.438048058 -0800 | ||
9 | +++ mkbuildinf.pl 2018-03-06 14:19:20.722045632 -0800 | ||
10 | --- a/util/mkbuildinf.pl | ||
11 | +++ b/util/mkbuildinf.pl | ||
12 | @@ -3,7 +3,8 @@ | ||
13 | my ($cflags, $platform) = @ARGV; | ||
14 | |||
15 | $cflags = "compiler: $cflags"; | ||
16 | -$date = localtime(); | ||
17 | +my $date = gmtime($ENV{'SOURCE_DATE_EPOCH'} || time()) . " UTC"; | ||
18 | + | ||
19 | print <<"END_OUTPUT"; | ||
20 | #ifndef MK1MF_BUILD | ||
21 | /* auto-generated by util/mkbuildinf.pl for crypto/cversion.c */ | ||