- 264 license table entries with exact download URLs (224/264 resolved) - Complete sources/ directory with all BitBake recipes - Build configuration: tqma6ul-multi-mba6ulx, spaetzle (musl) - Full traceability for Softwarefreigabeantrag - GCC 13.4.0, Linux 6.6.102, U-Boot 2023.04, musl 1.2.4 - License distribution: GPL-2.0 (24), MIT (23), GPL-2.0+ (18), BSD-3 (16)
28 lines
774 B
Diff
28 lines
774 B
Diff
lsb-release maintains it's own copy of help2man. Include the support
|
|
for specifying SOURCE_DATE_EPOCH from upstream.
|
|
|
|
Upstream-Status: Pending
|
|
|
|
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
|
|
|
|
diff --git a/help2man b/help2man
|
|
index 13015c2..63439db 100755
|
|
--- a/help2man
|
|
+++ b/help2man
|
|
@@ -173,7 +173,14 @@ my ($help_text, $version_text) = map {
|
|
or die "$this_program: can't get `--$_' info from $ARGV[0]\n"
|
|
} qw(help), $opt_version_key;
|
|
|
|
-my $date = strftime "%B %Y", localtime;
|
|
+my $epoch_secs = time;
|
|
+if (exists $ENV{SOURCE_DATE_EPOCH} and $ENV{SOURCE_DATE_EPOCH} =~ /^(\d+)$/)
|
|
+{
|
|
+ $epoch_secs = $1;
|
|
+ $ENV{TZ} = 'UTC0';
|
|
+}
|
|
+
|
|
+my $date = strftime "%B %Y", localtime $epoch_secs;
|
|
(my $program = $ARGV[0]) =~ s!.*/!!;
|
|
my $package = $program;
|
|
my $version;
|