Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 May 2007 17:53:27 -0500
From:      Stephen Montgomery-Smith <stephen@math.missouri.edu>
To:        pav@freebsd.org
Cc:        "\[LoN\]Kamikaze" <LoN_Kamikaze@gmx.de>, freebsd-ports@freebsd.org, Kris Kennaway <kris@obsecurity.org>
Subject:   Re: Time to abandon recursive pulling of dependencies?
Message-ID:  <464796E7.20908@math.missouri.edu>
In-Reply-To: <1179096223.13237.31.camel@ikaros.oook.cz>
References:  <464597C6.3030406@gmx.de>	<20070512174011.GA22526@xor.obsecurity.org>	<4645FF71.60100@gmx.de>	<20070512175824.GA23103@xor.obsecurity.org>	<20070512133054.B5588@math.missouri.edu> <4646193E.5040503@gmx.de>	<464665D5.1090509@math.missouri.edu>	<464676CC.2000203@math.missouri.edu>	<46469BF5.9030603@math.missouri.edu>	<1179058696.13237.3.camel@ikaros.oook.cz>	<20070513101332.L82202@math.missouri.edu>	<46479215.1080401@math.missouri.edu> <1179096223.13237.31.camel@ikaros.oook.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
Pav Lucistnik wrote:
> Stephen Montgomery-Smith píše v ne 13. 05. 2007 v 17:32 -0500:
> 
>> I have looked into making the registration and package-building process 
>> even faster.  It seems to me that the easiest way would be to redesign 
>> the package database so that it also includes a 
>> package-name/+DEPENDENCIES file, which would be a kind of reverse of 
>> package-name/+REQUIRED_BY.  This could be used instead of "make 
>> package-depends" in creating PKG_ARGS in bsd.port.mk.  Creating 
>> +DEPENDENCIES would be very easy - you "cat" together the files of the 
>> immediate dependencies ${RUN_LIB_DEPENDS} and do a "uniq" to the final 
>> result.
> 
> Sounds like a plan.
> 
> Also, it would fix part of a long standing problem, that dependencies
> are recorded according to the ports tree, not according to a real state
> of affairs on the victim's computer.
> 

Unfortunately this won't happen quite as nicely as you think it should. 
  It proposed new scheme won't get the immediate dependencies correct.





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