[readosm] 07/08: Enable all hardening buildflags.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Sun May 1 01:38:28 UTC 2016


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

sebastic pushed a commit to branch master
in repository readosm.

commit ed74129a192a358e2c7aa1a69d5c8b4b5ffbad2f
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sun May 1 03:30:25 2016 +0200

    Enable all hardening buildflags.
---
 debian/changelog | 1 +
 debian/rules     | 3 +++
 2 files changed, 4 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 5d6cc19..f3da446 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ readosm (1.0.0e+dfsg-2) UNRELEASED; urgency=medium
   * Update Vcs-* URLs to use HTTPS.
   * Bump Standards-Version to 3.9.8, no changes.
   * Enable parallel builds.
+  * Enable all hardening buildflags.
 
  -- Bas Couwenberg <sebastic at debian.org>  Sun, 01 May 2016 03:23:40 +0200
 
diff --git a/debian/rules b/debian/rules
index 7a7c5f2..ddf6941 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,6 +4,9 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+# Enable hardening build flags
+export DEB_BUILD_MAINT_OPTIONS=hardening=+all
+
 UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-.*/\1/p' | sed -e 's/\+.*//; s/^[0-9]://')
 
 %:

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



More information about the Pkg-grass-devel mailing list