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, 18 Jul 2022 09:08:11 +0000 (10:08 +0100)
commitb04844f12f65268c7fae87a33bfb62524ffca9c5
tree42639e6b73004dcb2c0caf47317d0ba7d69e7cea
parent14bee18155bda4d72c7d4b5be7fa3df9a5e0a5a4
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