apache 2 in ports

Daniel Bye daniel.bye at psineteurope.com
Wed Jun 9 03:37:41 PDT 2004


On Tue, Jun 08, 2004 at 08:15:33PM -0400, info at bignose.ca wrote:
> Hi, I want to compile apache2 from ports with suexec.
> Yet there is no mention of it at all in the Make file.
> 
> It is in Makefile.doc but i'm not sure if thats what i should beusing.
> 
> Can someone fill me in please.

A brief look at www/apache2/Makefile.modules suggests that you just need to
specify "WITH_SUEXEC=yes" in the build environment.  Makefile.modules gets
included from Makefile.

This should work:

# make WITH_SUEXEC=yes install

Or if you use portupgrade and friends,

# portinstall -M WITH_SUEXEC=yes www/apache2

You can then put it in /usr/local/etc/pkgtools.conf under MAKE_ARGS:

  MAKE_ARGS = {
    'www/apache2' => 'WITH_SUEXEC=yes',
  }

This ensures you won't have to specify it each time you upgrade.

HTH

Dan

-- 
Daniel Bye
PSINet Europe Ltd
Brookmount Court
Cambridge
UK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040609/7af2b19f/attachment.bin


More information about the freebsd-questions mailing list