/usr/ports/www/phpbb --? Makefile query

Brooks Davis brooks at one-eyed-alien.net
Thu Sep 8 17:24:01 PDT 2005


On Thu, Sep 08, 2005 at 05:05:41PM -0700, Vizion wrote:
> The makefile has the following lines:
> 
> PHPBBDIR=	${WWWDOCROOT}/${PHPBBURL}
> PKGOPTS=	${FILESDIR}/pkg-opts
> EXCEPTFILES=	${PREFIX}/${PHPBBDIR}/install/install.php \
> 		${PREFIX}/${PHPBBDIR}/install/upgrade.php \
> 		${PREFIX}/${PHPBBDIR}/install/update_to_latest.php
> 
> In my case DocumentRoot is:
> WWWDOCROOT?=	/usr2/virtualwebs
> 
> to which the port is adding ${PREFIX}
> 
> which has a local value of /usr/local
> 
> producing attempts to install files with problematic paths such as
> 
> /usr/local//usr2/virtualwebs/forumkatrina.org/install/install.php
> ^^^^^^   
> 
> I wonder, while this is being looked at, whether it might be possible to have 
> the option, when installing to virtual webs to install to a file list 
> comprising multiple urls?
> 
> This would be a most valuable option.

Installation outside prefix is not supported.  You could set
prefix to /usr2 and WWWDOCROOT to virtualwebs to install the key
files where you want them.  This would cause /usr2 to be populated
with the directories given in BSD.local.dist.  Alternativly,
you could make /usr/local/www/forumkatrina.org a symlike to
/usr2/virtualwebs/forumkatrina.org or something similar.  Of course, if
you want to install it more than once, ports won't work as it.  Making
phpbb capable of being a slave port and making local ports for each site
could be a good work around for that.

-- Brooks

-- 
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20050908/d04faee8/attachment.bin


More information about the freebsd-hackers mailing list