Package: ifupdown
Version: 0.7~alpha5+really0.6.16
Severity: important
Tags: patch

Please enable hardened build flags through dpkg-buildflags.

Patch attached.

Cheers,
        Moritz
diff -aur ifupdown-0.7~alpha5+really0.6.16.harden/Makefile ifupdown-0.7~alpha5+really0.6.16/Makefile
--- ifupdown-0.7~alpha5+really0.6.16.harden/Makefile	2011-10-23 20:14:22.000000000 +0200
+++ ifupdown-0.7~alpha5+really0.6.16/Makefile	2012-02-25 15:21:43.000000000 +0100
@@ -1,5 +1,6 @@
 VERSION ?= 0.6
-CFLAGS := -Wall -W -g -O2 -D'IFUPDOWN_VERSION="$(VERSION)"'
+CFLAGS := -Wall -W `dpkg-buildflags --get CFLAGS` `dpkg-buildflags --get CPPFLAGS` -D'IFUPDOWN_VERSION="$(VERSION)"'
+LDFLAGS := `dpkg-buildflags --get LDFLAGS`
 CC ?= gcc
 
 CFILES := addrfam.c execute.c config.c main.c archlinux.c archkfreebsd.c
Nur in ifupdown-0.7~alpha5+really0.6.16: Makefile~.

Reply via email to