Date: Sat, 30 Mar 2013 17:16:44 -0500 From: Jeremy Messenger <mezz.freebsd@gmail.com> To: Chris Rees <utisoft@gmail.com> Cc: Robert Huff <roberthuff@rcn.com>, Matthew Seaman <matthew@freebsd.org>, FreeBSD Mailing List <freebsd-ports@freebsd.org> Subject: Re: pkg replacement for pkg_sort? Message-ID: <CADLFttcptarxLoS1AN7ChYdgV9V-o4vDXC1s0uExGJwp1R67ig@mail.gmail.com> In-Reply-To: <CADLo839tPma0cRGWbmwhBDGfK%2B9=SVzs-q7U4L_D81VeWeCu9A@mail.gmail.com> References: <20822.58886.729409.831590@jerusalem.litteratus.org> <5156F80B.1030804@FreeBSD.org> <20822.64616.161229.523272@jerusalem.litteratus.org> <CADLo839tPma0cRGWbmwhBDGfK%2B9=SVzs-q7U4L_D81VeWeCu9A@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Mar 30, 2013 at 2:43 PM, Chris Rees <utisoft@gmail.com> wrote: > 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. In my /etc/csh.cshrc, I have this: alias rmwork "rm -rf /usr/ports/*/*/work" > 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" >> > _______________________________________________ > 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" -- mezz.freebsd@gmail.com - mezz@FreeBSD.org FreeBSD GNOME Team http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADLFttcptarxLoS1AN7ChYdgV9V-o4vDXC1s0uExGJwp1R67ig>