summaryrefslogtreecommitdiffstats
path: root/recipes-connectivity/openssl/openssl-1.0.2o/reproducible-mkbuildinf.patch
diff options
context:
space:
mode:
authorMartin Borg <martin.borg@enea.com>2018-05-03 12:28:33 +0200
committerMartin Borg <martin.borg@enea.com>2018-05-03 14:11:58 +0200
commit1c3a21479972cb4b868b1e57b80dc607ef398d8d (patch)
treede1810fe50195a8fcaf9132fd6653662060f2089 /recipes-connectivity/openssl/openssl-1.0.2o/reproducible-mkbuildinf.patch
parent833374e8e7eb5b9e53117d4c2f966094b7017ecc (diff)
downloadmeta-el-common-1c3a21479972cb4b868b1e57b80dc607ef398d8d.tar.gz
Revert "openssl: update 1.0.2n -> 1.0.2o"
openssl was upgraded to 1.0.2o on poky rocko branch. This reverts commit 833374e8e7eb5b9e53117d4c2f966094b7017ecc.
Diffstat (limited to 'recipes-connectivity/openssl/openssl-1.0.2o/reproducible-mkbuildinf.patch')
-rw-r--r--recipes-connectivity/openssl/openssl-1.0.2o/reproducible-mkbuildinf.patch21
1 files changed, 0 insertions, 21 deletions
diff --git a/recipes-connectivity/openssl/openssl-1.0.2o/reproducible-mkbuildinf.patch b/recipes-connectivity/openssl/openssl-1.0.2o/reproducible-mkbuildinf.patch
deleted file mode 100644
index b556731..0000000
--- a/recipes-connectivity/openssl/openssl-1.0.2o/reproducible-mkbuildinf.patch
+++ /dev/null
@@ -1,21 +0,0 @@
1If SOURCE_DATE_EPOCH is present in the environment, use it as build date.
2Also make sure to use UTC time.
3
4Upstream-Status: Backport [ https://github.com/openssl/openssl/blob/master/util/mkbuildinf.pl ]
5
6Signed-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 */