Source: xmlsec1
Severity: important
Tags: patch
Please enabled hardened build flags through dpkg-buildflags.
Patch attached.
Cheers,
Moritz
diff -aur xmlsec1-1.2.14.harden/debian/rules xmlsec1-1.2.14/debian/rules
--- xmlsec1-1.2.14.harden/debian/rules 2012-01-20 18:50:36.000000000 +0100
+++ xmlsec1-1.2.14/debian/rules 2012-01-20 18:51:50.000000000 +0100
@@ -10,11 +10,6 @@
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
-
-ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
- CFLAGS += -g
-endif
-
# shared library versions, option 1
#version=2.0.5
#major=2
@@ -34,6 +29,7 @@
./configure \
--host=$(DEB_HOST_GNU_TYPE) \
--build=$(DEB_BUILD_GNU_TYPE) \
+ $(shell dpkg-buildflags --export=configure) \
--prefix=/usr \
--mandir=\$${prefix}/share/man \
--infodir=\$${prefix}/share/info \
Nur in xmlsec1-1.2.14/debian: rules~.