From owner-freebsd-ports@FreeBSD.ORG Wed Jun 21 21:49:39 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8715416A47B for ; Wed, 21 Jun 2006 21:49:39 +0000 (UTC) (envelope-from list-freebsd-2004@morbius.sent.com) Received: from out3.smtp.messagingengine.com (out3.smtp.messagingengine.com [66.111.4.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id B6B8843D48 for ; Wed, 21 Jun 2006 21:49:38 +0000 (GMT) (envelope-from list-freebsd-2004@morbius.sent.com) Received: from frontend3.internal (frontend3.internal [10.202.2.152]) by frontend1.messagingengine.com (Postfix) with ESMTP id 3771CD85899 for ; Wed, 21 Jun 2006 17:49:37 -0400 (EDT) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by frontend3.internal (MEProxy); Wed, 21 Jun 2006 17:49:38 -0400 X-Sasl-enc: Xi/cLrVOzOJ9adLPLl/5CoRG/ZDkwWPI8jIpyBqmMuD7 1150926577 Received: from bb-87-81-140-128.ukonline.co.uk (bb-87-81-140-128.ukonline.co.uk [87.81.140.128]) by mail.messagingengine.com (Postfix) with ESMTP id 96C60847B for ; Wed, 21 Jun 2006 17:49:37 -0400 (EDT) From: RW To: freebsd-ports@freebsd.org Date: Wed, 21 Jun 2006 22:49:30 +0100 User-Agent: KMail/1.9.3 References: <1150820585.00550082.1150807801@10.7.7.3> <44998CB5.5070509@icyb.net.ua> <20060621212452.2cfdbdec@Magellan.Leidinger.net> In-Reply-To: <20060621212452.2cfdbdec@Magellan.Leidinger.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200606212249.32001.list-freebsd-2004@morbius.sent.com> Subject: Re: portupgrade idea [Was: Re: Samba3 Port install fails due to OpenLDAP dependency version problem] 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, 21 Jun 2006 21:49:39 -0000 On Wednesday 21 June 2006 20:24, Alexander Leidinger wrote: > Quoting Andriy Gapon (Wed, 21 Jun 2006 21:15:17 +0300): > > It still would be very nice to introduce a concept of "immediate > > dependencies" to portupgrade tools (or maybe to ports/packages in > > general ???) and have some options to work only on those. > > Completely fictional example: > > portupgrade is the wrong place to do this. We "just" need to switch > from implicit dependencies to explicit dependencies in the ports > collection. My understanding is that portupgrade gets its dependency information from the the package database, which records full recursive dependencies (for the benifit of pkg_add). By contrast portmanger rebuilds only direct dependencies unless you specify the "pristine" option. I presume that's because it gets its origin dependency information from the port make targets, and uses the package database for version information. Given that Portmanger is already doing this, could you explain why you think there is a need for the port system to change.