Date: Wed, 14 Sep 2005 20:35:15 -0500 From: Eric Schuele <e.schuele@computer.org> To: Conor McDermottroe <lists@mcdermottroe.com> Cc: ports@freebsd.org Subject: Re: How to find package dependencies from the package Message-ID: <4328CFD3.3000104@computer.org> In-Reply-To: <1126727985.776.8.camel@platinum.office.edgespace.net> References: <1126727985.776.8.camel@platinum.office.edgespace.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Conor McDermottroe wrote: > Hi, > > I have a terrible feeling that this is a very stupid question, but here > goes: > > How do I programatically find out the list of packages that a given > package depends on? # cd /usr/ports/foo/bar # make pretty-print-run-depends-list # make pretty-print-build-depends-list Would that do what you need? Or must you derive this from the *package*? > > Given packages found at > ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-stable/All/ > and > http://pointyhat.freebsd.org/errorlogs/i386-5-packages-latest/All/ > and so on, I have done the following: > > pkg_info -r $package.tbz > > This always claims that the package depends on nothing at all, even when > I'm fairly sure it does. For example for the net/poptop port I get the > following: > > 20:55 root@platinum [~]# fetch > ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-stable/All/poptop-1.1.4.b4_3.tbz > poptop-1.1.4.b4_3.tbz 100% of 23 kB 49 kBps > 20:55 root@platinum [~]# pkg_info -r poptop-1.1.4.b4_3.tbz > Information for poptop-1.1.4.b4_3.tbz: > > Depends on: > > 20:56 root@platinum [~]# > > This happens despite the fact that the entry at > http://www.freebsd.org/ports/net.html says: > > poptop-1.1.4.b4_3 > Windows 9x compatible PPTP (VPN) server > Long description | Package | Sources | Main Web Site > Maintained by: ports@FreeBSD.org > Requires: expat-1.95.8_3, gettext-0.14.5, gmake-3.80_2, > libgnugetopt-1.2, libiconv-1.9.2_1 > > This makes no sense to me, but I presume that either something is broken > somewhere or (way more likely) I am broken somewhere. :-) > > I would be very grateful if anyone could enlighten me. > > -C > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" > -- Regards, Eric
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4328CFD3.3000104>