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>
Tue, 1 Dec 2020 09:59:21 +0000 (09:59 +0000)
commita8d00d260cc757a50090142802af4e683743deb6
treee12fe4f8d162896a1c594f9d2ca702d14bf51398
parent7878a45b6172758b5e0689ba27ba2d659a2c8ea2
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