From owner-freebsd-ports Mon Dec 10 18:21:27 2001 Delivered-To: freebsd-ports@freebsd.org Received: from elvis.mu.org (elvis.mu.org [216.33.66.196]) by hub.freebsd.org (Postfix) with ESMTP id 8C79F37B41B for ; Mon, 10 Dec 2001 18:21:23 -0800 (PST) Received: by elvis.mu.org (Postfix, from userid 1192) id 415AC81D01; Mon, 10 Dec 2001 20:21:23 -0600 (CST) Date: Mon, 10 Dec 2001 20:21:23 -0600 From: Alfred Perlstein To: Akinori MUSHA , ports@freebsd.org Subject: Re: request for enhancment: portupgrade Message-ID: <20011210202123.P92148@elvis.mu.org> References: <20011210030804.Y92148@elvis.mu.org> <86vgff4dde.wl@archon.local.idaemons.org> <20011210125858.A92148@elvis.mu.org> <20011210180912.B30626@squall.waterspout.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011210180912.B30626@squall.waterspout.com>; from will@csociety.org on Mon, Dec 10, 2001 at 06:09:12PM -0500 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 * Will Andrews [011210 17:11] wrote: > On Mon, Dec 10, 2001 at 12:58:58PM -0600, Alfred Perlstein wrote: > > I think #2 is good, i mean, without -v i see something like.. > > > > no need to upgrade foo-1.2.3 > > no need to upgrade bar-4.1 > > no need to upgrade baz-6.3.2 > > Cleaning aaa > > > > The cleaning of 'aaa' isn't for baz, what is it for? :) > > Right, and I was hoping that portupgrade could specify what it's > going to upgrade if you do -a (heck any time you execute it), > BEFORE you do it, so you can see if there's something that you > may not want upgraded. oooooh fancy! please please??? > > Can you point me at where and why script(1) is run? > > I may be able to assist. > > It's run when portupgrade builds ports or downloads packages. I > am not sure about the 'why' part, but presumably it's for keeping > logs of the build in case you want to look at it. In any case, > script is probably the wrong tool for this job, since according > to the script(1) manpage: > > [...] > The results are meant to emulate a hardcopy terminal, not an > addressable one. > [...] Well for the most part builds are pretty line printer friendly... It'd probably make a lot more sense to just redirect/tee stdout/err. I'll look at it, last week it was lisp/scheme, i guess I can learn ruby this week... :) -- -Alfred Perlstein [alfred@freebsd.org] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom.' http://www.morons.org/rants/gpl-harmful.php3 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message