From owner-freebsd-questions@FreeBSD.ORG Fri Mar 5 16:32:20 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5EE6B1065672 for ; Fri, 5 Mar 2010 16:32:20 +0000 (UTC) (envelope-from glimp@live.com) Received: from blu0-omc4-s16.blu0.hotmail.com (blu0-omc4-s16.blu0.hotmail.com [65.55.111.155]) by mx1.freebsd.org (Postfix) with ESMTP id 23A0B8FC27 for ; Fri, 5 Mar 2010 16:32:15 +0000 (UTC) Received: from BLU0-SMTP47 ([65.55.111.136]) by blu0-omc4-s16.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 5 Mar 2010 08:32:15 -0800 X-Originating-IP: [151.49.226.147] X-Originating-Email: [glimp@live.com] Message-ID: Received: from aodai.collidiamo.net ([151.49.226.147]) by BLU0-SMTP47.blu0.hotmail.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Fri, 5 Mar 2010 08:32:15 -0800 Date: Fri, 05 Mar 2010 17:31:49 +0100 From: daniele User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.8) Gecko/20100302 Thunderbird/3.0.3 MIME-Version: 1.0 To: Anselm Strauss References: <29722c131003050743i4da11f4ak897ec813b48d30df@mail.gmail.com> <29722c131003050814i46cff405s5996768dd94f653f@mail.gmail.com> In-Reply-To: <29722c131003050814i46cff405s5996768dd94f653f@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 05 Mar 2010 16:32:15.0254 (UTC) FILETIME=[6A3B1360:01CABC81] Cc: freebsd-questions@freebsd.org Subject: Re: Port/package install preview X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Mar 2010 16:32:20 -0000 On 03/05/10 17:14, Anselm Strauss wrote: > That gives me some static information on the ports requirements. But I > would like a preview of what rests to be done. Some ports have a lot of > dependencies, most of them are already installed. Can ports also > incorporate the current state of installed packages? > > On Fri, Mar 5, 2010 at 5:01 PM, daniele > wrote: > > On 03/05/10 16:43, Anselm Strauss wrote: > > Hi, > > is it possible to do a real preview with portupgrade? I want to > see all > ports that would be installed/upgraded when installing a > particular port. > The --noexecute option doesn't really show me a lot. How would > this be done > with packages? pkg_add would have to download all packges first > to be able > to calculate all dependencies, or can it operate on an index file? > > Anselm > _______________________________________________ > freebsd-questions@freebsd.org > mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org > " > > > Hello ! > > Take a look at the 'ports' manpage and you will find a mean on how > to get useful information on the ports collection (configuring > building discover dependencies etc..) : > > http://www.freebsd.org/cgi/man.cgi?query=ports&apropos=0&sektion=0&manpath=FreeBSD+8.0-RELEASE&format=html > > > Examples > > * fetch-list > Show list of files to be fetched in order to build > the port. > > * run-depends-list, build-depends-list > Print a list of all the compile and run > dependencies, and dependencies of those dependencies, by port directory. > > etc... > > d > > Well, I don't know if there's already some pre-packaged tool to retrieve the information you need. In the worst case, I suppose one should set up a script that makes use of that "static information" + the information provided by pkg_info to reach the goal... but that's just a guess d