Parcourir la source

dpkg-buildflags(1): Move HARDENING into a new FEATURE AREAS subsection

There could be more feature areas in the future, and hardening does not
really deserve a section of its own.
Guillem Jover il y a 13 ans
Parent
commit
5b28508eab
2 fichiers modifiés avec 7 ajouts et 5 suppressions
  1. 1 0
      debian/changelog
  2. 6 5
      man/dpkg-buildflags.1

+ 1 - 0
debian/changelog

@@ -25,6 +25,7 @@ dpkg (1.17.0) UNRELEASED; urgency=low
     - Mark programs, variables, fields and command-line options in bold.
     - Mark programs, variables, fields and command-line options in bold.
     - Fold dpkg-architecture(1) DEBIAN/RULES section into EXAMPLES.
     - Fold dpkg-architecture(1) DEBIAN/RULES section into EXAMPLES.
     - Fix dpkg-architecture(1) debian/rules usage documentation.
     - Fix dpkg-architecture(1) debian/rules usage documentation.
+    - Move dpkg-buildflags(1) HARDENING into a new FEATURE AREAS subsection.
   * Use colon instead of dot for user:group in dpkg debug output.
   * Use colon instead of dot for user:group in dpkg debug output.
   * Remove support for obsolete DM-Upload-Allowed from Dpkg::Vendor::Debian.
   * Remove support for obsolete DM-Upload-Allowed from Dpkg::Vendor::Debian.
   * Fix update-alternatives to use the current alternative link as the first
   * Fix update-alternatives to use the current alternative link as the first

+ 6 - 5
man/dpkg-buildflags.1

@@ -16,7 +16,7 @@
 .\" You should have received a copy of the GNU General Public License
 .\" You should have received a copy of the GNU General Public License
 .\" along with this program.  If not, see <http://www.gnu.org/licenses/>.
 .\" along with this program.  If not, see <http://www.gnu.org/licenses/>.
 .
 .
-.TH dpkg\-buildflags 1 "2012-04-03" "Debian Project" "dpkg suite"
+.TH dpkg\-buildflags 1 "2013-03-28" "Debian Project" "dpkg suite"
 .SH NAME
 .SH NAME
 dpkg\-buildflags \- returns build flags to use during package build
 dpkg\-buildflags \- returns build flags to use during package build
 .
 .
@@ -117,8 +117,8 @@ the flag is set/modified by an environment-specific configuration.
 .TP
 .TP
 .BI \-\-query\-features " area"
 .BI \-\-query\-features " area"
 Print the features enabled for a given area. The only currently recognized
 Print the features enabled for a given area. The only currently recognized
-area is \fBhardening\fP. Exits with 0 if the area is known otherwise exits
-with 1.
+area is \fBhardening\fP, see the \fBFEATURE AREAS\fP section for more details.
+Exits with 0 if the area is known otherwise exits with 1.
 .IP
 .IP
 The output is in RFC822 format, with one section per feature.
 The output is in RFC822 format, with one section per feature.
 For example:
 For example:
@@ -162,7 +162,8 @@ and
 .B ,
 .B ,
 have to be stripped from these options). Default value: empty.
 have to be stripped from these options). Default value: empty.
 .
 .
-.SH HARDENING
+.SH FEATURE AREAS
+.SS Hardening
 Several compile-time options (detailed below) can be used to help harden
 Several compile-time options (detailed below) can be used to help harden
 a resulting binary against memory corruption attacks, or provide
 a resulting binary against memory corruption attacks, or provide
 additional warning messages during compilation. Except as noted below,
 additional warning messages during compilation. Except as noted below,
@@ -298,7 +299,7 @@ returned for the given \fIflag\fP.
 .TP
 .TP
 .B DEB_BUILD_MAINT_OPTIONS
 .B DEB_BUILD_MAINT_OPTIONS
 This variable can be used to disable/enable various hardening build
 This variable can be used to disable/enable various hardening build
-flags through the \fBhardening\fP option. See the \fBHARDENING\fP section
+flags through the \fBhardening\fP option. See the \fBFEATURE AREAS\fP section
 for details.
 for details.
 .
 .
 .SH FILES
 .SH FILES