From 6c8203440bf443d3031ee2ab8485b16c1b6da3b6 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Mon, 2 Jan 2017 16:29:49 +0100 Subject: man, Dpkg::Control::FieldsCore: Add new Auto-Built-Package field This field is used to distinguish packages that have been automatically injected by some build tool, and are not present in the debian/control file. --- scripts/Dpkg/Control/FieldsCore.pm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'scripts/Dpkg/Control') diff --git a/scripts/Dpkg/Control/FieldsCore.pm b/scripts/Dpkg/Control/FieldsCore.pm index 7c7e759f4..8eeddadb1 100644 --- a/scripts/Dpkg/Control/FieldsCore.pm +++ b/scripts/Dpkg/Control/FieldsCore.pm @@ -73,6 +73,10 @@ our %FIELDS = ( allowed => CTRL_REPO_RELEASE, separator => FIELD_SEP_SPACE, }, + 'Auto-Built-Package' => { + allowed => ALL_PKG & ~CTRL_INFO_PKG, + separator => FIELD_SEP_SPACE, + }, 'Binary' => { allowed => CTRL_PKG_SRC | CTRL_FILE_BUILDINFO | CTRL_FILE_CHANGES, # XXX: This field values are separated either by space or comma @@ -459,7 +463,7 @@ my @sum_fields = map { $_ eq 'md5' ? 'MD5sum' : &field_capitalize($_) } our %FIELD_ORDER = ( CTRL_PKG_DEB() => [ qw(Package Package-Type Source Version Built-Using Kernel-Version - Built-For-Profiles Architecture Subarchitecture + Built-For-Profiles Auto-Built-Package Architecture Subarchitecture Installer-Menu-Item Essential Origin Bugs Maintainer Installed-Size), &field_list_pkg_dep(), qw(Section Priority Multi-Arch Homepage Description Tag Task) -- cgit v1.2.3