[med-svn] [gwama] 04/08: Set all hardening options

Dylan Aïssi bob.dybian-guest at moszumanska.debian.org
Mon Aug 22 22:19:52 UTC 2016


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

bob.dybian-guest pushed a commit to branch master
in repository gwama.

commit 8084f869f233824d41d1c5066b098b4f4bcbd913
Author: Dylan Aïssi <bob.dybian at gmail.com>
Date:   Mon Aug 22 23:57:22 2016 +0200

    Set all hardening options
---
 debian/changelog | 1 +
 debian/rules     | 5 ++---
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 7917446..7ed9702 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ gwama (2.1+dfsg-3) UNRELEASED; urgency=medium
   * Use secure VCS URIs.
   * Bump Policy to 3.9.8 (no change needed).
   * Add a patch to fix spelling-error-in-binary.
+  * Set all hardening options.
 
  -- Dylan Aïssi <bob.dybian at gmail.com>  Mon, 22 Aug 2016 23:46:43 +0200
 
diff --git a/debian/rules b/debian/rules
index 420ea92..61761f9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,6 @@
 #!/usr/bin/make -f
-# -*- makefile -*-
-# debian/rules file for the Debian/GNU Linux gwama package
+
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
 # Don't override the upstream FLAG -O3
 CXXFLAGS=$(shell dpkg-buildflags --get CXXFLAGS 2>/dev/null | sed -e 's/-O2//g')
@@ -9,7 +9,6 @@ CXXFLAGS=$(shell dpkg-buildflags --get CXXFLAGS 2>/dev/null | sed -e 's/-O2//g')
 	dh $@
 
 override_dh_auto_build:
-	# Don't override the upstream FLAG -O3
 	make CXXFLAGS="$(CXXFLAGS)"
 
 override_dh_installchangelogs:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/gwama.git



More information about the debian-med-commit mailing list