From owner-freebsd-ports@FreeBSD.ORG Sun May 13 22:53:29 2007 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C0BC916A405; Sun, 13 May 2007 22:53:29 +0000 (UTC) (envelope-from stephen@math.missouri.edu) Received: from sccmmhc91.asp.att.net (sccmmhc91.asp.att.net [204.127.203.211]) by mx1.freebsd.org (Postfix) with ESMTP id 5D85213C459; Sun, 13 May 2007 22:53:29 +0000 (UTC) (envelope-from stephen@math.missouri.edu) Received: from laptop2.montlan (12-216-253-187.client.mchsi.com[12.216.253.187]) by sccmmhc91.asp.att.net (sccmmhc91) with ESMTP id <20070513225328m9100rqqrge>; Sun, 13 May 2007 22:53:28 +0000 Message-ID: <464796E7.20908@math.missouri.edu> Date: Sun, 13 May 2007 17:53:27 -0500 From: Stephen Montgomery-Smith User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.2) Gecko/20070505 SeaMonkey/1.1.1 MIME-Version: 1.0 To: pav@freebsd.org 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> In-Reply-To: <1179096223.13237.31.camel@ikaros.oook.cz> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 8bit Cc: "\[LoN\]Kamikaze" , freebsd-ports@freebsd.org, Kris Kennaway Subject: Re: Time to abandon recursive pulling of dependencies? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 May 2007 22:53:29 -0000 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.