From owner-freebsd-questions@FreeBSD.ORG Mon Nov 5 02:05:01 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 53AED16A418 for ; Mon, 5 Nov 2007 02:05:01 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from smtp02.lnh.mail.rcn.net (smtp02.lnh.mail.rcn.net [207.172.157.102]) by mx1.freebsd.org (Postfix) with ESMTP id 1AA1713C49D for ; Mon, 5 Nov 2007 02:05:00 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from mr02.lnh.mail.rcn.net ([207.172.157.22]) by smtp02.lnh.mail.rcn.net with ESMTP; 04 Nov 2007 21:04:45 -0500 Received: from smtp01.lnh.mail.rcn.net (smtp01.lnh.mail.rcn.net [207.172.4.11]) by mr02.lnh.mail.rcn.net (MOS 3.8.3-GA) with ESMTP id NZI66855; Sun, 4 Nov 2007 21:04:45 -0500 (EST) Received: from 209-6-22-188.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO jerusalem.litteratus.org.litteratus.org) ([209.6.22.188]) by smtp01.lnh.mail.rcn.net with ESMTP; 04 Nov 2007 22:03:38 -0500 From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18222.31287.897833.3437@jerusalem.litteratus.org> Date: Sun, 4 Nov 2007 21:04:39 -0500 To: Brett Davidson In-Reply-To: <472E77AC.9060200@net24.co.nz> References: <472E77AC.9060200@net24.co.nz> X-Mailer: VM 7.17 under 21.5 (beta28) "fuki" XEmacs Lucid X-Junkmail-Whitelist: YES (by domain whitelist at mr02.lnh.mail.rcn.net) Cc: freebsd-questions@freebsd.org Subject: 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:05:01 -0000 Brett Davidson writes: > 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? dir /var/d/pkg | grep Robert Huff