Source: libotr
Version: 4.0.0-2.2
Severity: normal
Tags: patch
User: hardening-disc...@lists.alioth.debian.org
Usertags: goal-hardening

Hi,

the attached patch completes the set of hardening flags used for
libotr, by enabling the bindnow linker option.

Cheers,
--
  intrigeri
  | GnuPG key @ https://gaffer.ptitcanardnoir.org/intrigeri/intrigeri.asc
  | OTR fingerprint @ https://gaffer.ptitcanardnoir.org/intrigeri/otr.asc

diff -Nru libotr-4.0.0/debian/rules libotr-4.0.0/debian/rules
--- libotr-4.0.0/debian/rules	2012-08-24 17:23:35.000000000 +0200
+++ libotr-4.0.0/debian/rules	2014-01-02 21:54:23.000000000 +0100
@@ -19,7 +19,7 @@
 
 	# Add here commands to configure the package.
 	./configure --with-pic --prefix=/usr --mandir=/usr/share/man \
-	$(shell dpkg-buildflags --export=configure)
+	$(shell DEB_BUILD_MAINT_OPTIONS=hardening=+bindnow dpkg-buildflags --export=configure)
 
 	touch configure-stamp
 

Reply via email to