From owner-freebsd-ports@FreeBSD.ORG Mon May 2 10:55:20 2005 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5464B16A4D0 for ; Mon, 2 May 2005 10:55:20 +0000 (GMT) Received: from bloodwood.hunterlink.net.au (smtp-local.hunterlink.net.au [203.12.144.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id C71C443D1D for ; Mon, 2 May 2005 10:55:18 +0000 (GMT) (envelope-from boris@brooknet.com.au) Received: from ppp2DE1.dyn.pacific.net.au (ppp2DE1.dyn.pacific.net.au [61.8.45.225])j42At7bb016516; Mon, 2 May 2005 20:55:09 +1000 From: Sam Lawrance To: Gerhard Schmidt In-Reply-To: <20050502101853.GA83865@augusta.de> References: <20050502062903.GA82621@augusta.de> <1115027238.1003.7.camel@dirk.no.domain> <20050502101853.GA83865@augusta.de> Content-Type: text/plain Date: Mon, 02 May 2005 20:55:34 +1000 Message-Id: <1115031334.1003.17.camel@dirk.no.domain> Mime-Version: 1.0 X-Mailer: Evolution 2.2.2 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit cc: freebsd-ports@freebsd.org Subject: Re: pkg-msgs collect to end of install X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 May 2005 10:55:20 -0000 On Mon, 2005-05-02 at 12:18 +0200, Gerhard Schmidt wrote: > On Mon, May 02, 2005 at 07:47:18PM +1000, Sam Lawrance wrote: > > On Mon, 2005-05-02 at 08:29 +0200, Gerhard Schmidt wrote: > > > Hi, > > > > > > I've done a lot of updating and installing of ports lately. I have seen > > > plenty of pkg-messages scroll up the screen unable to read them because > > > the port which printed them where installed as a dependency. > > > > > > It might by a good idea to collect all the messages displayed by depenancy > > > ports an display them at the end. > > > > I thought about this briefly a couple days ago. I had an idea that it > > might be useful if things like pkg-message could be optionally emailed > > to a chosen user. Especially handy for ports that require attention > > post-installation, and describe this in their pkg-message. > > Mail would work for singe Workstations but for several servers this would > end up in getting serveral mails with the same messages. And the risk of > losing some important information would grow with the number of Mails. Either way, collecting it and displaying at the end or mailing it, you'd be getting the same amount of information displayed to you. I think the advantage with mail is that it's like a yellow sticky note. Read it, do whatever needs doing and then get rid of it. Until then it's a reminder. If you get massive amounts of duplicate mail, you probably know what you're doing and can turn it off anyway. > Much simpler. Collect all pkg-msg in a tmp file an display this tempfile > with ${PAGER} at the end of the make command. If you don't like lots of mails, collect it all and then mail it, digest style :)