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

2005-09-09 Thread Chris St Denis
I've used phpBB with php5 just fine. 

If you want alternative forums software, take a look at http://fudforum.org

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Vizion
Sent: Thursday, September 08, 2005 8:51 PM
To: freebsd-questions@freebsd.org
Cc: Brooks Davis; Johann Visagie
Subject: Re: /usr/ports/www/phpbb --? Makefile query

On Thursday 08 September 2005 19:48,  the author Brooks Davis contributed to

the dialogue on-
 Re: /usr/ports/www/phpbb --? Makefile query: 

On Thu, Sep 08, 2005 at 05:34:32PM -0700, Vizion wrote:
 On Thursday 08 September 2005 17:23, you wrote:
 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
 
used to doing it might be willing to make such a change and commit

That would be breaking the Makefile, not fixing it.  Realistly, if you
want to use a non-standard file system layout, you shouldn't use the
port.  
Humph -- well I thought most large scale virtual webs are set up outside  
main /usr/local - admittedly many use simlinks but I thought not when the 
sever operates as a farm...which is why apache allows for data paths 
separtely /usr/loca

Just do a make depends in the phpbb port directory to get the 
pieces you need, and then install phpbb by hand.  Most php apps are
pretty trivial to install if you know how to configure a web server and
database.

I have now found an even more serious problem phpbb is NOT compatible with 
php5 -- which opens a whole can of worms...

I am trying for an alternative

Thank yo so much for your time -- it is much appreciated

David


P.S. Please stop randomly cross posting your messages.  It just wastes
people's time.
Sorry about that

-- 
40 yrs navigating and computing in blue waters.
English Owner  Captain of British Registered 60' bluewater Ketch S/V
Taurus.
 Currently in San Diego, CA. Sailing bound for Europe via Panama Canal after

completing engineroom refit.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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

2005-09-08 Thread Vizion
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.

Thanks

David   
-- 
40 yrs navigating and computing in blue waters.
English Owner  Captain of British Registered 60' bluewater Ketch S/V Taurus.
 Currently in San Diego, CA. Sailing bound for Europe via Panama Canal after 
completing engineroom refit.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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

2005-09-08 Thread Brooks Davis
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


pgp3jrWEEsN7s.pgp
Description: PGP signature


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

2005-09-08 Thread Vizion
On Thursday 08 September 2005 17:05,  the author Vizion contributed to the 
dialogue on-
 /usr/ports/www/phpbb --? Makefile query: 

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.

Just a small point the makefile includes line

Perform a make options to see a list of available installation options
but
# make options
make: don't know how to make options. Stop

Maybe the Makefile needs to test the difference between
usr2
and
/usr
to distinguish been an absolute path and a path relative to ${PREFIX}

Thanks again

david

-- 
40 yrs navigating and computing in blue waters.
English Owner  Captain of British Registered 60' bluewater Ketch S/V Taurus.
 Currently in San Diego, CA. Sailing bound for Europe via Panama Canal after 
completing engineroom refit.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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

2005-09-08 Thread Vizion
On Thursday 08 September 2005 17:23, you wrote:
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 

Where is ${PREFIX} set?
and WWWDOCROOT to virtualwebs to install the key 
files where you want them.  
But does that not mean that I would be getting files that properly belong in 
the /usr/local/ hierarchy in the virtualwebs hierarchy?

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.  


That would be a good idea but unfortunately there appears to be a bug in the 
latest version of apache2 that makes symlinks problematical and it is not a 
good idea when the files are networked. The other thing is that /usr2/ is a 
different physical device which holds files for replication to duplicate 
physical devices for webfarming. 

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.

Does anyone know how to fix the Makefile for the port so that it does not 
apply ${PREFIX} when presented with an absolute path such as / but does use 
${PREFIX} when the path is relative.

That would do as a workaround for the moment.

I am  not familiar with makefiles and I would like to ask if someone who is 
used to doing it might be willing to make such a change and commit

thanks

david


-- 
40 yrs navigating and computing in blue waters.
English Owner  Captain of British Registered 60' bluewater Ketch S/V Taurus.
 Currently in San Diego, CA. Sailing bound for Europe via Panama Canal after 
completing engineroom refit.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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

2005-09-08 Thread Vizion

Jst thought I would mention that this is being used for a series of sites to 
support victims of katrina - so if anyone does feel like helping out urgently 
it would really be appreciated --

thanks

On Thursday 08 September 2005 17:34,  the author Vizion contributed to the 
dialogue on-
 Re: /usr/ports/www/phpbb --? Makefile query: 

On Thursday 08 September 2005 17:23, you wrote:
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

Where is ${PREFIX} set?

and WWWDOCROOT to virtualwebs to install the key
files where you want them.

But does that not mean that I would be getting files that properly belong in
the /usr/local/ hierarchy in the virtualwebs hierarchy?

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.

That would be a good idea but unfortunately there appears to be a bug in the
latest version of apache2 that makes symlinks problematical and it is not a
good idea when the files are networked. The other thing is that /usr2/ is a
different physical device which holds files for replication to duplicate
physical devices for webfarming.

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.

Does anyone know how to fix the Makefile for the port so that it does not
apply ${PREFIX} when presented with an absolute path such as / but does use
${PREFIX} when the path is relative.

That would do as a workaround for the moment.

I am  not familiar with makefiles and I would like to ask if someone who is
used to doing it might be willing to make such a change and commit

thanks

david

-- 
40 yrs navigating and computing in blue waters.
English Owner  Captain of British Registered 60' bluewater Ketch S/V Taurus.
 Currently in San Diego, CA. Sailing bound for Europe via Panama Canal after 
completing engineroom refit.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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

2005-09-08 Thread Brooks Davis
On Thu, Sep 08, 2005 at 05:34:32PM -0700, Vizion wrote:
 On Thursday 08 September 2005 17:23, you wrote:
 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 
 
 Where is ${PREFIX} set?

It defaults to /usr/local or you can set it to anything you want on the
make command line.

 and WWWDOCROOT to virtualwebs to install the key 
 files where you want them.  
 But does that not mean that I would be getting files that properly belong in 
 the /usr/local/ hierarchy in the virtualwebs hierarchy?

That depends on your definition of properly.  Yes they will end up
there, but that's what is supposed to happen when you set, PREFIX to
something other than /usr/local.

 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.  
 
 
 That would be a good idea but unfortunately there appears to be a bug in the 
 latest version of apache2 that makes symlinks problematical and it is not a 
 good idea when the files are networked. The other thing is that /usr2/ is a 
 different physical device which holds files for replication to duplicate 
 physical devices for webfarming. 

That shouldn't be an issue.  If you point apache at the real paths,
everything should be fine.  I merely suggest using a symlike to get the
files installed where you want them.

 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.
 
 Does anyone know how to fix the Makefile for the port so that it does not 
 apply ${PREFIX} when presented with an absolute path such as / but does use 
 ${PREFIX} when the path is relative.

 That would do as a workaround for the moment.
 
 I am  not familiar with makefiles and I would like to ask if someone who is 
 used to doing it might be willing to make such a change and commit

That would be breaking the Makefile, not fixing it.  Realistly, if you
want to use a non-standard file system layout, you shouldn't use the
port.  Just do a make depends in the phpbb port directory to get the
pieces you need, and then install phpbb by hand.  Most php apps are
pretty trivial to install if you know how to configure a web server and
database.

-- Brooks

P.S. Please stop randomly cross posting your messages.  It just wastes
people's time.

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


pgpmeoR2N0I5K.pgp
Description: PGP signature


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

2005-09-08 Thread Vizion
On Thursday 08 September 2005 19:48,  the author Brooks Davis contributed to 
the dialogue on-
 Re: /usr/ports/www/phpbb --? Makefile query: 

On Thu, Sep 08, 2005 at 05:34:32PM -0700, Vizion wrote:
 On Thursday 08 September 2005 17:23, you wrote:
 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
 
used to doing it might be willing to make such a change and commit

That would be breaking the Makefile, not fixing it.  Realistly, if you
want to use a non-standard file system layout, you shouldn't use the
port.  
Humph -- well I thought most large scale virtual webs are set up outside  
main /usr/local - admittedly many use simlinks but I thought not when the 
sever operates as a farm...which is why apache allows for data paths 
separtely /usr/loca

Just do a make depends in the phpbb port directory to get the 
pieces you need, and then install phpbb by hand.  Most php apps are
pretty trivial to install if you know how to configure a web server and
database.

I have now found an even more serious problem phpbb is NOT compatible with 
php5 -- which opens a whole can of worms...

I am trying for an alternative

Thank yo so much for your time -- it is much appreciated

David


P.S. Please stop randomly cross posting your messages.  It just wastes
people's time.
Sorry about that

-- 
40 yrs navigating and computing in blue waters.
English Owner  Captain of British Registered 60' bluewater Ketch S/V Taurus.
 Currently in San Diego, CA. Sailing bound for Europe via Panama Canal after 
completing engineroom refit.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]