Hey Mattia,

> The "underlighted" lines are not needed anymore with debhelper compat
> level >= 9, as dh and dh_auto_* tools export the variables coming from
> dpkg-buidflags.

Woo! \o/

Updated patch attached:

  commit 68301591b53f896b5e3da16fc2f5d9124ca776bf
  Author: Chris Lamb <[email protected]>
  Date:   Tue Aug 29 15:43:30 2017 +0100
  
      Enable hardening buildflags (for /usr/bin/debpkg).
  
   debian/rules | 2 ++
   1 file changed, 2 insertions(+)


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
From 68301591b53f896b5e3da16fc2f5d9124ca776bf Mon Sep 17 00:00:00 2001
From: Chris Lamb <[email protected]>
Date: Tue, 29 Aug 2017 15:43:30 +0100
Subject: [PATCH] Enable hardening buildflags (for /usr/bin/debpkg).

---
 debian/rules | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/debian/rules b/debian/rules
index d1079920..0d4311c4 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
 
-- 
2.14.1

_______________________________________________
devscripts-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/devscripts-devel

Reply via email to