From owner-freebsd-ports@FreeBSD.ORG Wed Sep 14 21:23:57 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2F2D71065670 for ; Wed, 14 Sep 2011 21:23:57 +0000 (UTC) (envelope-from chukharev@mail.ru) Received: from fallback2.mail.ru (fallback2.mail.ru [94.100.176.87]) by mx1.freebsd.org (Postfix) with ESMTP id D929D8FC13 for ; Wed, 14 Sep 2011 21:23:56 +0000 (UTC) Received: from smtp17.mail.ru (smtp17.mail.ru [94.100.176.154]) by fallback2.mail.ru (mPOP.Fallback_MX) with ESMTP id 5FF6E72127E9 for ; Thu, 15 Sep 2011 01:06:07 +0400 (MSD) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mail.ru; s=mail; h=Message-ID:Content-Transfer-Encoding:MIME-Version:Date:From:To:Subject:Content-Type; bh=kSGZzRIrighr+tCwQBjeJsa60U3DFtLZV7A4CO3n3OY=; b=uy8YJsjI6CXyaSIyLNQGR3+5ruJdIpgYDIueQ+T0Qt/ARGAlR7/y57Ih+iZwwMJTde/tkSpbYgpO4A2KaVYZO7tar4zaBCiFbWzgCJ08jpkVhGX6m7beV1KQhsLkRogM; Received: from [91.155.185.219] (port=60243 helo=localhost) by smtp17.mail.ru with asmtp id 1R3wej-0008Ef-00 for freebsd-ports@freebsd.org; Thu, 15 Sep 2011 01:06:05 +0400 Content-Type: text/plain; charset=koi8-r; format=flowed; delsp=yes To: "freebsd-ports@freebsd.org" From: chukharev@mail.ru Date: Thu, 15 Sep 2011 00:06:03 +0300 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: User-Agent: Opera Mail/11.51 (FreeBSD) X-Spam: Not detected X-Mras: Ok Subject: Detecting dependencies X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Sep 2011 21:23:57 -0000 Hi, There have been a discussion about finding interdependencies of ports. I have a relatively simple Python script for that. There is a pr ports/160007 to add its early version. Unfortunately, I missed a reply to it, so there is an issue which I have not yet addressed... Since that time, I added reverse dependencies with full ports tree scanning (1 h on my 2.5GHz notebook) and saving the tree (directed graph, actually) to a file, so that rescanning all ports tree is not needed. See http://code.google.com/p/porttree/ If there will be interest, scanning packages interdependencies could also be added. -- Vladimir Chukharev Tampere University of Technology