From owner-freebsd-ports@FreeBSD.ORG Fri Aug 1 07:36:46 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 74C931065670; Fri, 1 Aug 2008 07:36:46 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [91.103.162.4]) by mx1.freebsd.org (Postfix) with ESMTP id 30EDE8FC23; Fri, 1 Aug 2008 07:36:45 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from localhost (localhost.codelab.cz [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 3B13A19E023; Fri, 1 Aug 2008 09:36:44 +0200 (CEST) Received: from [192.168.1.2] (r5bb235.net.upc.cz [86.49.61.235]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 1A7B819E019; Fri, 1 Aug 2008 09:36:42 +0200 (CEST) Message-ID: <4892BD23.8000405@quip.cz> Date: Fri, 01 Aug 2008 09:37:07 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.12) Gecko/20050915 X-Accept-Language: cz, cs, en, en-us MIME-Version: 1.0 To: Doug Barton References: <489144B5.4030101@FreeBSD.org> <4892022F.1080009@FreeBSD.org> <9bbcef730807311438m45802827y91c7bb7366406af6@mail.gmail.com> <20080801125414.55567d37@ayiin> <4892B440.4090809@FreeBSD.org> In-Reply-To: <4892B440.4090809@FreeBSD.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org Subject: Re: Call for comments - pkg_trans 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: Fri, 01 Aug 2008 07:36:46 -0000 Doug Barton wrote: > Norberto Meijome wrote: [...] >> And since we are just wishing for things, It'd be nice to have an >> opportunity to back off from a install/remove after calculating >> dependencies, such as that provided by yum (it shows everything it >> will do and asks for confirmation before proceeding. ) > > > portmaster has the --show-work option that gives you output like this: > > ===>>> Port directory: /usr/ports/sysutils/fusefs-ntfs > ===>>> Starting check for all dependencies > ===>>> Gathering dependency list for sysutils/fusefs-ntfs from ports > > ===>>> Installed archivers/unzip > ===>>> Installed converters/libiconv > ===>>> Installed devel/gmake > ===>>> Installed devel/libtool15 > ===>>> NOT INSTALLED devel/libublio > ===>>> Installed devel/pkg-config > ===>>> NOT INSTALLED lang/ruby18 > ===>>> NOT INSTALLED sysutils/fusefs-kmod > ===>>> NOT INSTALLED sysutils/fusefs-libs > ===>>> NOT INSTALLED textproc/ruby-deplate > > Is that what you had in mind? That is currently a separate operation > because for ports with a lot of dependencies it can take a long time to > build the list. But I suppose that if there is interest I could create a > new mode of operation to do that check first, then confirm with the user > that they want to proceed. Yes, it would be useful to me. Sometimes old ports comes with new default options and brings new dependencies which I do not want to have installed with update / upgrade of port, but it is not easy to track these changes. If portmaster will have option to firstly show above info about dependencies and wait for confirmation, I will use this feature. Maybe in combination with some advanced logic: if all dependencies are installed, continue without confirmation, if some dependency is missing, wait for my confirmation. What you think about it? Miroslav Lachman