Doug Barton píše v čt 17. 05. 2007 v 13:06 -0700:

> What might 
> be useful in this regard is if someone were to start a new thread 
> describing exactly what the desired behavior is, and ideally to 
> include a description of how portupgrade does it now.

Just before old package deinstall, scan the list of files installed by
old port (pkg_info -g). Match .so.X files under PREFIX/lib and any
ldconfig'ed paths 1*), copy them away to /usr/local/lib/compat/pkg.

After installation of new port, match .so.X files again. If same
filenames appear, remove old copies from /usr/local/lib/compat/pkg.

Finally, ldconfig -r /usr/local/lib/compat/pkg


1*) portupgrade currently gets this wrong and saves all .so* files,
including uninteresting things like plugins etc.

-- 
Pav Lucistnik <[EMAIL PROTECTED]>
              <[EMAIL PROTECTED]>

The final screw holding up a rackmount server is always possessed
by demons.

Attachment: signature.asc
Description: Toto je digitálně podepsaná část zprávy

Reply via email to