diff options
author | Alexander Kanavin <alexander.kanavin@linux.intel.com> | 2018-08-28 12:23:12 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-09-04 11:03:56 +0100 |
commit | df15a4c914177024f1825aacb4701fd232e1dd58 (patch) | |
tree | 82e7f832e4fa30f388883afd553453217397e7f3 /meta/recipes-connectivity/openssl/openssl10/reproducible-mkbuildinf.patch | |
parent | 352d1a4bfdb687bc0d14c74d76e538eeac88ab5d (diff) | |
download | poky-df15a4c914177024f1825aacb4701fd232e1dd58.tar.gz |
openssl: rename openssl 1.0.x to openssl10 and make openssl 1.1.x the default version
I believe the time has come to do this: openssl 1.0 upstream support stops at the end
of 2019, and we do not want a situation where a supported YP release contains an
unsupported version of a critical security component.
Openssl 1.0 can still be utilized by depending on 'openssl10' recipe.
(From OE-Core rev: 876466145f2da93757ba3f92177d0f959f5fe975)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/openssl/openssl10/reproducible-mkbuildinf.patch')
-rw-r--r-- | meta/recipes-connectivity/openssl/openssl10/reproducible-mkbuildinf.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/openssl/openssl10/reproducible-mkbuildinf.patch b/meta/recipes-connectivity/openssl/openssl10/reproducible-mkbuildinf.patch new file mode 100644 index 0000000000..b556731219 --- /dev/null +++ b/meta/recipes-connectivity/openssl/openssl10/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 */ | ||