[med-svn] [ecopcr] 06/07: Propagate hardening options - unfortunately lintian does not agree that this is done.
Andreas Tille
tille at debian.org
Thu Jun 25 09:57:58 UTC 2015
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository ecopcr.
commit 9762d3014b1b6e1663489422010e0dd5db66bf48
Author: Andreas Tille <tille at debian.org>
Date: Thu Jun 25 11:53:26 2015 +0200
Propagate hardening options - unfortunately lintian does not agree that this is done.
---
debian/patches/hardening.patch | 26 ++++++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 27 insertions(+)
diff --git a/debian/patches/hardening.patch b/debian/patches/hardening.patch
new file mode 100644
index 0000000..6aa622c
--- /dev/null
+++ b/debian/patches/hardening.patch
@@ -0,0 +1,26 @@
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Wed, 24 Jun 2015 19:24:02 +0200
+Description: Propagate hardening options
+ No idea why the lintian warning remains - the options are properly set IMHO
+
+--- a/src/global.mk
++++ b/src/global.mk
+@@ -1,9 +1,9 @@
+-MACHINE=MAC_OS_X
++MACHINE=LINUX
+ LIBPATH= -Llibapat -LlibecoPCR -Llibthermo
+ MAKEDEPEND = gcc -D$(MACHINE) -M $(CPPFLAGS) -o $*.d $<
+
+ CC=gcc
+-CFLAGS= -W -Wall -O2 -g
++CFLAGS+= -W -Wall -O2 -g
+
+ default: all
+
+@@ -15,4 +15,4 @@ default: all
+ @sed 's/\($*\)\.o[ :]*/\1.o $@ : /g' < $*.d > $@; \
+ rm -f $*.d; [ -s $@ ] || rm -f $@
+
+-include $(SRCS:.c=.P)
+\ No newline at end of file
++include $(SRCS:.c=.P)
diff --git a/debian/patches/series b/debian/patches/series
index 51034bf..8ed5753 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
2to3.patch
ecoisundertaxon.patch
spelling.patch
+hardening.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/ecopcr.git
More information about the debian-med-commit
mailing list