From owner-freebsd-questions@FreeBSD.ORG Fri Sep 9 00:24:01 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A1CF116A41F; Fri, 9 Sep 2005 00:24:01 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5054243D5E; Fri, 9 Sep 2005 00:23:59 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.13.0/8.13.0) with ESMTP id j890Nwoe004595; Thu, 8 Sep 2005 17:23:58 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.13.0/8.13.0/Submit) id j890Nw9c004594; Thu, 8 Sep 2005 17:23:58 -0700 Date: Thu, 8 Sep 2005 17:23:58 -0700 From: Brooks Davis To: Vizion Message-ID: <20050909002358.GA3436@odin.ac.hmc.edu> References: <200509081705.41876.vizion@vizion.occoxmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="vkogqOf2sHV7VnPd" Content-Disposition: inline In-Reply-To: <200509081705.41876.vizion@vizion.occoxmail.com> User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new X-Spam-Status: No, hits=0.0 required=8.0 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on odin.ac.hmc.edu Cc: freebsd-hackers@freebsd.org, freebsd-questions@freebsd.org Subject: Re: /usr/ports/www/phpbb --? Makefile query X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Sep 2005 00:24:01 -0000 --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--