[mate-polkit] 02/04: debian/rules: Enable all hardening flags.

Mike Gabriel sunweaver at debian.org
Tue Feb 16 07:24:18 UTC 2016


This is an automated email from the git hooks/post-receive script.

sunweaver pushed a commit to branch master
in repository mate-polkit.

commit 7990911a2a44c9fe477032a181d4280263bf0801
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Tue Feb 16 08:12:03 2016 +0100

    debian/rules: Enable all hardening flags.
---
 debian/control | 1 +
 debian/rules   | 4 ++++
 2 files changed, 5 insertions(+)

diff --git a/debian/control b/debian/control
index b6a0299..d75340a 100644
--- a/debian/control
+++ b/debian/control
@@ -7,6 +7,7 @@ Uploaders: John Paul Adrian Glaubitz <glaubitz at physik.fu-berlin.de>,
            Mike Gabriel <sunweaver at debian.org>,
 Build-Depends: autotools-dev,
                cdbs,
+               dpkg-dev (>= 1.16.1.1),
                debhelper (>= 9),
                gobject-introspection,
                gtk-doc-tools,
diff --git a/debian/rules b/debian/rules
index 9e20587..6899c05 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,6 +4,10 @@ include /usr/share/cdbs/1/class/autotools.mk
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/rules/utils.mk
 
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+DPKG_EXPORT_BUILDFLAGS = 1
+include /usr/share/dpkg/buildflags.mk
+
 DEB_BUILD_PARALLEL = 1
 
 # use the NEWS file as upstream ChangeLog...

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mate/mate-polkit.git



More information about the pkg-mate-commits mailing list