Date: Sat, 30 Mar 2013 19:43:39 +0000 From: Chris Rees <utisoft@gmail.com> To: Robert Huff <roberthuff@rcn.com> Cc: Matthew Seaman <matthew@freebsd.org>, FreeBSD Mailing List <freebsd-ports@freebsd.org> Subject: Re: pkg replacement for pkg_sort? Message-ID: <CADLo839tPma0cRGWbmwhBDGfK%2B9=SVzs-q7U4L_D81VeWeCu9A@mail.gmail.com> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
On 30 Mar 2013 14:53, "Robert Huff" <roberthuff@rcn.com> 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" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADLo839tPma0cRGWbmwhBDGfK%2B9=SVzs-q7U4L_D81VeWeCu9A>