[Reproducible-commits] [dpkg] 40/54: Dpkg::Control::FieldsCore: Add support for Build-Essential field

Mattia Rizzolo mattia at debian.org
Fri Jan 15 18:54:02 UTC 2016


This is an automated email from the git hooks/post-receive script.

mattia pushed a commit to branch pu/reproducible_builds
in repository dpkg.

commit bcd050da05b79ac0c57ac8eb47746926630c44a6
Author: Guillem Jover <guillem at debian.org>
Date:   Tue Dec 22 02:23:31 2015 +0100

    Dpkg::Control::FieldsCore: Add support for Build-Essential field
    
    Closes: #806315
---
 debian/changelog                   | 2 ++
 man/deb-control.5                  | 5 +++++
 man/deb-src-control.5              | 2 ++
 scripts/Dpkg/Control/FieldsCore.pm | 3 +++
 4 files changed, 12 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 41eafd1..d920c62 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -33,6 +33,8 @@ dpkg (1.18.4) UNRELEASED; urgency=medium
   * Add NIOS2 support to cputable. Thanks to Marek Vasut <marex at denx.de>.
   * On Debian and derivatives enable timeless build flag feature by default.
     Thanks to Paul Wise <pabs at debian.org>. Closes: #805872
+  * Perl modules:
+    - Add support for Build-Essential field. Closes: #806315
   * Test suite:
     - Improve perl code test coverage.
   * Build system:
diff --git a/man/deb-control.5 b/man/deb-control.5
index 4dd61a9..4f83ac0 100644
--- a/man/deb-control.5
+++ b/man/deb-control.5
@@ -96,6 +96,11 @@ or any other installation tool will not allow an
 .B Essential
 package to be removed (at least not without using one of the force options).
 .TP
+.BR Build\-Essential: " \fByes\fP|\fBno\fP"
+This field is usually only needed when the answer is \fByes\fP, and is
+commonly injected by the archive software.
+It denotes a package that is required when building other packages.
+.TP
 .BR Architecture: " \fIarch\fP|\fBall\fP"
 The architecture specifies which type of hardware this package was compiled
 for.
diff --git a/man/deb-src-control.5 b/man/deb-src-control.5
index 575740e..495c25e 100644
--- a/man/deb-src-control.5
+++ b/man/deb-src-control.5
@@ -298,6 +298,8 @@ package for more details about them.
 .TP
 .BR Essential: " \fByes\fP|\fBno\fP"
 .TQ
+.BR Build\-Essential: " \fByes\fP|\fBno\fP"
+.TQ
 .BR Multi\-Arch: " \fBsame\fP|\fBforeign\fP|\fBallowed\fP|\fBno\fP"
 .TQ
 .BI Tag: " tag-list"
diff --git a/scripts/Dpkg/Control/FieldsCore.pm b/scripts/Dpkg/Control/FieldsCore.pm
index 99de438..7983509 100644
--- a/scripts/Dpkg/Control/FieldsCore.pm
+++ b/scripts/Dpkg/Control/FieldsCore.pm
@@ -122,6 +122,9 @@ our %FIELDS = (
         dependency => 'normal',
         dep_order => 3,
     },
+    'Build-Essential' => {
+        allowed => ALL_PKG,
+    },
     'Build-Profiles' => {
         allowed => CTRL_INFO_PKG,
         separator => FIELD_SEP_SPACE,

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/dpkg.git



More information about the Reproducible-commits mailing list