diff -Nru mkcue-1/debian/changelog mkcue-1/debian/changelog --- mkcue-1/debian/changelog 2014-04-11 12:52:16.000000000 +0000 +++ mkcue-1/debian/changelog 2016-03-17 16:01:28.000000000 +0000 @@ -1,3 +1,10 @@ +mkcue (1-5) unstable; urgency=low + + * Patch makefile and update rules to ensure that hardening flags are used. + * Update standards version. + + -- Moray Allan Wed, 16 Mar 2016 21:21:36 +0000 + mkcue (1-4) unstable; urgency=low * Use autotools-dev at build time. Closes: #727460. diff -Nru mkcue-1/debian/control mkcue-1/debian/control --- mkcue-1/debian/control 2014-04-11 12:40:07.000000000 +0000 +++ mkcue-1/debian/control 2016-03-16 21:21:33.000000000 +0000 @@ -3,7 +3,7 @@ Priority: optional Maintainer: Moray Allan Build-Depends: debhelper (>= 9), dh-autoreconf, docbook-to-man, autotools-dev -Standards-Version: 3.9.3 +Standards-Version: 3.9.7 Package: mkcue Architecture: any diff -Nru mkcue-1/debian/patches/series mkcue-1/debian/patches/series --- mkcue-1/debian/patches/series 2012-11-10 13:34:19.000000000 +0000 +++ mkcue-1/debian/patches/series 2016-03-17 15:57:52.000000000 +0000 @@ -1 +1,2 @@ fix_msf_offset +use_ldflags diff -Nru mkcue-1/debian/patches/use_ldflags mkcue-1/debian/patches/use_ldflags --- mkcue-1/debian/patches/use_ldflags 1970-01-01 00:00:00.000000000 +0000 +++ mkcue-1/debian/patches/use_ldflags 2016-03-17 15:59:50.000000000 +0000 @@ -0,0 +1,17 @@ +Description: ensure use of Debian $LDFLAGS + Ensure use of Debian $LDFLAGS, so that hardening options get used. +Author: Moray Allan +Last-Update: 2016-03-17 +Index: GNUmakefile.in +=================================================================== +--- mkcue-1.orig/GNUmakefile.in ++++ mkcue-1/GNUmakefile.in +@@ -54,7 +54,7 @@ INSTALL_SCRIPT= ${INSTALL_PROGRAM} + all: mkcue + + mkcue: mkcue.o mb.o +- ${CXX} -o $@ mkcue.o mb.o ++ ${CXX} -o $@ mkcue.o mb.o ${LDFLAGS} + + clean: + rm -f mkcue *.o diff -Nru mkcue-1/debian/rules mkcue-1/debian/rules --- mkcue-1/debian/rules 2014-04-11 12:54:41.000000000 +0000 +++ mkcue-1/debian/rules 2016-03-16 22:08:56.000000000 +0000 @@ -13,4 +13,4 @@ override_dh_auto_build: docbook-to-man debian/mkcue.sgml > mkcue.1 - dh_auto_build \ No newline at end of file + dh_auto_build -- CXXFLAGS="$(CXXFLAGS)" LDFLAGS="$(LDFLAGS)"