aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan McCrohan <jmccrohan@gmail.com>2016-02-06 18:14:42 +0000
committerJonathan McCrohan <jmccrohan@gmail.com>2016-02-06 18:14:42 +0000
commitb4c4ce673e340423cc3f7d759e2ec8e91dd5c6c5 (patch)
tree478e4b623fc36d53bfdd4f455ac51e129c5c1b40
parent68974c4d67ece5f1c7735ea79304e376e5b52544 (diff)
downloadwavemon-b4c4ce673e340423cc3f7d759e2ec8e91dd5c6c5.tar.gz
d/rules: add PIE and full RELRO hardening options (hardening=+all)
-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`")
%: