Date: Fri, 05 Mar 2010 17:31:49 +0100 From: daniele <glimp@live.com> To: Anselm Strauss <amsibamsi@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: Port/package install preview Message-ID: <BLU0-SMTP472C0782A38D4BF3295FB8DC380@phx.gbl> In-Reply-To: <29722c131003050814i46cff405s5996768dd94f653f@mail.gmail.com> References: <29722c131003050743i4da11f4ak897ec813b48d30df@mail.gmail.com> <BLU0-SMTP591A2AB12EB7AE35CD2742DC380@phx.gbl> <29722c131003050814i46cff405s5996768dd94f653f@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <glimp@live.com > <mailto:glimp@live.com>> 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 > <mailto: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 > <mailto: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 > <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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BLU0-SMTP472C0782A38D4BF3295FB8DC380>