Re: portupgrade, apache2/apache22, php4/php5

2006-11-14 Thread Vivek Khera


On Nov 13, 2006, at 5:25 PM, Bill Moran wrote:


In response to Harlan Stenn [EMAIL PROTECTED]:


Will this keep across a make update, or do I need to re-do  
it every

time I update /usr/ports?


I'm not familiar with using make update and I don't see any  
info on

it in man ports.


I run make update from /usr/src - it updates /usr/src, /usr/ 
ports, etc.


portupgrade updates the information in /var/db/pkg.  If make update
doesn't change /var/db/pkg, then the two will not affect one another,
for better or for worse.


What make update does is run cvsup for you based on your settings  
in /etc/make.conf of which SUPFILES to use for updating your system.   
It has not much to do with portupgrade other than updating the ports  
tree.




portupgrade, apache2/apache22, php4/php5

2006-11-13 Thread Harlan Stenn
[Please keep me in the Cc: line]

I have a couple of machines I have been upgrading over time using cvsup
and portupgrade.

On one machine that was running apache2 and php4, Something happend and
portupgrade on that machine now wants to install both php4 and php5, and
I'm seeing a package conflict between php5-5.2.0 and php4-4.4_1.  How
can I resolve this?

On another machine, I expressly installed apache22 on it, and have
tried to convince portupgrade that I want to use apache22 instead of
apache2 (now apache20).  I have tried various combinations of
APACHE_PORT=www/apache22, WITH_APACHE2=YES, and USE_APACHE=2.2+ and I
have not yet found the winning combination.

I note that chapter 5 of the porting handbook says that WITH_APACHE2 is
the knob I should use, and capter 6 of the same book says WITH_APACHE2
is deprecated.

What should I be doing, and if this is documented somewhere, where can I
find that documentation?

[Please keep me in the Cc: line]

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


Re: portupgrade, apache2/apache22, php4/php5

2006-11-13 Thread Harlan Stenn
Thanks Bill,

 Using portupgrade's -o option, you can replace on port with another.
 For example:
 portupgrade -o www/apache22 apache
 
 Will replace whatever version of apache you've got installed with
 Apache-2.2, including rearranging any required dependencies so they
 point to the new port.  Usually, when I have problems with portupgrade
 like you describe, it's because some already installed port requires
 something I don't want as a dependency.  The above trick has fixed it
 every time for me.

Will this keep across a make update, or do I need to re-do it every
time I update /usr/ports?

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


Re: portupgrade, apache2/apache22, php4/php5

2006-11-13 Thread Harlan Stenn
Bill,

  Will this keep across a make update, or do I need to re-do it every
  time I update /usr/ports?
 
 I'm not familiar with using make update and I don't see any info on
 it in man ports.

I run make update from /usr/src - it updates /usr/src, /usr/ports, etc.

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


Re: portupgrade, apache2/apache22, php4/php5

2006-11-13 Thread Bill Moran
In response to Harlan Stenn [EMAIL PROTECTED]:
 
   Will this keep across a make update, or do I need to re-do it every
   time I update /usr/ports?
  
  I'm not familiar with using make update and I don't see any info on
  it in man ports.
 
 I run make update from /usr/src - it updates /usr/src, /usr/ports, etc.

portupgrade updates the information in /var/db/pkg.  If make update
doesn't change /var/db/pkg, then the two will not affect one another,
for better or for worse.

-- 
Bill Moran
Collaborative Fusion Inc.



IMPORTANT: This message contains confidential information and is intended only 
for the individual named. If the reader of this message is not an intended 
recipient (or the individual responsible for the delivery of this message to an 
intended recipient), please be advised that any re-use, dissemination, 
distribution or copying of this message is prohibited.  Please notify the 
sender immediately by e-mail if you have received this e-mail by mistake and 
delete this e-mail from your system.


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