From owner-freebsd-ports@FreeBSD.ORG Thu Jul 19 17:31:49 2007 Return-Path: X-Original-To: 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 AA9AB16A400 for ; Thu, 19 Jul 2007 17:31:49 +0000 (UTC) (envelope-from rnoland@2hip.net) Received: from gizmo.2hip.net (gizmo.2hip.net [64.74.207.195]) by mx1.freebsd.org (Postfix) with ESMTP id 78D0713C48E for ; Thu, 19 Jul 2007 17:31:49 +0000 (UTC) (envelope-from rnoland@2hip.net) Received: from [63.251.67.21] (rnoland-ibm.acs.internap.com [63.251.67.21]) (authenticated bits=0) by gizmo.2hip.net (8.13.8/8.13.8) with ESMTP id l6JHVlda046155 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Thu, 19 Jul 2007 13:31:47 -0400 (EDT) (envelope-from rnoland@2hip.net) From: Robert Noland To: Garrett Cooper In-Reply-To: <469EE627.4000100@u.washington.edu> References: <20070718154452.B3091@math.missouri.edu> <1184799050.33981.66.camel@rnoland-ibm.acs.internap.com> <469EC915.7010006@math.missouri.edu> <469EE627.4000100@u.washington.edu> Content-Type: text/plain Date: Thu, 19 Jul 2007 13:31:42 -0400 Message-Id: <1184866302.33981.89.camel@rnoland-ibm.acs.internap.com> Mime-Version: 1.0 X-Mailer: Evolution 2.10.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on gizmo.2hip.net Cc: ports@freebsd.org, Stephen Montgomery-Smith Subject: Re: Problems with +CONTENTS being messed up by pkg_delete -f 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: Thu, 19 Jul 2007 17:31:49 -0000 On Wed, 2007-07-18 at 21:18 -0700, Garrett Cooper wrote: > Stephen, > I admire your willingness to help, but I believe that Robert should > be the one detailing the problem not you. That way too much confusion > doesn't get aroused on the list(s). > I'm going to remove hackers@ from the CC list because this almost > exclusively pertains to ports@. > -Garrett Ok, so the issue that I hope to address is not really a "portmanager" issue. The original version of package-depends always listed the current version (from ports) in the +CONTENTS file. When that list was passed to sort -u, you ended up with a single dependency for each origin. The new way it takes each direct dependency and adds those, then recursively parses the +CONTENTS file of each of those and adds those entries and finally passes the whole thing to sort -u. This allows for multiple dependencies with the same origin to be listed in the +CONTENTS file. As an example... port a depends on b and c. Port c has a version bump and is updated but technically b doesn't require an update. Now if port a is updated it will get the current version of c and also the old version of c from b. robert. > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"