From owner-freebsd-ports@FreeBSD.ORG Wed Sep 14 20:28:10 2005 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 37EAB16A41F for ; Wed, 14 Sep 2005 20:28:10 +0000 (GMT) (envelope-from LoN_Kamikaze@gmx.de) Received: from mail.gmx.net (pop.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id B4AD143D7C for ; Wed, 14 Sep 2005 20:27:59 +0000 (GMT) (envelope-from LoN_Kamikaze@gmx.de) Received: (qmail invoked by alias); 14 Sep 2005 20:27:55 -0000 Received: from p54A7E60D.dip.t-dialin.net (EHLO [192.168.0.12]) [84.167.230.13] by mail.gmx.net (mp014) with SMTP; 14 Sep 2005 22:27:55 +0200 X-Authenticated: #5465401 Message-ID: <432887D6.8040206@gmx.de> Date: Wed, 14 Sep 2005 22:28:06 +0200 From: "[LoN]Kamikaze" Organization: Lords of Nightmare User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050908) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Conor McDermottroe References: <1126727985.776.8.camel@platinum.office.edgespace.net> In-Reply-To: <1126727985.776.8.camel@platinum.office.edgespace.net> X-Enigmail-Version: 0.92.0.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig8C03BA666B99D639D85AC256" X-Y-GMX-Trusted: 0 Cc: ports@freebsd.org Subject: Re: How to find package dependencies from the package 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: Wed, 14 Sep 2005 20:28:10 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig8C03BA666B99D639D85AC256 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit The named packages are most likely only required to build the port. 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? > > 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" > > --------------enig8C03BA666B99D639D85AC256 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDKIfbfMDIb41/+S0RAuLCAJ4rRDXgHeFWEIH7BxCpIPC4kxW1RQCdEKOl SvlxG9vVAMbzS5NBWB5sJcM= =4dzF -----END PGP SIGNATURE----- --------------enig8C03BA666B99D639D85AC256--