aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debian/changelog1
-rwxr-xr-xdebian/rules2
2 files changed, 3 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index bb9ed1d..46387c1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,6 +10,7 @@ wavemon (0.8.0-1) UNRELEASED; urgency=medium
- drop 02-patch-configure.ac-to-allow-external-build_date.patch; applied
upstream
* d/control: add Build-Dep on libnl-3-dev, libnl-genl-3-dev, and pkg-config
+ * d/rules: add PIE and full RELRO hardening options (hardening=+all)
-- Jonathan McCrohan <jmccrohan@gmail.com> Sat, 30 Jan 2016 16:52:38 +0000
diff --git a/debian/rules b/debian/rules
index 342fdcc..c724d48 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,8 @@
export DEB_CFLAGS_MAINT_APPEND=-pthread
+export DEB_BUILD_MAINT_OPTIONS=hardening=+all
+
export BUILD_DATE = $(shell LC_ALL=C date -u --date="`dpkg-parsechangelog -SDate`")
%: