Feature request...

Matthew Seaman matthew at FreeBSD.org
Thu Oct 31 22:20:49 UTC 2013


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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1036 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-pkg/attachments/20131031/82a7429c/attachment.sig>


More information about the freebsd-pkg mailing list