aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-10-24 17:01:45 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-10-24 17:21:20 +0200
commit906c9a48e178bda777a68c1219117a948df844b1 (patch)
tree2ca9c4de30904734bc60ae61374c5a5dd31a797e
parent3a09566c8156e111a27c6407b51e924e42d2e35c (diff)
downloadlibayatana-appindicator-906c9a48e178bda777a68c1219117a948df844b1.tar.gz
libayatana-appindicator-906c9a48e178bda777a68c1219117a948df844b1.tar.bz2
libayatana-appindicator-906c9a48e178bda777a68c1219117a948df844b1.zip
debian/rules: Enable all hardening flags.
-rw-r--r--debian/control5
-rwxr-xr-xdebian/rules5
2 files changed, 8 insertions, 2 deletions
diff --git a/debian/control b/debian/control
index 71037ad..226850b 100644
--- a/debian/control
+++ b/debian/control
@@ -1,12 +1,13 @@
Source: libayatana-appindicator
-Section: gnome
+Section: libs
Priority: optional
XS-Python-Version: all
Maintainer: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Build-Depends: debhelper (>= 9),
dh-autoreconf,
- python-all-dev,
dh-python,
+ dpkg-dev (>= 1.16.1.1),
+ python-all-dev,
at-spi2-core,
cli-common-dev (>= 0.8~) [amd64 arm64 armel armhf i386 mipsel ppc64el s390x kfreebsd-amd64 kfreebsd-i386 powerpc ppc64],
gobject-introspection,
diff --git a/debian/rules b/debian/rules
index d6eb845..352d121 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,11 @@
#!/usr/bin/make -f
FLAVORS = gtk2 gtk3
+
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+DPKG_EXPORT_BUILDFLAGS = 1
+include /usr/share/dpkg/buildflags.mk
+
PY_VERSIONS = $(shell pyversions --requested debian/control)
API_VERSION = 0.1