From owner-freebsd-questions@FreeBSD.ORG Mon Nov 5 02:57:36 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 B359C16A41B for ; Mon, 5 Nov 2007 02:57:36 +0000 (UTC) (envelope-from freebsd@dfwlp.com) Received: from pollux.dfwlp.com (rrcs-64-183-212-244.sw.biz.rr.com [64.183.212.244]) by mx1.freebsd.org (Postfix) with ESMTP id 783C313C4A7 for ; Mon, 5 Nov 2007 02:57:36 +0000 (UTC) (envelope-from freebsd@dfwlp.com) Received: from pollux.dfwlp.com (pollux.dfwlp.com [192.168.125.61]) by pollux.dfwlp.com (8.13.8/8.13.8) with ESMTP id lA52vJ0U030691 for ; Sun, 4 Nov 2007 20:57:19 -0600 (CST) (envelope-from freebsd@dfwlp.com) Received: (from www@localhost) by pollux.dfwlp.com (8.13.8/8.13.8/Submit) id lA52vJUt030690 for freebsd-questions@freebsd.org; Sun, 4 Nov 2007 20:57:19 -0600 (CST) (envelope-from freebsd@dfwlp.com) X-Authentication-Warning: pollux.dfwlp.com: www set sender to freebsd@dfwlp.com using -f Received: from bellatrix.dfwlp.com (bellatrix.dfwlp.com [192.168.125.1]) by webmail.dfwlp.org (Horde MIME library) with HTTP; Sun, 04 Nov 2007 20:57:19 -0600 Message-ID: <20071104205719.1fmsx8b4g9ww844s@webmail.dfwlp.org> Date: Sun, 04 Nov 2007 20:57:19 -0600 From: Jonathan Horne To: freebsd-questions@freebsd.org References: <472E77AC.9060200@net24.co.nz> <20071105024836.19d0299a@gumby.homeunix.com.> In-Reply-To: <20071105024836.19d0299a@gumby.homeunix.com.> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.1.4) / FreeBSD-6.2 X-Spam-Status: No, score=-4.4 required=3.6 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on pollux.dfwlp.com 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:57:36 -0000 Quoting RW : > 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] > _______________________________________________ after i update my ports, and i want to see what currently needs to be updated: pkg_version -v|grep needs this will give you a run down of everything that has a newer version in your ports tree. -- Jonathan Horne http://dfwlpiki.dfwlp.org freebsd@dfwlp.com ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.