From owner-freebsd-questions@FreeBSD.ORG Mon Dec 1 22:57:24 2008 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 42F181065676 for ; Mon, 1 Dec 2008 22:57:24 +0000 (UTC) (envelope-from cwhiteh@onetel.com) Received: from smtp1.betherenow.co.uk (smtp1.betherenow.co.uk [87.194.0.68]) by mx1.freebsd.org (Postfix) with SMTP id D469F8FC0A for ; Mon, 1 Dec 2008 22:57:23 +0000 (UTC) (envelope-from cwhiteh@onetel.com) Received: from [192.168.1.71] (93-97-24-219.zone5.bethere.co.uk [93.97.24.219]) by smtp1.betherenow.co.uk (Postfix) with ESMTP id 0286D9804C; Mon, 1 Dec 2008 22:57:21 +0000 (GMT) Message-ID: <49346BD1.3070704@onetel.com> Date: Mon, 01 Dec 2008 22:57:21 +0000 From: Chris Whitehouse User-Agent: Thunderbird 2.0.0.7pre (X11/20081125) MIME-Version: 1.0 To: Robert Huff References: <20081201151249.GA5103@aurora.oekb.co.at> <20081201171748.1c9b5718@gumby.homeunix.com> <18740.7708.896663.777313@jerusalem.litteratus.org> In-Reply-To: <18740.7708.896663.777313@jerusalem.litteratus.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: RW , freebsd-questions@freebsd.org Subject: Re: Date/time installed ports have been updated on a system? 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, 01 Dec 2008 22:57:24 -0000 Robert Huff wrote: > RW writes: > >> > Is there any way to determine when upgrades to installed ports have >> > been done on a system? I did a "portupgrade -arR" recently and want to >> > know which ports have been upgraded in that process (and no I didn't >> > run that portupgrade under "script"...) >> >> pkg_glob(1) can show package installed before or after either a time >> or a particular port. > > One can also send the output to a file, and grep your chosen > ports or use "tail -f". > I do not recommend doing this with "portupgrade -a" unless you > know the list will be fairly short. (Imagine rebuilding OpenOffice, > KDE, Java, FireFox, ....) > For future upgrades, portmanager (ports-mgmt/portmanager) will log if you tell it to, alternatively you can make it tell you what ports need updating and why, without actually upgrading anything. chris