Bug 194689 - ports-mgmt/pkg: pkg needs a stand-alone equivalent to portupgrade's "pkg_sort".
Summary: ports-mgmt/pkg: pkg needs a stand-alone equivalent to portupgrade's "pkg_sort".
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Many People
Assignee: freebsd-pkg mailing list
URL:
Keywords: easy, feature
Depends on:
Blocks:
 
Reported: 2014-10-29 16:29 UTC by roberthuff
Modified: 2018-01-12 22:53 UTC (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description roberthuff 2014-10-29 16:29:58 UTC
The functionality already exists; it needs to be directly exposed.  In a private exchange Baptisse (bapt@) has said it wouldn't be hard, but there are higher priorities.

I am submitting this pr so it gets on the TODO list.
Comment 1 Baptiste Daroussin freebsd_committer 2014-10-29 16:35:17 UTC
Can you detail what is pkg_sort?
Comment 2 roberthuff 2014-10-29 16:55:50 UTC
"pkg_sort" inputs a list of ports - with or without origins or exact versions - and outputs a list of those ports sorted in dependency (if any) order.  I believe this exists withing pkg - referred to as the "working list", yes?

Input can be from stdin or a file; output is to stdout, in a format suitable for piping directly to {portmaster, portupgrade, etc.}.

Does this answer the question?
Comment 3 Baptiste Daroussin freebsd_committer 2014-10-29 16:57:35 UTC
yes :)
Comment 4 w.schwarzenfeld freebsd_triage 2018-01-12 22:53:03 UTC
Status?