Date: Thu, 8 Sep 2005 17:23:58 -0700 From: Brooks Davis <brooks@one-eyed-alien.net> To: Vizion <vizion@vizion.occoxmail.com> Cc: freebsd-hackers@freebsd.org, freebsd-questions@freebsd.org Subject: Re: /usr/ports/www/phpbb --? Makefile query Message-ID: <20050909002358.GA3436@odin.ac.hmc.edu> In-Reply-To: <200509081705.41876.vizion@vizion.occoxmail.com> References: <200509081705.41876.vizion@vizion.occoxmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
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
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQFDINYeXY6L6fI4GtQRAvXvAKDcbXWSRLAp4SDXWYBiO43uqchitwCcDK2r
6q/SER/iU/u+xrh9n8tjT8k=
=fsDu
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050909002358.GA3436>
