summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorBalint Reczey <balint@balintreczey.hu>2015-09-25 09:53:25 +0200
committerBalint Reczey <balint@balintreczey.hu>2015-09-25 14:11:56 +0000
commit86f22c216102bd4492ff9fc6980d3a819ed7f7d4 (patch)
treeb926848a2223fb14ca63087bc19377157287346c /debian
parent4eacb720deab545e35574cdf091a99d3c8e87206 (diff)
downloadwireshark-86f22c216102bd4492ff9fc6980d3a819ed7f7d4.tar.gz
Export all hardening options in .deb packages
Change-Id: I0448e564305ce78dee4ec364007e0162c6f74c09 Reviewed-on: https://code.wireshark.org/review/10644 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Balint Reczey <balint@balintreczey.hu>
Diffstat (limited to 'debian')
-rwxr-xr-xdebian/rules2
1 files changed, 2 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index e89902ee60..f1930c734e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,6 +10,8 @@
# This has to be exported to make some magic below work.
export DH_OPTIONS
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
VERSION := $(shell dpkg-parsechangelog | sed -n 's/^Version: \(.*\)-.*/\1/p')
export docdir = /usr/share/doc/wireshark-doc