Date: Mon, 20 Feb 2006 21:42:42 +0100 From: hans@lambermont.dyndns.org (Hans Lambermont) To: freebsd-ports@freebsd.org Subject: Re: portmaster [was: New /bin/sh based script to manage ports] Message-ID: <20060220204242.GD31008@leia.lambermont.dyndns.org> In-Reply-To: <20060219145045.GB868@weller-fahy.com> References: <43BCF31F.8050900@FreeBSD.org> <20060214213514.GB20841@leia.lambermont.dyndns.org> <20060219143913.GA868@weller-fahy.com> <20060219145045.GB868@weller-fahy.com>
next in thread | previous in thread | raw e-mail | index | archive | help
David J. Weller-Fahy wrote: > David J. Weller-Fahy wrote: >> Hrm... would something like the attached script be sufficient? it >> outputs a tree-like view of what will be updated. It's not very >> complex, and doesn't take into account things like removing ports >> already ouput from any future output, but it works for me. > > Which apparently didn't get through, here's an inline version: ... Nice work ! The output grows very quicky with the missing hash-like filter. Here's a snippet of the well over 1000 lines of output I get : :::::::::::>pkgconfig-0.17.2::pkgconfig-0.20 :::::::::::::>gettext-0.14.5::gettext-0.14.5_1 ::::::::::::::>libtool-1.5.20::libtool-1.5.22_1 :::::::::::::::>libtool-1.5.20::libtool-1.5.22_1 :::::::::::::>libtool-1.5.20::libtool-1.5.22_1 ::::::::::::::>libtool-1.5.20::libtool-1.5.22_1 ::::::::::::>libtool-1.5.20::libtool-1.5.22_1 ::::::::::::>gettext-0.14.5::gettext-0.14.5_1 Is there a way to implement a perl-like hash filter in sh land to clean this up ? As a next step to such a filter I would suggest to reverse the dependency output, so that the build order gets shown. What do you think of this ? regards, Hans Lambermont
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060220204242.GD31008>