aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-12-07 10:18:59 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-12-07 10:18:59 +0100
commit5f4a44211f18ab370edf29ff977bf9035219559c (patch)
treef24f1faef4bf59b8725f6e25df9c4fa95105c5ef
parent7811a9ff419c31a3a5067f8d19cc77dff6c12d6f (diff)
downloadlibpam-x2go-5f4a44211f18ab370edf29ff977bf9035219559c.tar.gz
libpam-x2go-5f4a44211f18ab370edf29ff977bf9035219559c.tar.bz2
libpam-x2go-5f4a44211f18ab370edf29ff977bf9035219559c.zip
debian/{control,rules}: Enable all hardening flags.
-rw-r--r--debian/control1
-rwxr-xr-xdebian/rules4
2 files changed, 5 insertions, 0 deletions
diff --git a/debian/control b/debian/control
index 6da8699..0f87210 100644
--- a/debian/control
+++ b/debian/control
@@ -6,6 +6,7 @@ Uploaders:
Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Build-Depends:
debhelper (>= 9),
+ dpkg-dev (>= 1.16.1.1~),
libgtest-dev,
libpam0g-dev,
libssh-dev,
diff --git a/debian/rules b/debian/rules
index 637ae1e..37228c7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,9 @@
#!/usr/bin/make -f
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+DPKG_EXPORT_BUILDFLAGS = 1
+include /usr/share/dpkg/buildflags.mk
+
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/rules/autoreconf.mk
include /usr/share/cdbs/1/class/autotools.mk