[Pkg-nagios-changes] [icinga] 18/36: Enable all hardening buildflags.

Bas Couwenberg sebastic at debian.org
Sun Dec 18 16:10:35 UTC 2016


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

sebastic pushed a commit to branch modern-packaging
in repository icinga.

commit 06a32d836326f77f5c6d842c3a4835a77416f59f
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Fri Dec 16 20:41:02 2016 +0100

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

diff --git a/debian/changelog b/debian/changelog
index 68ce5c4..cabb323 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -18,6 +18,7 @@ icinga (1.13.3-4) UNRELEASED; urgency=medium
   * Create /var/run/icinga in idoutils init script too.
   * Drop unused override for dir-or-file-in-var-run.
   * Bump debhelper compatibility to 9.
+  * Enable all hardening buildflags.
 
  -- Bas Couwenberg <sebastic at debian.org>  Sat, 03 Dec 2016 23:27:06 +0100
 
diff --git a/debian/rules b/debian/rules
index efcb286..065589a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,9 @@
 
 # export DH_VERBOSE=1
 
+# Enable hardening build flags
+export DEB_BUILD_MAINT_OPTIONS=hardening=+all
+
 b := $(shell pwd)/debian
 
 export DEB_HOST_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)

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



More information about the Pkg-nagios-changes mailing list