cvsup and portupgrade

Jez Hancock jez.hancock at munk.nu
Wed Oct 8 17:07:27 PDT 2003


On Wed, Oct 08, 2003 at 11:33:25AM -0700, David Bear wrote:
> 
> I'm still trying to muddle through the loads of different ways to keep
In addition to the other good advice given in this thread - when you get
used to portupgrade remember to edit /usr/local/etc/pkgtools.conf.
This file allows you to specify how portupgrade behaves when upgrading
ports matching a pattern, say like 'www/mod_php4'.

For example if you use mod_php4 and opt to run portupgrade on that port
once a week, generally you will be told that the port is 'out of date',
since the mod_php4 is updated generally once every few days.

However if you allow portupgrade to just upgrade mod_php4 as it sees
fit, it will not by default rebuild the port with all the options you
chose originally.  

To get around this you can include options in
/usr/local/etc/pkgtools.conf to specify which features you want mod_php4
to be built with when modified using portupgrade or portinstall, saving
the hassle of having to 'make clean deinstall' and then 'make install'
again, selecting all the options you want manually.


-- Jez Hancock
 - System Administrator / PHP Developer

http://munk.nu/


More information about the freebsd-questions mailing list