[Python-modules-commits] [python-yenc] 01/02: * debian/rules: enable all hardening (except pie, ftbfs).

JCF Ploemen jcfp-guest at moszumanska.debian.org
Sun Oct 30 16:25:37 UTC 2016


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

jcfp-guest pushed a commit to branch master
in repository python-yenc.

commit 29df10c3410f4124e6ee6d9c2220de9ae9e3bce5
Author: JCF Ploemen (jcfp) <linux at jcf.pm>
Date:   Sun Oct 30 16:39:20 2016 +0100

    * debian/rules: enable all hardening (except pie, ftbfs).
---
 debian/changelog | 4 +++-
 debian/rules     | 3 +++
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 3616ba1..101e5a9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,7 +1,9 @@
 python-yenc (0.4.0-2) UNRELEASED; urgency=low
 
   [ JCF Ploemen (jcfp) ]
-  * debian/rules: install upstream changelog.
+  * debian/rules:
+    + install upstream changelog.
+    + enable all hardening (except pie, ftbfs).
   * Add build-dep on dh-python, now a separate package.
   * Convert copyright to machine-readable format.
 
diff --git a/debian/rules b/debian/rules
index e4c2ca2..30b497d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,9 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+# enable all hardening except pie (ftbfs)
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all,-pie
+
 %:
 	dh $@ --with python2
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-yenc.git



More information about the Python-modules-commits mailing list