Hardening Flags for sg3-utils

2013-06-25 Thread Ritesh Raj Sarraf
Hi, Following the Hardening wiki, I have build-dep the hardening-includes package and enabled the hardening flags as follows : rrs@zan:/var/tmp/sg3-utils (build)$ cat debian/rules #!/usr/bin/make -f # debian/rules file for the sg3-utils package # This has to be exported to make some magic below

Re: Hardening Flags for sg3-utils

2013-06-25 Thread Nick Andrik
Would it be that you need this? DPKG_EXPORT_BUILDFLAGS = 1 include /usr/share/dpkg/buildflags.mk -- =Do- N.AND 2013/6/25 Ritesh Raj Sarraf : > Hi, > > Following the Hardening wiki, I have build-dep the hardening-includes > package and enabled the hardening flags as follows : > > rrs@zan:/var/tm

Re: Hardening Flags for sg3-utils

2013-06-25 Thread Nick Andrik
Or probably this section for older debhelper: http://wiki.debian.org/HardeningWalkthrough#Older_debhelper -- =Do- N.AND -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.o

Re: Hardening Flags for sg3-utils

2013-06-25 Thread Steve Langasek
On Tue, Jun 25, 2013 at 09:40:33PM +0530, Ritesh Raj Sarraf wrote: > Following the Hardening wiki, I have build-dep the hardening-includes > package and enabled the hardening flags as follows : > If I bump the debhelper version to > 9, I do see the correct build flags. So, why don't you just do

Re: Hardening Flags for sg3-utils

2013-06-25 Thread Ritesh Raj Sarraf
On Tuesday 25 June 2013 09:47 PM, Nick Andrik wrote: > Would it be that you need this? > > DPKG_EXPORT_BUILDFLAGS = 1 > include /usr/share/dpkg/buildflags.mk > > -- > =Do- > N.AND > Don't know what was wrong. Maybe just the lack of sleep. Your suggestion works. Thank you. -- Ritesh Raj Sarraf |