summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorGravatar Benjamin Barenblat <bbaren@mit.edu>2015-03-14 19:58:26 -0400
committerGravatar Benjamin Barenblat <bbaren@mit.edu>2015-03-14 19:58:26 -0400
commitbc51746470ddb195486ae7780f262b57414e784e (patch)
tree708a76a78dc9a1055cd6f1fbed2b36575ced6b20 /debian
parent7c8dce27e7169d40a476f875a58e88dc8e0c2236 (diff)
Harden build
Diffstat (limited to 'debian')
-rw-r--r--debian/control1
-rwxr-xr-xdebian/rules2
2 files changed, 3 insertions, 0 deletions
diff --git a/debian/control b/debian/control
index 1982744..474a0df 100644
--- a/debian/control
+++ b/debian/control
@@ -4,6 +4,7 @@ Priority: optional
Maintainer: Benjamin Barenblat <bbaren@mit.edu>
Build-Depends:
debhelper (>= 9),
+ hardening-wrapper,
libssl-dev
Standards-Version: 3.9.6
Homepage: http://zvrba.net/software/secpwgen.html
diff --git a/debian/rules b/debian/rules
index 41532ae..131c822 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,8 @@
#!/usr/bin/make -f
# -*- makefile -*-
+export DEB_BUILD_HARDENING=1
+
# Avoid overlinking and reduce library dependencies.
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed