From owner-freebsd-ports@FreeBSD.ORG Sun Feb 23 10:22:00 2014 Return-Path: Delivered-To: freebsd-ports@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 49A7AEAC for ; Sun, 23 Feb 2014 10:22:00 +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)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C2DD81D84 for ; Sun, 23 Feb 2014 10:21:59 +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 s1NALqxK019370 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Sun, 23 Feb 2014 10:21:52 GMT (envelope-from m.seaman@infracaninophile.co.uk) DKIM-Filter: OpenDKIM Filter v2.8.3 smtp.infracaninophile.co.uk s1NALqxK019370 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1393150912; bh=QNIsYuBbiJKU8UioQvRSUPCKHb+g00iQSqgwcFN5I0E=; h=Date:From:To:Subject:References:In-Reply-To; z=Date:=20Sun,=2023=20Feb=202014=2010:21:40=20+0000|From:=20Matthew =20Seaman=20|To:=20freebsd-ports@ freebsd.org|Subject:=20Re:=20Issues=20with=20postmaster=20after=20 freebsd-update|References:=20<49D3D50F-9FBF-4247-81D6-5425B8FEBA2D @kreme.com>=20<52FD5D54.1090000@unfs.us>=20=20=20<263F7C1F-7A99-4D8D-9F4E-FB2D48E8 A46A@kreme.com>=20|In-Reply-To:=20; b=ayhiEpE1W83VbMdl2gmZo/bJcqwQIXQxDzR57FQzgWF9CfhguROmm0O4cDZ+MTiz6 /YdstDaorq8KFze0BMu94TFMDqG6BZa79I1F7RJpGra4fpogkn3Q/uxn6L73Zths/J 11LSSvcYp0e/yrZnDxIAj8zqL7xZDIZwanoTALAQ= Message-ID: <5309CBB4.3060104@infracaninophile.co.uk> Date: Sun, 23 Feb 2014 10:21:40 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: freebsd-ports@freebsd.org Subject: Re: Issues with postmaster after freebsd-update References: <49D3D50F-9FBF-4247-81D6-5425B8FEBA2D@kreme.com> <52FD5D54.1090000@unfs.us> <263F7C1F-7A99-4D8D-9F4E-FB2D48E8A46A@kreme.com> In-Reply-To: X-Enigmail-Version: 1.6 OpenPGP: id=E7F39EBF Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="hn0XSIIxuLRVpiaDbPBRrWl3nxP6wmEEe" X-Virus-Scanned: clamav-milter 0.98.1 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Feb 2014 10:22:00 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --hn0XSIIxuLRVpiaDbPBRrWl3nxP6wmEEe Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 23/02/2014 02:40, Kevin Oberman wrote: > On Sat, Feb 22, 2014 at 5:38 PM, LuKreme wrote: >=20 >> > On 13 Feb 2014, at 22:46 , Kevin Oberman wrote= : >>> > > An easier way is to install sysutils/bsddfminscripts and use pkg_= libchk >> > to >>> > > find what needs to be reinstalled. I use the command: >>> > > pkg_libchk -o | grep icu | cut -d: -f1 | sort | uniq > ~/reinstal= l-ports >>> > > portmaster -D `cat ~/reinstall-ports` >> > >> > I finally got pkg installed, so, moving on to this and I have a ques= tion, >> > what is the purpose of the `grep icu` pipe? >> > > pkg_libchk (part of sysutils/bsdafminscripts) tests all libraries and > executables installed by all ports for non-existant linked sharables. = In > this case, the purpose is to get a list of ports that still link to the= old > version of libicu. So pkg_libchk lists ALL files from ports that have l= inks > to the old libicu and then trims it to just the port name, sorts it, an= d > removes dupes. With pkg(8) installed, this might be better spelled as eg, # pkg shlib libicuuc.so.52 which will tell you those packages that have binaries that load that specific shlib. To find all the consumers of any shlib provided by the icu-52.1 package: # pkg info -qb icu-52.1 | sed -e 's/.1//' | xargs -L 1 pkg shlib -R The sed stuff is due to the lingering legacy effects of the shlib ABI version being required to be a single integer value, whereas nowadays more complicated version numbering schemes seem to be all the rage. pkg-shlib could do with growing some different matching algorithms and a less chatty mode for use in scripting. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey JID: matthew@infracaninophile.co.uk --hn0XSIIxuLRVpiaDbPBRrWl3nxP6wmEEe 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/ iQJ7BAEBCgBmBQJTCcu/XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATdLIP9jBq8LJ0c6Xr8X9CaeIO3bPD j2taYfGlxLZ5yhDqpKBid7xjg9xlx2NUnztQQoIqxd8cNXr3eEEGA2tK+C0QoyrT +WtwjiDRRNTSAj7Gt9Nom8onNSEFoiejrB+Xpj5uxCUJT9HjfIpcJxorGFyMzHJa D1r8OfTcB+VsZefi4uBCsZC2PmZI50RpkZNBPyLCcg5X+no06Erdx2vcX3MrV+iy Xj5r6bFCTR9c6V9QL2Fs1QoSutmjBIE7VCYuoRnXHXeDKTcsEeUlGh/iO+7qG+rv sjg0TWEf/w6q1aauZ2TmiNySZmAdE7tzkSNkEzyob/gfQtpSVvKCF8kRQ9VVFW5n ZgwBS98ys8+Dk/B5S3LjQjdsToSX8kt9t78bk132qas7W+bVlYhznROYjBzMaJWC EwjcF1KLfXwi9/ukcJblBJpxSJ4wEhnVnZR/KK/8ZQOt4aUG2fbIx1lZb+X7Jm6Q Rq10RCMVkBmnNOntXH2Axfoa3d58O0hA7UxlS3yQG5WHLy6weBck6k1Kwgrycmga oaPgTkzbYN2h9Hz47LMYdBiCl4rIm5RMj2LNBVi8G9+ENW71nqJ0y/k1wiF5LCoc WNxflgrmgcYrvp8O0mfkQFIMBnuHWS8c4/8fLR08XDXPRiks62OlxSYBjD0mMhyU 08wmTnZ/Izr0poGjmLg= =us1X -----END PGP SIGNATURE----- --hn0XSIIxuLRVpiaDbPBRrWl3nxP6wmEEe--