From owner-freebsd-ports@FreeBSD.ORG Sat Sep 15 02:56:48 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx2.freebsd.org (mx2.freebsd.org [69.147.83.53]) by hub.freebsd.org (Postfix) with ESMTP id 1B9AC106566B for ; Sat, 15 Sep 2012 02:56:48 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from [127.0.0.1] (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id 15AFC14DA43; Sat, 15 Sep 2012 02:56:46 +0000 (UTC) Message-ID: <5053EE6E.9000207@FreeBSD.org> Date: Fri, 14 Sep 2012 16:56:46 -1000 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 MIME-Version: 1.0 To: Bryan Drewery References: <20120914223800.GG3357@albert.catwhisker.org> <5053D2A6.2030405@shatow.net> In-Reply-To: <5053D2A6.2030405@shatow.net> X-Enigmail-Version: 1.4.4 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org, David Wolfskill Subject: Re: Need a reality check: "portmaster --list-origins" misses entries? 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: Sat, 15 Sep 2012 02:56:48 -0000 On 9/14/2012 2:58 PM, Bryan Drewery wrote: > On 9/14/2012 5:38 PM, David Wolfskill wrote: >> I am tentatively planning on rebuilding the installed ports on my >> laptop under stable/9 (vs. their current stable/8) on Sunday, to >> take advantage of several hours of travel time expected. >> >> In preparation for this, I was reviewing the steps listed at the >> end of portmaster(8) "Using portmaster to do a complete >> reinstallation of all your ports" (which I have used to good effect >> in the past -- e.g., in the migration from 7-STABLE to 8-STABLE). >> >> As a reality check, I created the output of "portmaster >> --list-origins", with the intent to re-order the entries (and >> remove several that were brought in merely as dependencies -- and >> that I'd happily do without, were it feasible). >> >> I was thus surprised to fail to find "subversion" listed; a >> further reality check showed that the output was (only) 181 lines >> long; compare: >> >> d134(9.1-P)[8] portmaster --list-origins | wc -l 181 Read the description of the --list-origins feature in the man page. :) > Assuming you ... > install every port listed in '--list-origins', you should end up with > the same 796 ports installed as those 181 will install all of the > other ports. Maybe, but probably not, especially on a major version upgrade. That's why --list-origins does what it does, rather than just 'pkg_info -qoa' David, if you are particularly concerned about having subversion installed at an earlier point, you can include it in the list manually. That won't hurt anything, portmaster will make sure that it gets installed before anything that needs it. Doug