Port upgrade problem

Lowell Gilbert freebsd-questions-local at be-well.ilk.org
Mon Jul 26 18:54:45 UTC 2010

Petre Bandac <petre at kgb.ro> writes:

> Lowell Gilbert wrote:
>> "Petre Bandac" <petre at kgb.ro> writes:
>>> While upgrading port, I have the following problems:
>>> - some cfg files are overwritten (authdaemon's authmysqlrc)
>> I can't figure out what port that comes from, so I can't help.
> courier-authlib-mysql-0.63.0_1 - the file is
> /usr/local/etc/authlib/authmysqlrc

According to the plist info, it shouldn't be installed at all; just
"etc/authlib/authmysqlrc.dist".  On delete, it will only be removed if
identical to authmysqlrc.dist.

>>> - some make install options are not kept (maildrop - not compiled against mysql and courier imap - fam is compiled, even though initially was ruled out)
>> Those aren't set up as OPTIONS, so they won't get stored in
>> /var/db/ports.  
>>> The upgrade sequence is:
>>> # portsnap fetch update
>>> # portmanager -u
>>> Am I doing something wrong?
>> See "alternative configuration" in the portmanager manual.
> I guess that is what I need, thank you
> however, I don't remember to have had this problem until now (i.e.
> options not being kept @ update); or they had the same behavior ?

It's always been this way.  This was the reason behind adding the
"OPTIONS" mechanism, but not all optional features are set up that way.

More information about the freebsd-questions mailing list