[pykdtree] 01/02: Enable all hardening buildflags, except PIE.

Bas Couwenberg sebastic at debian.org
Sat Jul 2 22:08:23 UTC 2016


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

sebastic pushed a commit to branch master
in repository pykdtree.

commit c5ff0f6009e10619ec6bff9625d87982fa0b675e
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sat Jul 2 23:54:52 2016 +0200

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

diff --git a/debian/changelog b/debian/changelog
index 8c164ab..fee8d98 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -12,6 +12,7 @@ pykdtree (1.1.1-1) unstable; urgency=medium
 
   [ Bas Couwenberg ]
   * Override dh_python2 to call dh_numpy too.
+  * Enable all hardening buildflags, except PIE.
 
  -- Antonio Valentino <antonio.valentino at tiscali.it>  Sat, 02 Jul 2016 16:54:36 +0000
 
diff --git a/debian/rules b/debian/rules
index 3986a24..f4d78c7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,10 +4,11 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+# Enable hardening build flags
+export DEB_BUILD_MAINT_OPTIONS=hardening=+all,-pie
 
 export PYBUILD_NAME=pykdtree
 
-
 %:
 	dh $@ --parallel --with python2,python3 --buildsystem=pybuild
 

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



More information about the Pkg-grass-devel mailing list