[Pkg-zsh-commits] [zsh] 02/02: Enable hardening=+bindnow, fixes lintian warning hardening-no-bindnow
Axel Beckert
abe at deuxchevaux.org
Sun Jan 24 19:05:22 UTC 2016
This is an automated email from the git hooks/post-receive script.
abe pushed a commit to branch debian
in repository zsh.
commit 0013070a348a68ced5894522501ad3b17d26e7fb
Author: Axel Beckert <abe at deuxchevaux.org>
Date: Sun Jan 24 18:24:58 2016 +0100
Enable hardening=+bindnow, fixes lintian warning hardening-no-bindnow
Also add hint why I haven't enabled hardening=+all or hardening=+pie.
---
debian/rules | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/debian/rules b/debian/rules
index bfb191d..afdf540 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,10 @@
INSTALL = install
INSTALL_PROGRAM = $(INSTALL) -p -o root -g root -m 755
+# hardening=+all or hardening=+pie causes test suite to fail:
+# C02cond.ztst exits prematurely and silently
+export DEB_BUILD_MAINT_OPTIONS=hardening=+bindnow
+
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
H_LDFLAGS = $(LDFLAGS)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/zsh.git
More information about the Pkg-zsh-commits
mailing list