Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Feb 2006 20:49:18 +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:  <20060227194918.GC51096@leia.lambermont.dyndns.org>
In-Reply-To: <20060221174207.GB33617@weller-fahy.com>
References:  <43BCF31F.8050900@FreeBSD.org> <20060214213514.GB20841@leia.lambermont.dyndns.org> <20060219143913.GA868@weller-fahy.com> <20060219145045.GB868@weller-fahy.com> <20060220204242.GD31008@leia.lambermont.dyndns.org> <20060221174207.GB33617@weller-fahy.com>

next in thread | previous in thread | raw e-mail | index | archive | help
David J. Weller-Fahy wrote:

> * Hans Lambermont <hans@lambermont.dyndns.org> [2006-02-20 21:43 +0100]:
>> Is there a way to implement a perl-like hash filter in sh land to
>> clean this up ?
...
> To output like:
> #v+
> >ctorrent-1.3.4_1::ctorrent-1.3.4_2
> >ca-roots-1.1::ca-roots-1.2
> >ldconfig_compat-1.0_5::ldconfig_compat-1.0_6
> >perl-5.8.7_2::perl-5.8.8
> >p5-Net-DNS-0.55::p5-Net-DNS-0.56
> >samba-3.0.21a,1::samba-3.0.21b,1
> >w3m-0.5.1_3::w3m-0.5.1_4
> #v-
> 
> Would satisfy the above requirement.  In other words, any port that has
> already been shown would not be shown again.

Exactly.

>> As a next step to such a filter I would suggest to reverse the
>> dependency output, so that the build order gets shown.
...
> The output should be (ignoring samba dependencies):
> #v+
> >samba-3.0.21a,1::samba-3.0.21b,1
> ::>libtool-1.3.5_1::libtool-1.3.5_2
> :>boehm-gc-6.6_1::boehm-gc-6.6_2
> >w3m-0.5.1_3::w3m-0.5.1_4
> #v-
> 
> To accurately reflect the build order, correct?

That looks like what I meant yes. Maybe the :: and : can even be
reversed too :

#v+
>samba-3.0.21a,1::samba-3.0.21b,1
>libtool-1.3.5_1::libtool-1.3.5_2
:>boehm-gc-6.6_1::boehm-gc-6.6_2
::>w3m-0.5.1_3::w3m-0.5.1_4
#v-

That feels slightly more logical to me ;-) This shows nicely what will
be built in which order and why.

Thanks for your effort.

regards,
   Hans Lambermont



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060227194918.GC51096>