Package: mawk
Version: 1.3.3-16
Severity: important
Tags: patch

1.3.3-16 switched to dh/9, which enabled most of the security hardening
build flags. relro is still missing, though.

Attached patch fixes it.

Cheers,
        Moritz
diff -aur mawk-1.3.3.harden/Makefile.in mawk-1.3.3/Makefile.in
--- mawk-1.3.3.harden/Makefile.in	1996-02-01 06:05:40.000000000 +0100
+++ mawk-1.3.3/Makefile.in	2012-01-16 00:15:23.000000000 +0100
@@ -9,6 +9,8 @@
 
 MATHLIB = @MATHLIB@
 
+LDFLAGS = @LDFLAGS@
+
 YACC = @YACC@ 
 
 # where to put mawk
@@ -35,7 +37,7 @@
 mawk_and_test :  mawk  mawk_test  fpe_test
 
 mawk : $(O)  rexp/.done
-	$(CC) $(CFLAGS) -o mawk $(O) $(REXP_O) $(MATHLIB) 
+	$(CC) $(CFLAGS) -o mawk $(O) $(REXP_O) $(MATHLIB) $(LDFLAGS) 
 
 mawk_test :  mawk  # test that we have a sane mawk
 	@cp mawk test/mawk
Nur in mawk-1.3.3: Makefile.in~.

Reply via email to