[hfst] 01/02: Remove old-style hardening; Override hardening-no-fortify-functions and no-symbols-control-file

Tino Didriksen tinodidriksen-guest at moszumanska.debian.org
Tue Feb 2 11:51:04 UTC 2016


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

tinodidriksen-guest pushed a commit to branch master
in repository hfst.

commit 3ac787e602e1c2366fcdf4518fdbc56aab9e8e84
Author: Tino Didriksen <tino at didriksen.cc>
Date:   Tue Feb 2 11:45:26 2016 +0000

    Remove old-style hardening; Override hardening-no-fortify-functions and no-symbols-control-file
---
 debian/control                     | 1 -
 debian/hfst.lintian-overrides      | 2 ++
 debian/libhfst42.lintian-overrides | 2 ++
 debian/rules                       | 3 ---
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/debian/control b/debian/control
index 0595512..a2bc7db 100644
--- a/debian/control
+++ b/debian/control
@@ -10,7 +10,6 @@ Build-Depends: autoconf,
                bison,
                debhelper (>= 9.0),
                dh-autoreconf,
-               dpkg-dev (>= 1.16.1~),
                flex,
                libicu-dev,
                libreadline-dev,
diff --git a/debian/hfst.lintian-overrides b/debian/hfst.lintian-overrides
new file mode 100644
index 0000000..5605e92
--- /dev/null
+++ b/debian/hfst.lintian-overrides
@@ -0,0 +1,2 @@
+# Build log shows all hardening options used thanks to dh compat=9, so declaring this a false positive
+hardening-no-fortify-functions
diff --git a/debian/libhfst42.lintian-overrides b/debian/libhfst42.lintian-overrides
new file mode 100644
index 0000000..4fa2abe
--- /dev/null
+++ b/debian/libhfst42.lintian-overrides
@@ -0,0 +1,2 @@
+# Symbols file only gets in the way for C++
+no-symbols-control-file
diff --git a/debian/rules b/debian/rules
index 97afe17..aea2604 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,9 +3,6 @@
 
 #export DH_VERBOSE=1
 
-DPKG_EXPORT_BUILDFLAGS = 1
-include /usr/share/dpkg/buildflags.mk
-
 NUMJOBS = 1
 ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
 	NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))

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



More information about the debian-science-commits mailing list