From owner-freebsd-pkg@FreeBSD.ORG Thu Oct 31 22:20:49 2013 Return-Path: Delivered-To: freebsd-pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 0E39810A for ; Thu, 31 Oct 2013 22:20:49 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 906812846 for ; Thu, 31 Oct 2013 22:20:48 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.2.117.99]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.7/8.14.7) with ESMTP id r9VMKimK008499 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Thu, 31 Oct 2013 22:20:44 GMT (envelope-from matthew@FreeBSD.org) DKIM-Filter: OpenDKIM Filter v2.8.3 smtp.infracaninophile.co.uk r9VMKimK008499 Authentication-Results: smtp.infracaninophile.co.uk/r9VMKimK008499; dkim=none reason="no signature"; dkim-adsp=none (unprotected policy) Message-ID: <5272D7BB.5000103@FreeBSD.org> Date: Thu, 31 Oct 2013 22:20:43 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: freebsd-pkg@freebsd.org Subject: Re: Feature request... References: <1383245127.82272.YahooMailNeo@web163906.mail.gq1.yahoo.com> In-Reply-To: <1383245127.82272.YahooMailNeo@web163906.mail.gq1.yahoo.com> X-Enigmail-Version: 1.6 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="vjt9P4O4J2mQ3r7JTJAjT29fOlfP7DHrp" X-Virus-Scanned: clamav-milter 0.97.8 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Oct 2013 22:20:49 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --vjt9P4O4J2mQ3r7JTJAjT29fOlfP7DHrp Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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 --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey --vjt9P4O4J2mQ3r7JTJAjT29fOlfP7DHrp Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----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----- --vjt9P4O4J2mQ3r7JTJAjT29fOlfP7DHrp--