From bc51746470ddb195486ae7780f262b57414e784e Mon Sep 17 00:00:00 2001 From: Benjamin Barenblat Date: Sat, 14 Mar 2015 19:58:26 -0400 Subject: Harden build --- debian/control | 1 + debian/rules | 2 ++ 2 files changed, 3 insertions(+) (limited to 'debian') 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 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 -- cgit v1.2.3