From owner-freebsd-ports@FreeBSD.ORG Sat Mar 30 14:53:36 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 1DE42E45 for ; Sat, 30 Mar 2013 14:53:36 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from smtp.rcn.com (smtp.rcn.com [69.168.97.78]) by mx1.freebsd.org (Postfix) with ESMTP id CE0CDA96 for ; Sat, 30 Mar 2013 14:53:35 +0000 (UTC) X_CMAE_Category: 0,0 Undefined,Undefined X-CNFS-Analysis: v=2.0 cv=EehKsYaC c=1 sm=0 a=0NJkuBbZY5VCdgJ+v5fl0w==:17 a=229ozKraqlUA:10 a=AaUjGI9IrlcA:10 a=kj9zAlcOel0A:10 a=OA2lqS22AAAA:8 a=sIt-5M63AAAA:8 a=QGS-aLAXgMAA:10 a=NEAV23lmAAAA:8 a=ongwC1Dl4hAqV6Ig2WYA:9 a=CjuIK1q_8ugA:10 a=0NJkuBbZY5VCdgJ+v5fl0w==:117 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine Authentication-Results: smtp02.rcn.cmh.synacor.com smtp.mail=roberthuff@rcn.com; spf=neutral; sender-id=neutral Authentication-Results: smtp02.rcn.cmh.synacor.com header.from=roberthuff@rcn.com; sender-id=neutral Received-SPF: neutral (smtp02.rcn.cmh.synacor.com: 209.6.84.183 is neither permitted nor denied by domain of rcn.com) Received: from [209.6.84.183] ([209.6.84.183:18441] helo=jerusalem.litteratus.org.litteratus.org) by smtp.rcn.com (envelope-from ) (ecelerity 2.2.3.49 r(42060/42061)) with ESMTP id 44/DB-28841-86CF6515; Sat, 30 Mar 2013 10:53:29 -0400 From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <20822.64616.161229.523272@jerusalem.litteratus.org> Date: Sat, 30 Mar 2013 10:53:28 -0400 To: Matthew Seaman Subject: Re: pkg replacement for pkg_sort? In-Reply-To: <5156F80B.1030804@FreeBSD.org> References: <20822.58886.729409.831590@jerusalem.litteratus.org> <5156F80B.1030804@FreeBSD.org> X-Mailer: VM 7.17 under 21.4 (patch 22) "Instant Classic" XEmacs Lucid Cc: freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Mar 2013 14:53:36 -0000 Matthew Seaman writes: > On 30/03/2013 13:17, Robert Huff wrote: > > > Am I too much of a zombie this morning, or is there nothing in > > the man page about how to do this? > > That's not functionality provided by pkgng at the moment, > although pkgng certainly has all the necessary data in repository > catalogues etc. to be able to sort a list of package origins with > all dependencies occurring before what requires them. No one has > implemented that yet. > > However, pkg_sort(1) is part of portupgrade, and portupgrade > should be fully pkgng aware nowadays. Did you try just using > pkg_sort? I did and do. I'm trying to move to a single tool for this set of tasks, and pkg_sort is one of the (very) few things I haven't been able to replace. Unfortunately, that functionality is essential to several scripts .... The other irreplaceable I can think of is "portsclean", particularly the C, D, and L options. > If you'ld like something to be changed about either portupgrade > or pkgng in respect to this, then please open an issue -- > > https://github.com/pkgtools/pkgtools/issues > https://github.com/pkgng/pkgng/issues Depends on how lazy I'm feeling at the moment. :-) Robert Huff