[Pkg-nagios-changes] [pkg-nrpe] 14/41: Enable all hardening buildflags. (closes: #728218)

Bas Couwenberg sebastic at debian.org
Sun Dec 4 17:53:45 UTC 2016


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

sebastic pushed a commit to branch master
in repository pkg-nrpe.

commit 6f598b9cbc9973b0bee2aa6f4b08b6926c9070f0
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sun Dec 4 14:02:57 2016 +0100

    Enable all hardening buildflags. (closes: #728218)
---
 debian/changelog | 2 ++
 debian/rules     | 5 +++++
 2 files changed, 7 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index d76ce71..24d2b57 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -14,6 +14,8 @@ nagios-nrpe (2.15-2) UNRELEASED; urgency=medium
   * Update copyright file using copyright-format 1.0.
   * Add gbp.conf to use pristine-tar by default.
   * Update build dependency to use openssl 1.0.
+  * Enable all hardening buildflags.
+    (closes: #728218)
 
   [ Benjamin Drung ]
   * Use dh_auto_configure to enable default hardening flags.
diff --git a/debian/rules b/debian/rules
index 05d3277..923c803 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,11 @@
 # newer dpkg set this by default.
 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 
+# Enable hardening build flags
+export DEB_BUILD_MAINT_OPTIONS=hardening=+all
+
+CFLAGS += $(CPPFLAGS)
+
 %:
 	    dh $@ --with autotools_dev
 

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



More information about the Pkg-nagios-changes mailing list