Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Sep 2005 22:23:40 +0200
From:      Pav Lucistnik <pav@FreeBSD.org>
To:        Roman Neuhauser <neuhauser@sigpipe.cz>
Cc:        ports@FreeBSD.org, Conor McDermottroe <lists@mcdermottroe.com>
Subject:   Re: How to find package dependencies from the package
Message-ID:  <1126729420.77533.29.camel@ikaros.oook.cz>
In-Reply-To: <20050914202158.GD19945@isis.sigpipe.cz>
References:  <1126727985.776.8.camel@platinum.office.edgespace.net> <20050914202158.GD19945@isis.sigpipe.cz>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-CXHnZtzUE0gUqFGGbXAM
Content-Type: text/plain; charset=ISO-8859-2
Content-Transfer-Encoding: quoted-printable

Roman Neuhauser p=ED=B9e v st 14. 09. 2005 v 22:21 +0200:
> # lists@mcdermottroe.com / 2005-09-14 20:59:45 +0100:
> > How do I programatically find out the list of packages that a given
> > package depends on?
> >=20
> > 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:
> >=20
> > pkg_info -r $package.tbz
> >=20
> > This always claims that the package depends on nothing at all, even whe=
n
> > I'm fairly sure it does. For example for the net/poptop port I get the
> > following:
> >=20
> > 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:
> >=20
> > Depends on:
> >=20
> > 20:56 root@platinum [~]#
> >=20
> > This happens despite the fact that the entry at
> > http://www.freebsd.org/ports/net.html says:
> >=20
> > poptop-1.1.4.b4_3=20
> >         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
> >=20
> > This makes no sense to me, but I presume that either something is broke=
n
> > somewhere or (way more likely) I am broken somewhere. :-)
>=20
>     You obviously don't need gmake to install the binary package,
>     and expat, gettext, and libiconv are gmake's dependencies.
>=20
>     Why you're not seeing libgnugetopt is a different matter, it's not
>     recorded in the +CONTENTS file; the port has it in RUN_DEPENDS,
>     though.
>=20

libgnugetopt is only applicable to FreeBSD 4.X. Packages for 5.X and
newer don't contain this dependency.

--=20
Pav Lucistnik <pav@oook.cz>
              <pav@FreeBSD.org>


--=-CXHnZtzUE0gUqFGGbXAM
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQBDKIbMntdYP8FOsoIRAvIhAJ4xQtceUAlZ0dgV82cQ3kRCuj/iHQCfeGaX
KuKxPG+9PGCydiWweqt4lsg=
=loL7
-----END PGP SIGNATURE-----

--=-CXHnZtzUE0gUqFGGbXAM--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1126729420.77533.29.camel>