From 38f4ab1c605cb13278e525f4505a77594c8bdaaa Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Thu, 3 Nov 2011 19:56:44 +0100 Subject: Enable default hardening options from dpkg-buildflags. - Use buildflags.mk snippet in debian/rules. - Add Build-Depends on dpkg-dev (>= 1.6.1). --- debian/changelog | 3 +++ debian/control | 1 + debian/rules | 3 +++ 3 files changed, 7 insertions(+) (limited to 'debian') diff --git a/debian/changelog b/debian/changelog index d6ea1d05..7416dbfd 100644 --- a/debian/changelog +++ b/debian/changelog @@ -10,6 +10,9 @@ network-manager (0.9.1.95-1) UNRELEASED; urgency=low any devices. (Closes: #546893, #624159, #637005, #641904) * debian/control: Add Build-Depends on libglib2.0-doc for proper cross-references in the gtk-doc API documentation. + * Enable default hardening options from dpkg-buildflags. + - Use buildflags.mk snippet in debian/rules. + - Add Build-Depends on dpkg-dev (>= 1.6.1). -- Michael Biebl Fri, 28 Oct 2011 23:04:35 +0200 diff --git a/debian/control b/debian/control index 402defc8..abd3e663 100644 --- a/debian/control +++ b/debian/control @@ -5,6 +5,7 @@ Maintainer: Utopia Maintenance Team Build-Depends: debhelper (>= 8), + dpkg-dev (>= 1.6.1), autotools-dev, pkg-config, intltool, diff --git a/debian/rules b/debian/rules index 0ba1c806..4ee224f9 100755 --- a/debian/rules +++ b/debian/rules @@ -1,5 +1,8 @@ #!/usr/bin/make -f +DPKG_EXPORT_BUILDFLAGS = 1 +include /usr/share/dpkg/buildflags.mk + %: dh $@ -- cgit 1.3.0-6-gf8a5