mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-18 17:25:24 +01:00
Update stage0-posix, help2man fix, refactor
- stage0-posix update to correctly exist on fail. - help2man reproducibility fix for month. - refactor some bits into functions.
This commit is contained in:
parent
f76fb8259b
commit
7366647595
7 changed files with 116 additions and 79 deletions
21
sysa/help2man-1.36.4/patches/date.patch
Normal file
21
sysa/help2man-1.36.4/patches/date.patch
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
SPDX-FileCopyrightText: 2022 fosslinux <fosslinux@aussies.space>
|
||||
|
||||
SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
help2man manpages hardcode the current month and date into the generated
|
||||
manpage.
|
||||
|
||||
This makes manpages not reproducible.
|
||||
|
||||
diff --color -ru help2man.PL help2man.PL
|
||||
--- help2man.PL 2022-04-02 10:20:20.100234930 +1100
|
||||
+++ help2man.PL 2022-04-02 10:20:21.866247540 +1100
|
||||
@@ -303,7 +303,7 @@
|
||||
$_, $ARGV[0]
|
||||
} $help_option, $version_option;
|
||||
|
||||
-my $date = strftime "%B %Y", localtime;
|
||||
+my $date = "";
|
||||
(my $program = $ARGV[0]) =~ s!.*/!!;
|
||||
my $package = $program;
|
||||
my $version;
|
||||
Loading…
Add table
Add a link
Reference in a new issue