From owner-freebsd-questions@FreeBSD.ORG Mon Nov 5 02:49:21 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9C6B916A417 for ; Mon, 5 Nov 2007 02:49:21 +0000 (UTC) (envelope-from fbsd06+P6=d19e8d24@mlists.homeunix.com) Received: from mxout-04.mxes.net (mxout-04.mxes.net [216.86.168.179]) by mx1.freebsd.org (Postfix) with ESMTP id 7CC8F13C48E for ; Mon, 5 Nov 2007 02:49:21 +0000 (UTC) (envelope-from fbsd06+P6=d19e8d24@mlists.homeunix.com) Received: from gumby.homeunix.com. (unknown [87.81.140.128]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTP id 09C45D05AF for ; Sun, 4 Nov 2007 21:49:02 -0500 (EST) Date: Mon, 5 Nov 2007 02:48:36 +0000 From: RW To: freebsd-questions@freebsd.org Message-ID: <20071105024836.19d0299a@gumby.homeunix.com.> In-Reply-To: <472E77AC.9060200@net24.co.nz> References: <472E77AC.9060200@net24.co.nz> X-Mailer: Claws Mail 3.0.2 (GTK+ 2.12.1; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Is there a way to compare what is in the ports tree with what is installed? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Nov 2007 02:49:21 -0000 On Mon, 05 Nov 2007 14:53:48 +1300 Brett Davidson wrote: > ie. If I had a particular version of the ports tree on a server, how > could I check to see if any of the programs in that tree were > actually installed? > > Is there a simple command or sequence of commands to do this? > see pkg_version[1]