[devscripts] 01/01: Enable hardening buildflags (for /usr/bin/debpkg).

Mattia Rizzolo mattia at debian.org
Tue Aug 29 17:40:11 UTC 2017


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

mattia pushed a commit to branch master
in repository devscripts.

commit 5ecee7264abe92398c40a0be64f2725fa47e57bd
Author: Chris Lamb <lamby at debian.org>
Date:   Tue Aug 29 15:43:30 2017 +0100

    Enable hardening buildflags (for /usr/bin/debpkg).
    
    Signed-off-by: Mattia Rizzolo <mattia at debian.org>
---
 debian/changelog | 3 +++
 debian/rules     | 2 ++
 2 files changed, 5 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 2fb5b2d..f0713a9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -11,6 +11,9 @@ devscripts (2.17.10) UNRELEASED; urgency=medium
     + Remove the file, compression=xz has been the default for a long while.
   * debian/TODO:
     + Remove the file, unusued (=> outdated) since 2008 and mostly empty.
+  * debian/rules:
+    + Enable hardening build flags.  Closes: #873379
+      Thanks Chris Lamb <lamby at debian.org> for the patch.
 
   [ Antonio Terceiro ]
   * debc:
diff --git a/debian/rules b/debian/rules
index d107992..0d4311c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,8 @@
 
 UBU_SUGGESTS=debian-keyring, equivs, liblwp-protocol-https-perl, libsoap-lite-perl
 
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+
 %:
 	dh $@ --with python3
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/devscripts.git



More information about the devscripts-devel mailing list