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)
committerPeter Michael Green <plugwash@raspbian.org>
Tue, 21 Jun 2022 09:42:25 +0000 (10:42 +0100)
commitbd0fb34ad41fceb64126ea48e2b7fe1f57140040
tree9405c53c1a2e9d1663ac3cd92128ba5dd9677946
parent123d73a21f00470f74da4dd69b7d66463b511b12
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