From owner-freebsd-ports@FreeBSD.ORG Sat Mar 30 19:43:40 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 9DF7E393; Sat, 30 Mar 2013 19:43:40 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-ia0-x235.google.com (mail-ia0-x235.google.com [IPv6:2607:f8b0:4001:c02::235]) by mx1.freebsd.org (Postfix) with ESMTP id 698A08BA; Sat, 30 Mar 2013 19:43:40 +0000 (UTC) Received: by mail-ia0-f181.google.com with SMTP id o25so1106944iad.12 for ; Sat, 30 Mar 2013 12:43:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=mSBT0Vpe5fRS7cO8ojX/AzWDNcfmbbeCCwOdfceTPGY=; b=cHC6izdbn58dQdui6dbSnAHOpZ4LOuNkYPzbCEMKBywQkYcl0iMpT48cwVSA/OtYhq V32Ebw87R5ofm42a/Wfmb2NAbOYKnY2lBnsR0ZAxjiFz4uX6uMKxUE6EyPNkQIgxg+Da CrVHkdseZ0/aQsxUyiBRZ3H3/26+ryYRxagTK54ZkwPjJoU+9InoqKpaCisPPDjgs/V2 QOfg2TsLcI3G6B8wL0V3s8dC/lFHZLFnfW6UCMEOZWTIjE76h25baNJB9Z753r9krxBb uD+ZfneC8xdo2oFJsK4Bk4D+uBbJgEVEdXG1v6ltrl+ddisobH8TCV7djqwzHhdB5EnB sQ8w== MIME-Version: 1.0 X-Received: by 10.50.152.169 with SMTP id uz9mr1491708igb.15.1364672620180; Sat, 30 Mar 2013 12:43:40 -0700 (PDT) Received: by 10.64.58.52 with HTTP; Sat, 30 Mar 2013 12:43:39 -0700 (PDT) Received: by 10.64.58.52 with HTTP; Sat, 30 Mar 2013 12:43:39 -0700 (PDT) In-Reply-To: <20822.64616.161229.523272@jerusalem.litteratus.org> References: <20822.58886.729409.831590@jerusalem.litteratus.org> <5156F80B.1030804@FreeBSD.org> <20822.64616.161229.523272@jerusalem.litteratus.org> Date: Sat, 30 Mar 2013 19:43:39 +0000 Message-ID: Subject: Re: pkg replacement for pkg_sort? From: Chris Rees To: Robert Huff Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Matthew Seaman , FreeBSD Mailing List 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 19:43:40 -0000 On 30 Mar 2013 14:53, "Robert Huff" wrote: > > > 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. Portsclean is easy for wrkdirs; echo /usr/ports/*/*/work |xargs rm -r Or set WRKDIRPREFIX somewhere else and rm -r that. Portmaster removes old distfiles and packages iirc. Chris > > 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 > > _______________________________________________ > 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" >