[Bug 637652] [NEW] mailman should respect LDFLAGS

Public bug reported: mailman Makefile should respect the LDFLAGS variable. See attached patch. ** Affects: mailman Importance: Undecided Status: New -- mailman should respect LDFLAGS https://bugs.launchpad.net/bugs/637652 You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman.

** Attachment added: "add LDFLAGS to Makefile.in" https://bugs.launchpad.net/bugs/637652/+attachment/1580339/+files/mailman-2.... -- mailman should respect LDFLAGS https://bugs.launchpad.net/bugs/637652 You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman.

Hi, Debian and Ubuntu use hardened build flags. Such flags are especially relevant for a package like Mailman that uses setgid. In order to make full use of available hardening features, we need to pass CPPFLAGS and LDFLAGS, but Mailmans Makefile currently not allows that, so we need to patch it. It would be great if attached patch could be applied by Mailman upstream, as it doesn't have a drawback if you're not using the flags. Thanks, Thijs ** Patch added: "patch as used in Debian package" https://bugs.launchpad.net/mailman/+bug/637652/+attachment/2890784/+files/02... -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/637652 Title: mailman should respect LDFLAGS To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/637652/+subscriptions

** Changed in: mailman Status: New => Incomplete ** Changed in: mailman Status: Incomplete => Opinion -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/637652 Title: mailman should respect LDFLAGS To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/637652/+subscriptions

Hi Bernard, Can you elaborate on these changes? What are you trying to express? Cheers, Thijs -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/637652 Title: mailman should respect LDFLAGS To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/637652/+subscriptions

** Changed in: mailman Importance: Undecided => Wishlist ** Changed in: mailman Status: Opinion => Fix Committed ** Changed in: mailman Milestone: None => 2.1.15 ** Changed in: mailman Assignee: (unassigned) => Mark Sapiro (msapiro) -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/637652 Title: mailman should respect LDFLAGS To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/637652/+subscriptions

** Changed in: mailman Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/637652 Title: mailman should respect LDFLAGS To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/637652/+subscriptions

** Attachment added: "add LDFLAGS to Makefile.in" https://bugs.launchpad.net/bugs/637652/+attachment/1580339/+files/mailman-2.... -- mailman should respect LDFLAGS https://bugs.launchpad.net/bugs/637652 You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman.

Hi, Debian and Ubuntu use hardened build flags. Such flags are especially relevant for a package like Mailman that uses setgid. In order to make full use of available hardening features, we need to pass CPPFLAGS and LDFLAGS, but Mailmans Makefile currently not allows that, so we need to patch it. It would be great if attached patch could be applied by Mailman upstream, as it doesn't have a drawback if you're not using the flags. Thanks, Thijs ** Patch added: "patch as used in Debian package" https://bugs.launchpad.net/mailman/+bug/637652/+attachment/2890784/+files/02... -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/637652 Title: mailman should respect LDFLAGS To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/637652/+subscriptions

** Changed in: mailman Status: New => Incomplete ** Changed in: mailman Status: Incomplete => Opinion -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/637652 Title: mailman should respect LDFLAGS To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/637652/+subscriptions

Hi Bernard, Can you elaborate on these changes? What are you trying to express? Cheers, Thijs -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/637652 Title: mailman should respect LDFLAGS To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/637652/+subscriptions

** Changed in: mailman Importance: Undecided => Wishlist ** Changed in: mailman Status: Opinion => Fix Committed ** Changed in: mailman Milestone: None => 2.1.15 ** Changed in: mailman Assignee: (unassigned) => Mark Sapiro (msapiro) -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/637652 Title: mailman should respect LDFLAGS To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/637652/+subscriptions

** Changed in: mailman Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/637652 Title: mailman should respect LDFLAGS To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/637652/+subscriptions
participants (4)
-
Bernard
-
Hanno Böck
-
Mark Sapiro
-
Thijs Kinkhorst