summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorBrendan O'Dea <bod@debian.org>2016-05-09 17:15:07 +1000
committerBrendan O'Dea <bod@debian.org>2016-05-09 17:15:07 +1000
commit9baa0de20d7e6a591d3ed1c2bc0dc7822c8a4dbb (patch)
treed46f459155428042b2ec6ea59b9208b5c57790e7 /debian
parentd5b53ad8c6318283c94feba753daef24375d2ce6 (diff)
downloadhelp2man-9baa0de20d7e6a591d3ed1c2bc0dc7822c8a4dbb.tar.gz
Add hardening build options
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog3
-rwxr-xr-xdebian/rules2
2 files changed, 4 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index ec53b65..faa049e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,8 +6,9 @@ help2man (1.47.4) unstable; urgency=medium
* Reduce the minimum translation to 60% for info files.
* Extract version from dpkg-parsechangelog using the new flag, rather
than sed.
+ * Add hardening flags via DEB_BUILD_MAINT_OPTIONS.
- -- Brendan O'Dea <bod@debian.org> Mon, 09 May 2016 16:05:59 +1000
+ -- Brendan O'Dea <bod@debian.org> Mon, 09 May 2016 17:11:50 +1000
help2man (1.47.3) unstable; urgency=medium
diff --git a/debian/rules b/debian/rules
index 2fd9175..c243017 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,6 +14,8 @@
SHELL = /bin/bash
DPKG_EXPORT_BUILDFLAGS = 1
+export DEB_BUILD_MAINT_OPTIONS=hardening=+all
+
include /usr/share/dpkg/architecture.mk
include /usr/share/dpkg/buildflags.mk