Proposal for another category in INDEX: common_deps
Garrett Cooper
youshi10 at u.washington.edu
Fri Jul 20 06:55:28 UTC 2007
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
More information about the freebsd-ports
mailing list