mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-02 01:18:08 +01:00
Reproducible openssl in new year
This commit is contained in:
parent
3f67de5374
commit
85ea5a67c6
2 changed files with 22 additions and 0 deletions
|
|
@ -0,0 +1,20 @@
|
||||||
|
SPDX-FileCopyrightText: 2026 Samuel Tyler <fosslinux@aussies.space>
|
||||||
|
|
||||||
|
SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
|
Make the output of mkerr.pl reproducible.
|
||||||
|
|
||||||
|
Now the year in the copyright header depends firstly on SOURCE_DATE_EPOCH,
|
||||||
|
or if that is not set, the mtime of the config file.
|
||||||
|
|
||||||
|
--- openssl-3.6.0/util/mkerr.pl 2025-10-01 22:11:48.000000000 +1000
|
||||||
|
+++ openssl-3.6.0/util/mkerr.pl 2026-01-01 17:18:06.853472915 +1100
|
||||||
|
@@ -26,7 +26,7 @@
|
||||||
|
my %modules = ();
|
||||||
|
|
||||||
|
my $errors = 0;
|
||||||
|
-my @t = localtime();
|
||||||
|
+my @t = gmtime($ENV{SOURCE_DATE_EPOCH} || (stat($config))[9]);
|
||||||
|
my $YEAR = $t[5] + 1900;
|
||||||
|
|
||||||
|
sub phase
|
||||||
|
|
@ -2,6 +2,8 @@ SPDX-FileCopyrightText: 2025 Samuel Tyler <fosslinux@aussies.space>
|
||||||
|
|
||||||
SPDX-License-Identifier: Apache-2.0
|
SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
|
We intentionally have files missing.
|
||||||
|
|
||||||
--- openssl-3.6.0/Configure 2025-10-01 22:11:48.000000000 +1000
|
--- openssl-3.6.0/Configure 2025-10-01 22:11:48.000000000 +1000
|
||||||
+++ openssl-3.6.0/Configure 2025-12-26 12:04:24.790872245 +1100
|
+++ openssl-3.6.0/Configure 2025-12-26 12:04:24.790872245 +1100
|
||||||
@@ -2729,7 +2729,6 @@
|
@@ -2729,7 +2729,6 @@
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue