From owner-freebsd-ports@FreeBSD.ORG Wed May 16 09:11:44 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 73B6B16A400 for ; Wed, 16 May 2007 09:11:44 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id 2718813C455 for ; Wed, 16 May 2007 09:11:44 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A5FC6A.dip.t-dialin.net [84.165.252.106]) by redbull.bpaserver.net (Postfix) with ESMTP id 1C7802E242; Wed, 16 May 2007 11:11:39 +0200 (CEST) Received: from webmail.leidinger.net (webmail.Leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id 29F835B48A3; Wed, 16 May 2007 11:11:23 +0200 (CEST) Received: (from www@localhost) by webmail.leidinger.net (8.13.8/8.13.8/Submit) id l4G9BMOE020258; Wed, 16 May 2007 11:11:22 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde MIME library) with HTTP; Wed, 16 May 2007 11:11:22 +0200 Message-ID: <20070516111122.5q8fwm91wo480ok0@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Wed, 16 May 2007 11:11:22 +0200 From: Alexander Leidinger To: Stephen Montgomery-Smith References: <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> <4646AC48.1010107@gmx.de> <4646CFE3.1020105@gmx.de> <20070513084931.GA35696@xor.obsecurity.org> <4647161D.2040100@math.missouri.edu> <20070515210147.GI1462@roadrunner.q.local> <464A2BDF.9030108@math.missouri.edu> In-Reply-To: <464A2BDF.9030108@math.missouri.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1.4) / FreeBSD-7.0 X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-14.787, required 8, autolearn=not spam, BAYES_00 -15.00, DK_POLICY_SIGNSOME 0.00, FORGED_RCVD_HELO 0.14, TW_KG 0.08) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No 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: Wed, 16 May 2007 09:11:44 -0000 Quoting Stephen Montgomery-Smith (from =20 Tue, 15 May 2007 16:53:35 -0500): > Ulrich Spoerlein wrote: >> Stephen Montgomery-Smith wrote: >>> 2. Sorting the dependencies in pkg_create. My fix now cuts this =20 >>> out completely. Thus there is no need to change the structure of =20 >>> /var/db/pkg to use databases or anything like this. >> >> I haven't had time to look at your patches, but are your removing second >> order dependancies? This would cut down the tree size considerably. > > No. No second order dependencies are removed. The new algorithm does > exactly the same as the old one did, only it works a lot faster. Would you please tell me what kind of output you need (which order of =20 pkgname & origin and which seperator between them), I want to provide =20 an awk script to you which produces this based upon +CONTENTS. It =20 should cut down some program invocations and a make call (IIR your =20 patch correctly). Bye, Alexander. --=20 Innovation is hard to schedule. =09=09-- Dan Fylstra http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137