Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Nov 2006 18:17:32 -0500
From:      Kris Kennaway <kris@obsecurity.org>
To:        Robert Huff <roberthuff@rcn.com>
Cc:        ports@freebsd.org
Subject:   Re: distfile belongs to?
Message-ID:  <20061127231732.GI21883@xor.obsecurity.org>
In-Reply-To: <17771.24717.95357.989644@jerusalem.litteratus.org>
References:  <17771.24717.95357.989644@jerusalem.litteratus.org>

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

--dTy3Mrz/UPE2dbVg
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Nov 27, 2006 at 05:02:53PM -0500, Robert Huff wrote:
>=20
> 	Let's suppose I have a list of tarballs
> (e.g. foobar-1.23.456.tar.gz).  How do I tell which port each file
> belongs to?  "pkg_info" only lists the end results.

This information is not compiled in any convenient form.  You would
need to recursively traverse the ports tree and compare to the
DISTFILES and PATCHFILES variables.

Some existing tools like portsclean -d do this (for purposes of
identifying stale distfiles for removal) but don't record the
information.

Kris

--dTy3Mrz/UPE2dbVg
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQFFa3ILWry0BWjoQKURApJCAJ40EwW+EZiFMfKTzm56UV3c+KH/zQCfZI0I
DVhlqIfN3b77FOosMdkMT9g=
=KtBD
-----END PGP SIGNATURE-----

--dTy3Mrz/UPE2dbVg--



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