Date: Mon, 17 Oct 2005 18:06:23 -0500 From: Kevin Kinsey <kdk@daleco.biz> To: Emil Khatib <fenomenoxp2@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: Show package dependencies Message-ID: <43542E6F.6030102@daleco.biz> In-Reply-To: <44u0ffre2t.fsf@be-well.ilk.org> References: <dd9992320510171443t7e9e0ac3k67a467d03a90c856@mail.gmail.com> <44u0ffre2t.fsf@be-well.ilk.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Lowell Gilbert wrote: >Emil Khatib <fenomenoxp2@gmail.com> writes: > > >>I'm connected to the Internet through a very slow connection, so if I >>want to download packages/ports, I need to get to a computer with a >>faster connection. The problem is: all the computers I can access are >>using Windows. So I need to get all the dependencies list of a package >>(just like I would do with make fetch-recursive-list when dealing with >>ports). I've tried doing something like pkg_add -rn xxx but it starts >>fetching the package. >>I've looked in all the manuals but found nothing that helps. >>How can I get the dependencies list of a package before downloading it? >>Any help appreciated >> >> > >According to "man ports", there are targets for this: >"pretty-print-run-depends-list, pretty-print-build-depends-list" > So, to explain in more precise terms: 1. Change to the directory of the desired port you wish to install. # cd /usr/ports/security/nmap 2. Use the "target" as the argument to the make(1) command: # make pretty-print-run-depends-list ... and you get a listing of runtime dependencies for the port: This port requires package(s) "pcre-6.4" to run It may be worth noting that "make search" in the /usr/ports directory also has this information: # cd /usr/ports && make search name=nmap Port: nmap-3.93 Path: /usr/ports/security/nmap Info: Port scanning utility for large networks Maint: daniel@roe.ch B-deps: gettext-0.14.5 gmake-3.80_2 libiconv-1.9.2_1 pcre-6.4 R-deps: pcre-6.4 WWW: http://www.insecure.org/nmap/ ---Kevin Kinsey
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43542E6F.6030102>