Apache/web ports advice in TPH

Philip M. Gollucci pgollucci at gmail.com
Mon Feb 6 22:02:35 UTC 2012

On 02/06/12 00:57, Doug Barton wrote:
> Howdy,
> This section:
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/using-php.html
> is out of date, as the very first bit mentions a bunch of old apache
> stuff. I'm happy to help update it if someone can say authoritatively
> what should be there.
USE_APACHE	The port requires Apache. Possible values: yes (gets any
version), 1.3, 2.0, 2.2, 2.0+, etc. Default dependency is on version 1.3.
yes is not valid, ranges and - work now too.  ohaurer or bsd.apache.mk
comments are authoritative.

WITH_APACHE2	The port requires Apache 2.0. Without this variable, the
port will depend on Apache 1.3. This variable is deprecated and should
not be used anymore.
remove this line entirely.

You'll have to ask ale@ about php.

> I'm also curious about the advice to install stuff into
> /usr/local/www/appname. I vaguely remember that this was deprecated but
> it seems to still be true. This is not an academic question because I'm
> getting ready to add a web port. :)
Stick with WWWDIR for now

> Finally, the first sentence of 6.12.2 says that WWWDIR is available to
> pkg-plist, but WWWDIR_REL is not. If we're going to encourage ports
> authors to use WWWDIR in the Makefile, shouldn't WWWDIR_REL be added to
> the default PLIST_SUB?

1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollucci at p6m7g8.com) c: 703.336.9354
Member,                           Apache Software Foundation
Committer,                        FreeBSD Foundation
Consultant,                       P6M7G8 Inc.
Director Operations,              Ridecharge Inc.

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-apache/attachments/20120206/e2c30a41/signature.pgp

More information about the freebsd-apache mailing list