Re: Passing LDFLAGS to Apache modules for hardened build flags
- To: Arno Töll <email@example.com>
- Cc: firstname.lastname@example.org
- Subject: Re: Passing LDFLAGS to Apache modules for hardened build flags
- From: Moritz Mühlenhoff <email@example.com>
- Date: Sun, 27 May 2012 11:53:58 +0200
- Message-id: <20120527095358.GA25810@pisco.westfalen.local>
- In-reply-to: <20120416153721.GA4100@pisco.westfalen.local>
- References: <20120408201014.GA4193@pisco.westfalen.local> <4F83435B.firstname.lastname@example.org> <20120414144234.GA5872@pisco.westfalen.local> <4F898EC4.email@example.com> <20120416153721.GA4100@pisco.westfalen.local>
On Mon, Apr 16, 2012 at 05:37:24PM +0200, Moritz Mühlenhoff wrote:
> On Sat, Apr 14, 2012 at 04:50:44PM +0200, Arno Töll wrote:
> > On 14.04.2012 16:42, Moritz Mühlenhoff wrote:
> > > I can rebuild the Apache modules in the archive with test builds if that
> > > helps.
> > I committed a fix to apxs in our VCS yesterday . This will allow you
> > to override LDFLAGS just like it is possible for CFLAGS. Moreover, this
> > change automatically injects hardening flags through apxs if the Apache2
> > server was built itself with it.
> > Consider this behavior highly experimental and not widely tested. It is
> > probably included in our next upload to experimental and/or unstable
> > unless I find problems with it.
> > This only affects modules built against Apache 2.4 in experimental which
> > we plan to release with Wheezy. This means there aren't too many where
> > you could see this behavior already .
> > Let me know if that helps you, as that will mean all Apache modules in
> > Wheezy (i.e. _after_ the transition) will be built by default with
> > hardening flags unless the maintainer opted out by overriding
> > CFLAGS/CPPFLAGS/LDFLAGS through apxs explicitly.
> Thank your for the nice and fast turnaround in addressing this,
> much appreciated!
> I'll run test builds of the Apache modules in the archive with
> 2.4.2-1 and followup on the individual bug reports.
I was about to run test builds now.
Since the plan is to no longer go with 2.4 for Wheezy, will you backport
the changes to 2.2 or is this for post-Wheezy?