Avoid embedding user and time in version from getversion.sh
authorSophie Brun <sophie@offensive-security.com>
Tue, 27 Oct 2020 10:41:16 +0000 (11:41 +0100)
committerSophie Brun <sophie@offensive-security.com>
Mon, 14 Feb 2022 13:32:56 +0000 (13:32 +0000)
commitf91588ef76be2e203a88b6a8bcdd6587ff8feb87
tree2f62b32d50af30d704b628a166e43ecfaaf490a6
parent0d75b4130a70f7e77ec82f99b892762a97249e9b
Avoid embedding user and time in version from getversion.sh

Last-Update: 2020-10-27

Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=971400
Author: Vagrant Cascadian <vagrant@reproducible-builds.org>

The getversion.sh script embeds the build time and user who built the
binary, which breaks reproducible builds:

  https://reproducible-builds.org/

Without this patch, "/usr/bin/futility" embeds differing information
in the binary:

  unknown 2020-09-17 07:53:52 pbuilder1 vs. unknown 2021-10-21 16:19:17 pbuilder2

Gbp-Pq: Name do-not-embed-user-and-time-in-version.patch
scripts/getversion.sh