From owner-freebsd-ports@FreeBSD.ORG Tue May 15 22:05:59 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 12B9816A402 for ; Tue, 15 May 2007 22:05:59 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.182]) by mx1.freebsd.org (Postfix) with ESMTP id BCED513C483 for ; Tue, 15 May 2007 22:05:58 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: by py-out-1112.google.com with SMTP id f31so288769pyh for ; Tue, 15 May 2007 15:05:58 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:received:received:date:from:to:cc:subject:message-id:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to; b=MQLpahh8D/1sD/WKZ6yqIv9y8DqqWgKJGfORutBDs9VvjvGWi15efGkRqiqcwDp41VTzSuczJ/6rvvmuswb+XKbBrmmb0LjpmoJ4cHz+pb7Pbqltl4wtAEBAmdKjsfVoUVaN86KTbe27d3uFlqg093sgl11RNxzDIJF2M/p4Ank= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:from:to:cc:subject:message-id:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to; b=YszR1phYOMUCRyyEkmgXAgr2tWdTB7W5jZfx9vw6eaqgEuS4CxTffTFNdZUacvgh9SWT/vGbgOKqiDz3YwGpDWnkCDRHdYwXw7ZPd62Fdx4BOxcs84JnGcsrheF7pTOnsVSKqkltjad476VQNsjPUywlAnT/PBAd5ntCz6CSEZU= Received: by 10.65.81.10 with SMTP id i10mr1775038qbl.1179265178720; Tue, 15 May 2007 14:39:38 -0700 (PDT) Received: from roadrunner.q.local ( [85.180.170.96]) by mx.google.com with ESMTP id e14sm1147537qba.2007.05.15.14.39.36; Tue, 15 May 2007 14:39:37 -0700 (PDT) Received: from roadrunner.q.local (localhost [127.0.0.1]) by roadrunner.q.local (8.14.1/8.14.1) with ESMTP id l4FL1mj1014055; Tue, 15 May 2007 23:01:48 +0200 (CEST) (envelope-from uspoerlein@gmail.com) Received: (from q@localhost) by roadrunner.q.local (8.14.1/8.14.1/Submit) id l4FL1lX3014054; Tue, 15 May 2007 23:01:47 +0200 (CEST) (envelope-from uspoerlein@gmail.com) Date: Tue, 15 May 2007 23:01:47 +0200 From: Ulrich Spoerlein To: Stephen Montgomery-Smith Message-ID: <20070515210147.GI1462@roadrunner.q.local> Mail-Followup-To: Stephen Montgomery-Smith , Kris Kennaway , "[LoN]Kamikaze" , freebsd-ports@freebsd.org 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4647161D.2040100@math.missouri.edu> 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: Tue, 15 May 2007 22:05:59 -0000 Stephen Montgomery-Smith wrote: > 1. Pulling in the dependencies. This is in effect doing a "make package-depends". You can > do this for yourself, and see that it takes a long time. I honestly don't see how to make > this faster, as presumably it involves calling "make" on all the dependency ports, and I > would guess that each new invocation of make adds considerable overhead just loading the > program. This is "static" information, required for nearly all ports -> put it in INDEX > 2. Sorting the dependencies in pkg_create. My fix now cuts this out completely. Thus there > is no need to change the structure of /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. Ulrich Spoerlein -- "The trouble with the dictionary is you have to know how the word is spelled before you can look it up to see how it is spelled." -- Will Cuppy