From owner-freebsd-pkg@freebsd.org Mon Jan 7 15:43:32 2019 Return-Path: Delivered-To: freebsd-pkg@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9C6611496089 for ; Mon, 7 Jan 2019 15:43:32 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.117.100]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.infracaninophile.co.uk", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 32F3E6A6D7 for ; Mon, 7 Jan 2019 15:43:32 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from leaf.local (unknown [88.202.132.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id C502A10D8E for ; Mon, 7 Jan 2019 15:43:23 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk/C502A10D8E; dkim=none; dkim-atps=neutral Subject: Re: A graphical dependency tree viewer? To: freebsd-pkg@freebsd.org References: <20190107100901.GA36925@admin.sibptus.ru> From: Matthew Seaman Message-ID: <4121f685-10b9-aab5-9c33-5356fb30a8d8@FreeBSD.org> Date: Mon, 7 Jan 2019 15:43:07 +0000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: <20190107100901.GA36925@admin.sibptus.ru> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 32F3E6A6D7 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.98 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[]; NEURAL_HAM_SHORT(-0.98)[-0.980,0] X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.29 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: Mon, 07 Jan 2019 15:43:32 -0000 On 07/01/2019 10:09, Victor Sudakov wrote: > Dear Colleagues, > > Is there a tool to view all the dependencies of a port/package > (including indirect ones) as a tree? A .dot format would be perfect, but > an ascii-art tree would do too. > > It would be especially useful if this tool could extract information > from /var/db/pkg/*.sqlite without requiring a ports tree. > Does this suit your purposes? https://github.com/freebsd/pkg/blob/master/scripts/pkg_tree.sh Cheers, Matthew