diff options
author | Raphaël Hertzog <hertzog@debian.org> | 2011-03-24 14:39:56 +0100 |
---|---|---|
committer | Raphaël Hertzog <hertzog@debian.org> | 2011-03-24 14:48:12 +0100 |
commit | 014672432452a6f6a18c44e733fece7938685370 (patch) | |
tree | 1216e9944ab367b5e6b546de70b5f984c689eaae /scripts/Dpkg/Control | |
parent | d291a98bce9ecf04ae7f35262453b038dc17cf04 (diff) | |
download | dpkg-014672432452a6f6a18c44e733fece7938685370.tar.gz |
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
Diffstat (limited to 'scripts/Dpkg/Control')
-rw-r--r-- | scripts/Dpkg/Control/Fields.pm | 6 |
1 files changed, 5 insertions, 1 deletions
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 |