Skip site navigation (1)Skip section navigation (2)
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

--vkogqOf2sHV7VnPd
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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

--=20
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

--vkogqOf2sHV7VnPd
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFDINYeXY6L6fI4GtQRAvXvAKDcbXWSRLAp4SDXWYBiO43uqchitwCcDK2r
6q/SER/iU/u+xrh9n8tjT8k=
=fsDu
-----END PGP SIGNATURE-----

--vkogqOf2sHV7VnPd--



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