Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Oct 2013 22:20:43 +0000
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        freebsd-pkg@freebsd.org
Subject:   Re: Feature request...
Message-ID:  <5272D7BB.5000103@FreeBSD.org>
In-Reply-To: <1383245127.82272.YahooMailNeo@web163906.mail.gq1.yahoo.com>
References:  <1383245127.82272.YahooMailNeo@web163906.mail.gq1.yahoo.com>

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

[-- Attachment #1 --]
On 31/10/2013 18:45, Jeffrey Bouquet wrote:
> Suppose pkg when installing libxul from a package (for example), put
> the following in /usr/ports/multimedia/gxine (for example)
> "/usr/ports/multimedia/gxine/pkg_rdep_libxul.(MM-YY or Version
> or...)" making one .bak copy if it exists.  Then one may know more
> readily, when it is time to update gxine, if the libxul package may
> be available.

Information about reverse dependencies is already tracked in
local.sqlite, as is information about which shlibs packages either
provide or require.  It's much more efficient to use a RDBMS and keep
all that information in one place than scattering it all over the
filesystem.

Look at pkg-query(8) for how to extract that data from local.sqlite --
or it's close cousin pkg-rquery(8) which does the equivalent for
repository catalogues.

If I understand correctly the situation you're trying to describe, then
I think pkg(8) already does what you want.

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey



[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.20 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQJ8BAEBCgBmBQJScte8XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC
QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATb2UP/jNoknGfXNeTlf+s2aGGDfKH
QXJtrgghBP0OUlIMQVl+AL+SEB9q2uZD4B1eXMWnjLb8lOcPeUDlW6YH1TvyZV7i
2dk6YzJReBc5MlFS3OjNh/t+fqNQY5KL5oj9B4f7VnRVdryGqDmE4UjUv33IeAJr
rkR2jFRC7v64yocJCtdsZ5Ue9dkB8sLJao4vKOCjBZKlaQhl7E27F9sd25pzRQ7w
6NUscV2Oy5Hoa1R3QR5FBWZv9SVgZ3PgbP+9axVhUwK2kjgpzPrhVInC7iUDZSyL
8JKht6eVkHnhspQyEmjK6H93gBPN1qjyz1ZpiRUjwDzx1PmvTG1xnnIgg65Kt9fw
GvJBhBtRsr5Pn/ldjDw4xq5Op4dBzZYt7WmkAQsfYUUAURhGB2webwF6g4WnTRFn
KomFepP2zioOzz+KCVYl0kUnbk0TzabcMvZRhPi3t89YcwtaoaK2zHXo0z45pOty
8oAVgr/vcmgd2i2FiqcnvvkTS46fWoq9+/sM+o4NJgGc7FjIDGl0BNTTULT1FYjA
vOZi5vymT72v6QV6tD/mvM9hmVW2tkP9e2wG712YZL/Gdlp2Ucw2vHc9qOB2eoOr
UHoOa3tuQZkl5fM53aP2oPeZWTo5jaMXw+KRoVGOMG/PMAoYQ0dChQzFkU64NkhN
LsO8TRkOV7ltPjcKKhiQ
=svZN
-----END PGP SIGNATURE-----
help

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