Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 May 2006 15:34:07 +0200
From:      Pascal Hofstee <caelian@gmail.com>
To:        Josh Carroll <josh.carroll@psualum.com>
Cc:        freebsd-security@freebsd.org, freebsd-current@freebsd.org, Jeremie Le Hen <jeremie@le-hen.org>, Alexander Kabaev <kabaev@gmail.com>
Subject:   Re: [fbsd] Re: Integrating ProPolice/SSP into FreeBSD
Message-ID:  <1148823247.83337.7.camel@aphrodite.offis.uni-oldenburg.de>
In-Reply-To: <8cb6106e0605271931p55971b2bwdb311275ce21819@mail.gmail.com>
References:  <20060526153422.GB25953@obiwan.tataz.chchile.org> <20060526183554.25d5cc0d@kan.dnsalias.net> <20060527172358.GC25953@obiwan.tataz.chchile.org> <8cb6106e0605271931p55971b2bwdb311275ce21819@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 2006-05-27 at 19:31 -0700, Josh Carroll wrote:
> I agree that having the necessary hooks to enable/disable SSP would be
> nice. It would also be nice if this can be done for ports in addition
> to base.

Being one of the people that extensively helped build/run-testing
Jeremie's patchsets i can safely say that we went through a lot of
iterations before we ended with the following functionality (which
should be present in the current patchset):

on CURRENT /usr/src builds use /etc/src.conf to provide make variables
identical to /etc/make.conf on non-CURRENT. This way setting
WITH_SSP=yes in /etc/src.conf will enable the SSP-bits for world
building.

Jeremie and i wanted to explicitely make enabling SSP for ports build as
well as easy and straight forward as possible. To that end we made some
minor changes to some of the bsd.*.mk files so that simply specifying
the same WITH_SSP=yes in your /make.conf is enough for the entire ports
tree to pick up the SSP settings and use them.

So in short this patchset enables the following on CURRENT:

/etc/src.conf    WITH_SSP=yes   enable SSP for buildworld
/etc/make.conf   WITH_SSP=yes   enable SSP for port builds

(not 100% sure if /etc/make.conf is processed along with /etc/src.conf
here)

on non-CURRENT:

/etc/make.conf   WITH_SSP=yes   enable SSP for both buildworld and ports


It couldn't get any easier than this ... i think :)

-- 
  Pascal Hofstee





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1148823247.83337.7.camel>