Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Jul 2007 23:55:14 -0700
From:      Garrett Cooper <youshi10@u.washington.edu>
To:        ports@freebsd.org
Subject:   Re: Proposal for another category in INDEX: common_deps
Message-ID:  <46A05C52.20205@u.washington.edu>
In-Reply-To: <46A05B21.90603@u.washington.edu>
References:  <46A05B21.90603@u.washington.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Garrett Cooper wrote:
> Hello porters,
>    Currently in the INDEX files there are 13 categories describing 
> dependencies, 2 of which are:
>
>    8. build_deps
>    9. run_deps
>
>    I just ran a quick analysis with a Perl script and found that there 
> are a number of similarities in the build_deps and run_deps fields in 
> the INDEX files -- so many that I think that items common to both 
> build_deps and run_deps should be isolated and put into a new category 
> called 'common_deps':
>    I've posted my results to 
> <http://students.washington.edu/youshi10/posted/INDEX-analysis-part2.log>, 
> and I've posted my script at: 
> <http://soc2007-freebsd-project-hosting.googlecode.com/svn/trunk/field_analyzer.pl>. 
>
>    Questions and comments are more than welcome.
> Thanks,
> -Garrett

    Oh yes, you run field_analyzer.pl like so:

#!/bin/sh

for i in 5 6 7; do
    ./field_analyzer.pl < /path/to/INDEX-$i > /path/to/field_analysis-$i.log
done

    This only works with Bourne compatible shells [redirecting input in 
and out doesn't work for (t)csh] of course.

-Garrett



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