[RFC/HEADSUP] portmaster default -w (preserve shared libraries)

Hajimu UMEMOTO ume at freebsd.org
Tue Dec 11 16:26:36 UTC 2012


Hi,

>>>>> On Tue, 11 Dec 2012 16:21:31 +0000
>>>>> Chris Rees <utisoft at gmail.com> said:

utisoft> On 11 Dec 2012 15:55, "Bryan Drewery" <bdrewery at freebsd.org> wrote:
>
> (As maintainer) I'm proposing to make -w the default for portmaster.
> This will preserve old shared libraries when upgrading. This helps 2
utisoft> things:
>
> 1. Prevents a broken system during upgrades
> 2. Prevents a broken system after upgrading for ports that did not get a
> PORTREVISION bump from a shared library update.
>
> You have certainly ran into this problem with large library updates such
> as png, pcre, openssl, etc.
>
> Portupgrade has always done this as default, and I have never seen any
> problems arise from it. It also cleans up prevents duplicated library
> versions. If portmaster is not already doing this, I will ensure it does.
>
> You could then use pkg_libchk to rebuild any lingering ports if you
> wanted to ensure your system was using the latest. Then cleanout the
> preserved shared library.
>
> Of course there will be a way to stick to the old default of not
> preserving the libraries.

utisoft> Yes, this is a great idea.

+1

Sincerely,

--
Hajimu UMEMOTO
ume at mahoroba.org  ume@{,jp.}FreeBSD.org
http://www.mahoroba.org/~ume/


More information about the freebsd-ports mailing list