From owner-freebsd-stable@FreeBSD.ORG Wed Dec 12 18:40:02 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F11A2289 for ; Wed, 12 Dec 2012 18:40:02 +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]) by mx1.freebsd.org (Postfix) with ESMTP id 7678B8FC15 for ; Wed, 12 Dec 2012 18:40:02 +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.5/8.14.5) with ESMTP id qBCIdwGX067632 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Wed, 12 Dec 2012 18:39:58 GMT (envelope-from matthew@FreeBSD.org) DKIM-Filter: OpenDKIM Filter v2.7.1 smtp.infracaninophile.co.uk qBCIdwGX067632 Authentication-Results: smtp.infracaninophile.co.uk/qBCIdwGX067632; dkim=none reason="no signature"; dkim-adsp=none (insecure policy) Message-ID: <50C8CF77.2040102@FreeBSD.org> Date: Wed, 12 Dec 2012 18:39:51 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Kevin Oberman Subject: Re: Will we get a RELEASE-9.1 for Christmas? References: <201212090318.UAA11257@lariat.net> <50C412F6.7040300@sdf.org> <201212090526.26535.lumiwa@gmail.com> In-Reply-To: X-Enigmail-Version: 1.4.6 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigE4F99329E32F8C0974694703" X-Virus-Scanned: clamav-milter 0.97.6 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_00,SPF_SOFTFAIL autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Cc: freebsd-stable@freebsd.org, Chris Petrik , Franci Nabalanci X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Dec 2012 18:40:03 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigE4F99329E32F8C0974694703 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 12/12/2012 17:38, Kevin Oberman wrote: > If you use pkgng, please try editing /usr/local/sbin/pkg_libchk to > replace "pkg_info" with "pkg info" in all locations and let me know > how it works, . I'm hoping that will make it work with pkgng, but I > have no way to check as I can't currently use pkgng on any of my > systems, yet. I'd like to draw people's attention to one of the newer capabilities of pkgng as it's directly relevant to this problem. You can use pkgng to track which shared libraries are used by binaries in all packages. Shared library use is determined by analysing the dynamic loading information recorded in ELF binaries -- either executables or shared libraries -- so it's pretty reliable. The feature is turned off by default, but you can enable it by adding: SHLIBS: YES to ${LOCALBASE}/etc/pkg.conf and then generate the shlib info by: pkg check -Ba This will take a while on a system with lots of packages installed: it will investigate every file installed by every package. If you aren't using a repo where the shlibs function is enabled, you'll have to use pkg check thike this on any new pkgs you subsequently install. Then, for example, you can find all the pkgs with files that link against, say, libssh2 by: worm:~:% pkg query -a "%n-%v %B" | grep libssh2 curl-7.24.0_1 libssh2.so.1 Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey --------------enigE4F99329E32F8C0974694703 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.16 (Darwin) Comment: Using GnuPG with undefined - http://www.enigmail.net/ iEYEARECAAYFAlDIz34ACgkQ8Mjk52CukIzCcQCfdReb38UVRtRCKVqigPf+f067 YJEAniu1zCTfWbqQtYgg8kbUJoxQEslm =mfpr -----END PGP SIGNATURE----- --------------enigE4F99329E32F8C0974694703--