Package: snmptrapfmt
Severity: important
Tags: patch

Please enabled hardened build flags through dpkg-buildflags.

Patch attached.

Cheers,
        Moritz
diff -aur snmptrapfmt-1.14.harden/Makefile snmptrapfmt-1.14/Makefile
--- snmptrapfmt-1.14.harden/Makefile	2009-04-09 17:17:46.000000000 +0200
+++ snmptrapfmt-1.14/Makefile	2012-01-21 18:58:16.000000000 +0100
@@ -8,8 +8,8 @@
 
 # Compilation parameters:
 
-CFLAGS= -O2 -g -Wall $(DEFS)
-LIBS=	#-lsnmp -lieee -lnsl
+CFLAGS= -O2 -g -Wall $(DEFS) `dpkg-buildflags --get CFLAGS` `dpkg-buildflags --get CPPFLAGS`
+LIBS= `dpkg-buildflags --get LDFLAGS`  	#-lsnmp -lieee -lnsl
 
 # You should not need to change anything below this line.
 
Nur in snmptrapfmt-1.14: Makefile~.

Reply via email to