[snaphu] 04/05: Enable hardening flags

Antonio Valentino a_valentino-guest at moszumanska.debian.org
Mon Aug 7 21:51:51 UTC 2017


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

a_valentino-guest pushed a commit to branch master
in repository snaphu.

commit 81c8581403d9df8b3d8160e1756882a6b6054d51
Author: Antonio Valentino <antonio.valentino at tiscali.it>
Date:   Mon Aug 7 21:45:49 2017 +0000

    Enable hardening flags
---
 debian/changelog | 2 ++
 debian/rules     | 4 ++++
 2 files changed, 6 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index b7d5e30..ff7c2cb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -11,6 +11,8 @@ snaphu (1.4.2-3) UNRELEASED; urgency=medium
     - refresh all patches
     - renumber patches
     - fix spelling error in snaphu.1
+  * debian/rules
+    - enable hardening flags 
 
  -- Antonio Valentino <antonio.valentino at tiscali.it>  Mon, 07 Aug 2017 21:27:07 +0000
 
diff --git a/debian/rules b/debian/rules
index 7abfb00..5a4f57c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,6 +4,10 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+export DEB_BUILD_MAINT_OPTIONS=hardening=+all
+DPKG_EXPORT_BUILDFLAGS = 1
+include /usr/share/dpkg/buildflags.mk
+
 DH_OPTIONS=--sourcedirectory=src
 
 %:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/snaphu.git



More information about the Pkg-grass-devel mailing list