summaryrefslogtreecommitdiff
path: root/scripts/dpkg-genbuildinfo.pl
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2018-12-02 03:35:49 +0100
committerGuillem Jover <guillem@debian.org>2019-02-23 16:18:38 +0100
commit13cad525ffbcbfba47863ea41024415ac25f7974 (patch)
tree91090089e34c12c50d207601975fb2d796b00e16 /scripts/dpkg-genbuildinfo.pl
parent967e990834995a6b3f8d3aa9d2cb12e7a97abdda (diff)
downloaddpkg-13cad525ffbcbfba47863ea41024415ac25f7974.tar.gz
dpkg-genbuildinfo: Add support for a new Build-Tainted-By field
This field will contain a list of tainting reason tags, which can denote that the current build has potentially been broken. Suggested-by: Alexander E. Patrakov <patrakov@gmail.com>
Diffstat (limited to 'scripts/dpkg-genbuildinfo.pl')
-rwxr-xr-xscripts/dpkg-genbuildinfo.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/dpkg-genbuildinfo.pl b/scripts/dpkg-genbuildinfo.pl
index fe296506e..827b6679f 100755
--- a/scripts/dpkg-genbuildinfo.pl
+++ b/scripts/dpkg-genbuildinfo.pl
@@ -437,6 +437,8 @@ if ($use_feature{path}) {
}
}
+$fields->{'Build-Tainted-By'} = "\n" . join "\n", run_vendor_hook('build-tainted-by');
+
$checksums->export_to_control($fields);
$fields->{'Installed-Build-Depends'} = collect_installed_builddeps($control);