[Reproducible-commits] [dpkg] 18/54: Dpkg::BuildFlags: Document supported feature areas

Mattia Rizzolo mattia at debian.org
Fri Jan 15 18:53:59 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 254fb06ea089d5d77d40d33b6ad8374c56ff55f6
Author: Guillem Jover <guillem at debian.org>
Date:   Sun Nov 1 21:32:28 2015 +0100

    Dpkg::BuildFlags: Document supported feature areas
---
 debian/changelog           | 1 +
 scripts/Dpkg/BuildFlags.pm | 9 +++++----
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 9fca7c9..2533089 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -29,6 +29,7 @@ dpkg (1.18.4) UNRELEASED; urgency=low
     - Document that dpkg-buildpacakge -nc -S implies -d.
     - Clarify role of Build-Depends in deb-src-control(5).
       Prompted by Johannes Schauer <j.schauer at email.de>.
+    - Document supported feature areas.
 
   [ Updated programs translations ]
   * Dutch (Frans Spiesschaert). Closes: #800513
diff --git a/scripts/Dpkg/BuildFlags.pm b/scripts/Dpkg/BuildFlags.pm
index 5aafbf9..41c46d8 100644
--- a/scripts/Dpkg/BuildFlags.pm
+++ b/scripts/Dpkg/BuildFlags.pm
@@ -108,7 +108,7 @@ sub load_vendor_defaults {
 	FCFLAGS  => 0,
 	LDFLAGS  => 0,
     };
-    # The Debian vendor hook will add hardening build flags
+    # The vendor hook will add the feature areas build flags.
     run_vendor_hook('update-buildflags', $self);
 }
 
@@ -236,8 +236,8 @@ sub set {
 =item $bf->set_feature($area, $feature, $enabled)
 
 Update the boolean state of whether a specific feature within a known
-feature area has been enabled. The only currently known feature area is
-"hardening".
+feature area has been enabled. The only currently known feature areas
+are "qa", "sanitize", "hardening" and "reproducible".
 
 =cut
 
@@ -409,7 +409,8 @@ sub is_maintainer_modified {
 =item $bf->has_features($area)
 
 Returns true if the given area of features is known, and false otherwise.
-The only currently recognized area is "hardening".
+The only currently recognized feature areas are "qa", "sanitize", "hardening"
+and "reproducible".
 
 =cut
 

-- 
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