Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 Aug 2012 07:38:05 -0700
From:      Doug Barton <dougb@FreeBSD.org>
To:        Bryan Drewery <bdrewery@FreeBSD.org>
Cc:        ports@FreeBSD.org
Subject:   Re: [RFC] bsd.port.mk: Record OPTIONS into /var/db/pkg on install
Message-ID:  <501FD6CD.5030303@FreeBSD.org>
In-Reply-To: <501FC7D4.6020504@FreeBSD.org>
References:  <501C71A8.4080505@FreeBSD.org> <501F7994.305@FreeBSD.org> <501FC7D4.6020504@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 08/06/2012 06:34 AM, Bryan Drewery wrote:
> On 8/6/2012 3:00 AM, Doug Barton wrote:
>> I would also like to see us embed the distfile information, either in
>> +CONTENTS or in its own file. This information is very useful for tools
>> like portmaster to better handle automated distfile cleanup.
>>
>> hth,
> 
> I like that idea. My only feedback is to make the auto-delete on
> deinstall be optional in bsd.port.mk. They may turnaround and reinstall
> it right away and not want to waste the bandwidth again.
> 
> Makes sense for port building tools to wipe the old files on upgrade!

Sorry I wasn't clear, I use the information on the old package to delete
the old distfiles, after first comparing to the list of distfiles used
by other ports to make sure that it isn't in use elsewhere (such as QT).

In portmaster un-installing the port is a different option from
upgrading, and has a component of deleting the current distfiles if the
user chooses it.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?501FD6CD.5030303>