From 014672432452a6f6a18c44e733fece7938685370 Mon Sep 17 00:00:00 2001 From: Raphaƫl Hertzog Date: Thu, 24 Mar 2011 14:39:56 +0100 Subject: dpkg-source: add new Package-List field to .dsc files This field has been requested by ftpmasters so that they can install overrides for all binary packages as soon as they have approved the source package. It contains a the list of packages that the source can build along with their sections and priorities. It looks like this: Package-List: src:foo admin optional foo admin optional foo-common admin optional udeb:foo-udeb debian-installer extra --- scripts/Dpkg/Control/Fields.pm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'scripts/Dpkg/Control') diff --git a/scripts/Dpkg/Control/Fields.pm b/scripts/Dpkg/Control/Fields.pm index 6f3e319ef..d7d7dcf5d 100644 --- a/scripts/Dpkg/Control/Fields.pm +++ b/scripts/Dpkg/Control/Fields.pm @@ -161,6 +161,9 @@ our %FIELDS = ( 'Package' => { allowed => ALL_PKG, }, + 'Package-List' => { + allowed => ALL_SRC & ~CTRL_INFO_SRC, + }, 'Package-Type' => { allowed => ALL_PKG, }, @@ -288,7 +291,8 @@ our %FIELD_ORDER = ( qw(Format Source Binary Architecture Version Origin Maintainer Uploaders Homepage Standards-Version Vcs-Browser Vcs-Arch Vcs-Bzr Vcs-Cvs Vcs-Darcs Vcs-Git Vcs-Hg Vcs-Mtn - Vcs-Svn), &field_list_src_dep(), @checksum_fields, qw(Files) + Vcs-Svn), &field_list_src_dep(), qw(Package-List), + @checksum_fields, qw(Files) ], CTRL_FILE_CHANGES() => [ qw(Format Date Source Binary Architecture Version Distribution -- cgit v1.2.3