[lttoolbox] 01/01: Add hardening support

Kartik Mistry kartik at moszumanska.debian.org
Tue Feb 2 05:05:32 UTC 2016


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

kartik pushed a commit to branch master
in repository lttoolbox.

commit c4c0025974c632ff12170bcceacf778e2385d356
Author: Kartik Mistry <kartik.mistry at gmail.com>
Date:   Tue Feb 2 10:35:25 2016 +0530

    Add hardening support
---
 debian/control | 5 ++++-
 debian/rules   | 3 +++
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index 9c78f89..5602d80 100644
--- a/debian/control
+++ b/debian/control
@@ -10,6 +10,7 @@ Build-Depends: automake,
                devscripts,
                dh-autoreconf,
                dh-exec (>= 0.3),
+               dpkg-dev (>= 1.16.1~),
                flex,
                gawk,
                libpcre3-dev,
@@ -45,7 +46,9 @@ Pre-Depends: ${misc:Pre-Depends}
 Depends: ${misc:Depends}, ${shlibs:Depends}
 Provides: liblttoolbox
 Conflicts: liblttoolbox, liblttoolbox3
-Replaces: liblttoolbox, liblttoolbox3, liblttoolbox3-3.3-0v5 (<= 3.3.2~r61000-3.1)
+Replaces: liblttoolbox,
+          liblttoolbox3,
+          liblttoolbox3-3.3-0v5 (<= 3.3.2~r61000-3.1)
 Breaks: liblttoolbox3-3.3-0v5 (<= 3.3.2~r61000-3.1)
 Description: Shared library for lttoolbox
  The lttoolbox contains the augmented letter transducer tools for natural
diff --git a/debian/rules b/debian/rules
index 1e22bcc..c3b7d87 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,6 +16,9 @@
 # This has to be exported to make some magic below work.
 export DH_OPTIONS
 
+DPKG_EXPORT_BUILDFLAGS = 1
+include /usr/share/dpkg/buildflags.mk
+
 %:
 	dh $@ --parallel --with autoreconf
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/lttoolbox.git



More information about the debian-science-commits mailing list