Bug#664086: asterisk: Hardening flags missing for menuselect

Simon Ruderich simon at ruderich.org
Sun Apr 29 08:58:06 UTC 2012


reopen 664086
thanks

Dear Maintainer,

Sorry to bother you again but the LDFLAGS hardening flags are
still missing because there is a typo in debian/rules.

The following patch fixes the issue.

diff -Nru asterisk-1.8.11.1~dfsg/debian/rules asterisk-1.8.11.1~dfsg/debian/rules
--- asterisk-1.8.11.1~dfsg/debian/rules	2012-04-25 18:35:29.000000000 +0200
+++ asterisk-1.8.11.1~dfsg/debian/rules	2012-04-29 10:42:16.000000000 +0200
@@ -22,7 +22,7 @@
 
 # For CFLAGS/LDFLAGS of menuselect:
 BUILD_CFLAGS = $(CFLAGS)
-BUILD_LDFLAGS = $(CFLAGS)
+BUILD_LDFLAGS = $(LDFLAGS)
 
 # Necessary to pass hardening flags to menuselect.
 export CFLAGS LDFLAGS BUILD_CFLAGS BUILD_LDFLAGS

Regards,
Simon

[1]: https://wiki.debian.org/ReleaseGoals/SecurityHardeningBuildFlags
[2]: https://wiki.debian.org/HardeningWalkthrough
[3]: https://wiki.debian.org/Hardening
[4]: http://ruderich.org/simon/blhc/
-- 
+ privacy is necessary
+ using gnupg http://gnupg.org
+ public key id: 0x92FEFDB7E44C32F9
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-voip-maintainers/attachments/20120429/f24b2d6c/attachment.pgp>


More information about the Pkg-voip-maintainers mailing list