[python-mapnik] 05/06: Enable all hardening buildflags, except pie (causes build failure).

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Fri Mar 18 21:31:00 UTC 2016


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

sebastic pushed a commit to branch master
in repository python-mapnik.

commit 398523f33d7a7e81e2d89bdab409e364a2f20919
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Fri Mar 18 19:40:33 2016 +0100

    Enable all hardening buildflags, except pie (causes build failure).
---
 debian/changelog | 1 +
 debian/rules     | 4 ++++
 2 files changed, 5 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index e2c6d60..cdee03d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,6 +10,7 @@ python-mapnik (1:0.0~20160317-275bfae-1) UNRELEASED; urgency=medium
   * Override dh_strip to not create dbgsym packages,
     debug files contain no debug symbols.
   * Add patch to fix 'denominator' typo.
+  * Enable all hardening buildflags, except pie (causes build failure).
 
  -- Bas Couwenberg <sebastic at debian.org>  Fri, 18 Mar 2016 17:32:32 +0100
 
diff --git a/debian/rules b/debian/rules
index 921ce6c..e654a38 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,6 +4,10 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+# Enable hardening build flags, except:
+#  pie: causes build failure
+export DEB_BUILD_MAINT_OPTIONS=hardening=+all,-pie
+
 export PYBUILD_NAME=mapnik
 
 # Use system fonts instead of mapnik specific fonts

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



More information about the Pkg-grass-devel mailing list