From owner-freebsd-ports@FreeBSD.ORG Mon Aug 6 14:59:50 2012 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E1AE91065673 for ; Mon, 6 Aug 2012 14:59:50 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C240B8FC12 for ; Mon, 6 Aug 2012 14:59:50 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q76ExoNj059591 for ; Mon, 6 Aug 2012 14:59:50 GMT (envelope-from bdrewery@freefall.freebsd.org) Received: (from bdrewery@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q76ExoZh059590 for ports@FreeBSD.org; Mon, 6 Aug 2012 14:59:50 GMT (envelope-from bdrewery) Received: (qmail 72625 invoked from network); 6 Aug 2012 09:59:48 -0500 Received: from unknown (HELO ?192.168.0.74?) (freebsd@shatow.net@74.94.87.209) by sweb.xzibition.com with ESMTPA; 6 Aug 2012 09:59:48 -0500 Message-ID: <501FDBE2.2040105@FreeBSD.org> Date: Mon, 06 Aug 2012 09:59:46 -0500 From: Bryan Drewery Organization: FreeBSD User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: Doug Barton References: <501C71A8.4080505@FreeBSD.org> <501F7994.305@FreeBSD.org> <501FC7D4.6020504@FreeBSD.org> <501FD6CD.5030303@FreeBSD.org> In-Reply-To: <501FD6CD.5030303@FreeBSD.org> X-Enigmail-Version: 1.4.3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: ports@FreeBSD.org Subject: Re: [RFC] bsd.port.mk: Record OPTIONS into /var/db/pkg on install X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Aug 2012 14:59:51 -0000 On 8/6/2012 9:38 AM, Doug Barton wrote: > 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). > Ah I see my confusion now. http://www.freebsd.org/cgi/query-pr.cgi?pr=106483 I saw the $RM lines in deinstall and didn't look close enough. They are just removing the distfile list, not the actual files. Regards, Bryan