From owner-freebsd-pkg@FreeBSD.ORG Sat May 31 08:25:33 2014 Return-Path: Delivered-To: freebsd-pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7918A92F for ; Sat, 31 May 2014 08:25:33 +0000 (UTC) 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)) (Client CN "smtp.infracaninophile.co.uk", Issuer "ca.infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 0C6732361 for ; Sat, 31 May 2014 08:25:32 +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.8/8.14.8) with ESMTP id s4V8PFTS085868 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Sat, 31 May 2014 09:25:25 +0100 (BST) (envelope-from matthew@FreeBSD.org) Authentication-Results: lucid-nonsense.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org DKIM-Filter: OpenDKIM Filter v2.8.3 smtp.infracaninophile.co.uk s4V8PFTS085868 Authentication-Results: smtp.infracaninophile.co.uk/s4V8PFTS085868; dkim=none reason="no signature"; dkim-adsp=none Message-ID: <538991E0.5000902@FreeBSD.org> Date: Sat, 31 May 2014 09:25:04 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: freebsd-pkg@freebsd.org Subject: Re: Dependency graph? References: <20140531065218.GB169@admin.sibptus.tomsk.ru> In-Reply-To: <20140531065218.GB169@admin.sibptus.tomsk.ru> X-Enigmail-Version: 1.6 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="g3jL5LO0pBILtTpvo9B60BjdCFW9ELQnq" X-Virus-Scanned: clamav-milter 0.98.3 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-3.2 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.18 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: Sat, 31 May 2014 08:25:33 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --g3jL5LO0pBILtTpvo9B60BjdCFW9ELQnq Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 31/05/2014 07:52, Victor Sudakov wrote: > Sometimes you attempt to "pkg install" a simple package and find out > that it attempts to install a load of crap (like X libraries) because o= f > some obscure dependency. >=20 > Is there a tool that would analyze the repository metadata and display > a dependency tree for a package? >=20 > All the necessary dependency information is already in the repository > in JSON (?) or sqlite format, perhaps someone has already come up with > a script to display that? Not to my knowledge. Generating output suitable for feeding into dot should be pretty easy, just based on processing the output of 'pkg query'= Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey --g3jL5LO0pBILtTpvo9B60BjdCFW9ELQnq 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/ iQJ8BAEBCgBmBQJTiZHpXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATov4P/iRTyYPMs0Wiq+18SSQ4HAQE W8epR8jvG61Yf8f+1U4daTNRvCzyS1uc7kTQfJglpxzRyxfYw3OZdkrplrETxHlA AqDDtPngH2ku2M18Fz3Tp13paIdWYBo6VEmpj3QxF8ucIoSiFonSnIDgK0ZwiBt4 u7XLYLB3Z5oZvQagOADoE9PI0SkbSQVb7LbY8hhDUI6xNnFDkIW3t6djcLH3LgQf ZU3wSApywWq1nkm5Ghn8J9to65Cpxe2YX+qb5sYkfF/L9s11SGf1ckBzGt598bAy NmHypYeF85fewToGad6M73+iBjX7AQcgu8X0s0S9qkqrmeGP/YqB0mh5Dmur2l6m CsPuVDO9SStgrZouxsHh+pTNAmtzrHO5oCG9+9YPhnG5CqzON/NgoHWxXDys/qsg VxtAuyfAtwGxFVn+sQdcL0a2y5Ek7YVJ30TDZ8y+YIOd9BgciapBz5/49KYnFI3x yKMVmul3r4ov1DaaN7vS1RxjPWErATA7Whgg35+8cdXAifE5O7yZSrHLxTmr/vCX wGMd6oqCDI+mIAP8SywP8G43ehLrkPGaN8llwkluwuNiSiPGRn4YE9rCsR+64gYq ZgWTQq4hcu5+MJaa+TjoHK4QFXZGDqiVY8r8z33ZEN/loaJXL+PYLZ3ctHzjDE7l GASCrgUvkNSLCQY06XqM =xz2h -----END PGP SIGNATURE----- --g3jL5LO0pBILtTpvo9B60BjdCFW9ELQnq--