diff -Nru tnftp-20130505/debian/changelog tnftp-20130505/debian/changelog --- tnftp-20130505/debian/changelog 2014-11-06 10:42:07.000000000 +0000 +++ tnftp-20130505/debian/changelog 2014-11-17 06:51:20.000000000 +0000 @@ -1,3 +1,10 @@ +tnftp (20130505-3) unstable; urgency=medium + + * Revert DH compatibility level to 7. + * Set hardening options. + + -- Anibal Monsalve Salazar Mon, 17 Nov 2014 06:51:16 +0000 + tnftp (20130505-2) unstable; urgency=medium * Only trust filenames with special meaning if they came from diff -Nru tnftp-20130505/debian/compat tnftp-20130505/debian/compat --- tnftp-20130505/debian/compat 2014-11-06 09:57:48.000000000 +0000 +++ tnftp-20130505/debian/compat 2014-11-17 06:31:57.000000000 +0000 @@ -1 +1 @@ -9 +7 diff -Nru tnftp-20130505/debian/control tnftp-20130505/debian/control --- tnftp-20130505/debian/control 2014-11-06 10:02:59.000000000 +0000 +++ tnftp-20130505/debian/control 2014-11-17 06:31:39.000000000 +0000 @@ -2,7 +2,7 @@ Section: net Priority: optional Maintainer: Anibal Monsalve Salazar -Build-Depends: debhelper (>= 9), libncurses5-dev, libssl-dev, autotools-dev +Build-Depends: debhelper (>= 7), libncurses5-dev, libssl-dev, autotools-dev Standards-Version: 3.9.6 Homepage: http://en.wikipedia.org/wiki/Tnftp diff -Nru tnftp-20130505/debian/rules tnftp-20130505/debian/rules --- tnftp-20130505/debian/rules 2014-11-06 10:41:48.000000000 +0000 +++ tnftp-20130505/debian/rules 2014-11-17 06:49:10.000000000 +0000 @@ -5,13 +5,16 @@ # Uncomment this to turn on verbose mode. export DH_VERBOSE=1 +export CFLAGS+="-g -O2 -fstack-protector-strong -Wformat -Werror=format-security" +export LDFLAGS+="-Wl,-z,relro" + build-arch: build build-indep: build build: build-stamp build-stamp: dh_testdir dh_autotools-dev_updateconfig - ./configure --prefix=/usr --mandir=\$${prefix}/share/man $(shell dpkg-buildflags --export=configure) + ./configure --prefix=/usr --mandir=\$${prefix}/share/man CFLAGS=$(CFLAGS) LDFLAGS=$(LDFLAGS) $(MAKE) touch build-stamp