From owner-freebsd-questions@FreeBSD.ORG Mon Nov 5 21:07:55 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 B7DC316A500 for ; Mon, 5 Nov 2007 21:07:55 +0000 (UTC) (envelope-from bh@izb.knu.ac.kr) Received: from izb.knu.ac.kr (unknown [IPv6:2001:470:1f04:c0::2]) by mx1.freebsd.org (Postfix) with ESMTP id 5E55C13C4A8 for ; Mon, 5 Nov 2007 21:07:55 +0000 (UTC) (envelope-from bh@izb.knu.ac.kr) Received: by draba.izb.knu.ac.kr (Postfix, from userid 59) id 64C123EA6; Tue, 6 Nov 2007 06:07:52 +0900 (KST) X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on draba.izb.knu.ac.kr X-Spam-Level: X-Spam-Status: No, score=-46.7 required=15.1 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VERIFIED autolearn=disabled version=3.2.3 X-Spam-Comment: DKIM? See http://www.google.com/search?btnI&q=RFC+4871 Received: from izb.knu.ac.kr (localhost.izb.knu.ac.kr [127.0.0.1]) by draba.izb.knu.ac.kr (Postfix) with ESMTP id 0BAE33EA4; Tue, 6 Nov 2007 06:07:49 +0900 (KST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=izb.knu.ac.kr; h=subject: from:reply-to:to:cc:in-reply-to:references:content-type:date: message-id:mime-version:content-transfer-encoding; q=dns/txt; s= s1024; bh=LJJ5HWp66JGSbaAnOIjOXHfI3yU=; b=FGrTj/WcH80KeWrPR7YiwB XZw7g/oowOJBs6qVTg7FLzk2p4QOUkY5H6G8vD+RvI+nu7qdCHc/FS/arAplLYt6 //8SNYRe3b9UclIJZJqls2x1LeCPemIyXfhjKm7XYRO/K+K2gYLQKlUMmPBJEBTQ xZHq6XBcHvqjXnjTIO5NU= Received: from setaria.izb.knu.ac.kr (setaria.izb.knu.ac.kr [IPv6:2001:470:1f04:c1::2]) by draba.izb.knu.ac.kr (Postfix) with ESMTP id 951903E94; Tue, 6 Nov 2007 06:07:48 +0900 (KST) Received: from viola.izb.knu.ac.kr (viola.izb.knu.ac.kr [IPv6:2001:470:1f04:c4::2]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: bh.rfc4871@setaria.izb.knu.ac.kr) by setaria.izb.knu.ac.kr (Postfix) with ESMTP id 6EDA41CCEE; Tue, 6 Nov 2007 06:07:48 +0900 (KST) Received: from [IPv6:::1] (localhost.izb.knu.ac.kr [IPv6:::1]) by viola.izb.knu.ac.kr (Postfix) with ESMTP id 7AD535E15; Tue, 6 Nov 2007 06:07:44 +0900 (KST) From: Byung-Hee HWANG To: Brett Davidson In-Reply-To: <472E77AC.9060200@net24.co.nz> References: <472E77AC.9060200@net24.co.nz> Content-Type: text/plain Organization: InZealBomb Date: Tue, 06 Nov 2007 06:07:39 +0900 Message-Id: <1194296859.3333.15.camel@viola.izb.knu.ac.kr> Mime-Version: 1.0 X-Mailer: Evolution 2.12.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org 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 Reply-To: bh@izb.knu.ac.kr List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Nov 2007 21:07:55 -0000 On Mon, 2007-11-05 at 14:53 +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? Usually i search someting with Google before study man(1) carefully. Google is best friend for me. And below link is the last result: http://www.google.com/search?hl=en&q=pkg_version&btnG=Google+Search Sincerely, -- "Does this man have real balls?" "You're asking if he is a Sicilian." "NO." -- Vito Corleone and Tom Hagen, "Chapter 2", page 66-67