Hi, sorry, I sent the patch that was against the Ubuntu packaging. This one should apply against the clean Debian package. (Though the changes are pretty obvious/trivial.) Thanks!
-- Kees Cook @debian.org
diff -uNrp squid-2.7.STABLE6~/debian/control squid-2.7.STABLE6/debian/control --- squid-2.7.STABLE6~/debian/control 2009-08-17 12:04:28.721773552 -0700 +++ squid-2.7.STABLE6/debian/control 2009-08-20 17:24:01.000000000 -0700 @@ -5,7 +5,7 @@ Maintainer: Ubuntu Core Developers <ubun Maintainer: Luigi Gangitano <lu...@debian.org> Homepage: http://www.squid-cache.org/ Standards-Version: 3.8.0 -Build-Depends: libldap2-dev, libpam0g-dev, sharutils, dpatch (>= 2.0.9), po-debconf, libdb-dev, libgssglue-dev, libkrb5-dev +Build-Depends: libldap2-dev, libpam0g-dev, sharutils, dpatch (>= 2.0.9), po-debconf, libdb-dev, libgssglue-dev, libkrb5-dev, hardening-wrapper Package: squid Architecture: any diff -uNrp squid-2.7.STABLE6~/debian/rules squid-2.7.STABLE6/debian/rules --- squid-2.7.STABLE6~/debian/rules 2009-08-17 12:04:28.721773552 -0700 +++ squid-2.7.STABLE6/debian/rules 2009-08-20 17:23:51.000000000 -0700 @@ -8,6 +8,7 @@ package = squid # Include dpatch stuff. include /usr/share/dpatch/dpatch.make +export DEB_BUILD_HARDENING=1 SHELL = /bin/bash LC_ALL = POSIX