[pkg-fso-commits] [nodm] 31/50: Harden the build of nodm using dpkg's buildflags.mk include.

Mike Gabriel sunweaver at debian.org
Mon Jan 23 15:19:32 UTC 2017


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

sunweaver pushed a commit to branch master
in repository nodm.

commit 47323214d1aa6b0537ec6ec8667068ea2489fdcc
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Wed Mar 23 15:18:21 2016 +0100

    Harden the build of nodm using dpkg's buildflags.mk include.
    
     debian/control:
      + Add versioned B-D: dpkg-dev (>= 1.16.1.1). Helps us with
        hardening the build of nodm. + Harden the build of nodm
        using dpkg's buildflags.mk include.
    
     debian/rules:
      + Harden the build of nodm using dpkg's buildflags.mk include.
---
 debian/changelog | 3 +++
 debian/control   | 1 +
 debian/rules     | 4 ++++
 3 files changed, 8 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 60ef8db..8f825a0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -28,6 +28,8 @@ nodm (0.12-1) UNRELEASED; urgency=low
     + Add B-D: autoreconf.
     + Add B-D: automake.
     + Update versioned B-D for debhelper: (>= 9).
+    + Add versioned B-D: dpkg-dev (>= 1.16.1.1). Helps us with hardening the
+      build of nodm.
   * debian/compat:
     + Bump to dh version 9.
   * debian/po:
@@ -42,6 +44,7 @@ nodm (0.12-1) UNRELEASED; urgency=low
     + README is now README.md.
   * debian/rules:
     + Correctly evoke ./autogen.sh script at build time.
+    + Harden the build of nodm using dpkg's buildflags.mk include.
 
   [ Sjoerd Simons ]
   * debian/<debconf>:
diff --git a/debian/control b/debian/control
index decfd08..f22f2d4 100644
--- a/debian/control
+++ b/debian/control
@@ -8,6 +8,7 @@ Uploaders:
  Mike Gabriel <sunweaver at debian.org>,
 Build-Depends:
  debhelper (>= 9),
+ dpkg-dev (>= 1.16.1.1),
  autoconf,
  automake,
  help2man,
diff --git a/debian/rules b/debian/rules
index 40d061d..01dbed9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,9 @@
 #!/usr/bin/make -f
 
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+DPKG_EXPORT_BUILDFLAGS = 1
+include /usr/share/dpkg/buildflags.mk
+
 %:
 	dh $@
 

-- 
Alioth's hooks/post-receive on /srv/git.debian.org/git/pkg-fso/nodm.git



More information about the pkg-fso-commits mailing list