Package: maildrop
Version: 2.2.0-3.1
Severity: important
Tags: patch

Please enable hardened build flags for your package. Since your
package has already been converted to dh, setting debian/compat
to 9 activates injecting the new default build flags.

Patch attached.

Cheers,
        Moritz
diff -aur maildrop-2.2.0.orig/debian/compat maildrop-2.2.0/debian/compat
--- maildrop-2.2.0.orig/debian/compat	2012-01-08 19:22:00.000000000 +0100
+++ maildrop-2.2.0/debian/compat	2012-01-08 19:22:57.000000000 +0100
@@ -1 +1 @@
-7
+9
Nur in maildrop-2.2.0/debian: compat~.
diff -aur maildrop-2.2.0.orig/debian/rules maildrop-2.2.0/debian/rules
--- maildrop-2.2.0.orig/debian/rules	2012-01-08 19:22:00.000000000 +0100
+++ maildrop-2.2.0/debian/rules	2012-01-08 19:22:52.000000000 +0100
@@ -1,12 +1,5 @@
 #!/usr/bin/make -f
 
-CFLAGS = -g
-CXXFLAGS = -g
-ifneq "$(shell dpkg-architecture -qDEB_HOST_ARCH)" "arm"
-	CFLAGS += -O2
-	CXXFLAGS += -O2
-endif
-
 #export DH_VERBOSE=1
 
 %:
@@ -17,7 +10,6 @@
 	autoconf
 	automake
 # trust on the auto-detect of qmail failing (for sendmail compability)
-	CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" \
 	./configure \
 			--prefix=/usr \
 			--sysconfdir=/etc \
Nur in maildrop-2.2.0/debian: rules~.

Reply via email to