From owner-freebsd-ports@FreeBSD.ORG Fri Apr 4 23:00:31 2014 Return-Path: Delivered-To: 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 97A629B for ; Fri, 4 Apr 2014 23:00:31 +0000 (UTC) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CAE8D9C for ; Fri, 4 Apr 2014 23:00:31 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.8/8.14.8) with ESMTP id s34N0TrJ041184 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Fri, 4 Apr 2014 17:00:29 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.8/8.14.8/Submit) with ESMTP id s34N0TAU041181 for ; Fri, 4 Apr 2014 17:00:29 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Fri, 4 Apr 2014 17:00:29 -0600 (MDT) From: Warren Block To: ports@FreeBSD.org Subject: Re: Checking Installed Ports In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Fri, 04 Apr 2014 17:00:30 -0600 (MDT) 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: Fri, 04 Apr 2014 23:00:31 -0000 On Fri, 4 Apr 2014, Warren Block wrote: > Using pkg_libchk from Dominic Fandrey's excellent sysutils/bsdadminscripts > port has helped locate ports that needed to be rebuilt before they became > problems. > > Now there's pkg check, although I confess to not understanding the man page. > Some options appear to check installed packages, while others appear to > update stored checksums to match installed files. > > There's also pkg audit. > > It would be nice to put together a script that checks everything that can > possibly be checked. > > So: > > pkg_libchk -o > pkg check -s (although it produces some false positives, like > /compat/linux/etc/ld.so.cache) > pkg audit -F > > What else can be tested, preferably without false positives? I forgot to mention portmaster --check-depends, although I'm not positive it works with pkgng.