From owner-freebsd-ports@FreeBSD.ORG Thu Sep 15 11:17:22 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 158AC106564A for ; Thu, 15 Sep 2011 11:17:22 +0000 (UTC) (envelope-from shaun@FreeBSD.org) Received: from alpha.inerd.com (alpha.inerd.com [204.109.56.118]) by mx1.freebsd.org (Postfix) with ESMTP id E0D288FC0A for ; Thu, 15 Sep 2011 11:17:21 +0000 (UTC) Received: from charon.picobyte.net (localhost [127.0.0.1]) by alpha.inerd.com (Postfix) with ESMTP id AD529147CD7; Thu, 15 Sep 2011 11:17:20 +0000 (UTC) Date: Thu, 15 Sep 2011 12:17:19 +0100 From: Shaun Amott To: chukharev@mail.ru Message-ID: <20110915111719.GA1486@charon.picobyte.net> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="C7zPtVaVf+AK4Oqc" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (FreeBSD i386) Cc: "freebsd-ports@freebsd.org" Subject: Re: 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: Thu, 15 Sep 2011 11:17:22 -0000 --C7zPtVaVf+AK4Oqc Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Sep 15, 2011 at 12:06:03AM +0300, chukharev@mail.ru wrote: > There have been a discussion about finding interdependencies of ports. > I have a relatively simple Python script for that. There is a pr ports/16= 0007 > to add its early version. Unfortunately, I missed a reply to it, so there= is > an issue which I have not yet addressed... >=20 > Since that time, I added reverse dependencies with full ports tree scanni= ng > (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. >=20 > See http://code.google.com/p/porttree/ >=20 > If there will be interest, scanning packages interdependencies could > also be added. This looks like a useful tool. However, as Doug pointed out in another thread ("Detecting dependencies"), its method is inadequate when it comes to finding dependencies for shared library bumps. Specifically, it won't find dependencies hidden by disabled OPTIONS knobs. --=20 Shaun Amott // PGP: 0x6B387A9A "A foolish consistency is the hobgoblin of little minds." - Ralph Waldo Emerson --C7zPtVaVf+AK4Oqc Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAk5x3r8ACgkQkmhdCGs4eprEtwCg8Hr0yfT8m2Nguqu0ly552S7X cVcAoLE9qLOQavU4T5YwD0grG3c3sWYR =zOht -----END PGP SIGNATURE----- --C7zPtVaVf+AK4Oqc--