From owner-freebsd-ports Tue Oct 23 16:10:48 2001 Delivered-To: freebsd-ports@freebsd.org Received: from www.kpi.com.au (www.kpi.com.au [203.39.132.210]) by hub.freebsd.org (Postfix) with ESMTP id 5E3B537B405; Tue, 23 Oct 2001 16:10:39 -0700 (PDT) Received: from kpi.com.au (localhost.kpi.com.au [127.0.0.1]) by www.kpi.com.au (8.9.3/8.9.3) with ESMTP id KAA04618; Wed, 24 Oct 2001 10:16:57 +1100 (EST) (envelope-from johnsa@kpi.com.au) Message-ID: <3BD5F875.1781EDD6@kpi.com.au> Date: Wed, 24 Oct 2001 10:08:37 +1100 From: Andrew Johns X-Mailer: Mozilla 4.7 [en-gb] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: Igor Roshchin Cc: ghelmer@palisadesys.com, scanner@jurai.net, will@physics.purdue.edu, kde@FreeBSD.ORG, ports@FreeBSD.ORG, security@FreeBSD.ORG Subject: Re: your mail References: <200110230458.f9N4wCX13835@giganda.komkon.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Igor Roshchin wrote: > > > From owner-freebsd-security@FreeBSD.ORG Fri Oct 19 13:33:02 2001 > > From: "Guy Helmer" > > To: "Will Andrews" , > > Cc: , , > > Subject: RE: your mail > > Date: Fri, 19 Oct 2001 12:36:15 -0500 > > > > > On Friday, October 19, 2001 12:16 PM, Will Andrews wrote: > > > On Fri, Oct 19, 2001 at 01:15:31PM -0400, scanner@jurai.net wrote: > > > > I think the actual problem isn't so much the message per se, > > > its the fact > > > > its placed in the wrong place. It should be shown at the *end* of the > > > > build instead of during the building of kdebase. When you go to > > > build the > > > > metaport of KDE2 no one wants to sit there watching the output for 12 > > > > hours while it builds. They want to come back and see the familiar > > > > "everything built ok" and then install it. If you place it as > > > the message > > > > at the end of the build *alot* more people would see the > > > > message. Otherwise no one is going to catch it. Just my $.02. > > > > > > Yeah, I'm aware of that. Unfortunately, there is nothing I can > > > do about that, because people might be invoking the kdebase port > > > from anywhere. So it's a general ports problem. :\ > > > > How about sending an email message to "root" with this message? It solves > > the problem of the message scrolling by during the installation... > > > > I don't think I'd always want to have an e-mail message sent to root or > to the building user. Probably, it can be an option, but not a default one. > > Talking about "general ports problem": > script(1) is a good solution in this situation. > It allows one to record all output, including warnings and such. > I like that idea of using script, as long as ports/packages fed out something useful to grep for. ie:a standard error message that wouldn't get mixed up with everything else or confused with real files (error.c, error.conf?) eg: script installation proceeds and appears to end successfully exit grep -i error scriptfile && mail -s "Errors during install" user,root < scriptfile Then you only get mail for errors, but it does rely on the error word appearing AND there are plenty of error.c, error_something.c files in the system. -- Andrew Johns ================================================================ BUGS:This utility is a prototype which lasted several years past its expiration date and is greatly in need of death. JKH - from FreeBSD sysinstall man page To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message