From 906c9a48e178bda777a68c1219117a948df844b1 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Tue, 24 Oct 2017 17:01:45 +0200 Subject: debian/rules: Enable all hardening flags. --- debian/control | 5 +++-- debian/rules | 5 +++++ 2 files changed, 8 insertions(+), 2 deletions(-) (limited to 'debian') 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 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 -- cgit v1.2.3