ports/120002: portmaster won't show port's available version

Yar Tikhiy yar at comp.chem.msu.su
Sun Jan 27 04:55:43 UTC 2008


On Sat, Jan 26, 2008 at 04:12:57PM +0000, dougb at FreeBSD.org wrote:
> 
> It is expected that if the user asks to update a port, that they
> intend to actually update the port. The -L option exists to list
> which ports are up to date, and which need updating. There is also
> an alias suggested in the man page which will give you a concise
> summary of only what is not up to date.

Did you mean this one?

           portmaster -L |
           egrep -B1 '(ew|ort) version|Aborting|installed|dependencies|
           IGNORE|marked|Reason:|MOVED' | grep -v '^--'

The command looks really hairy.  The egrep is there just to fight
inconvenient output from portmaster.  Perhaps a cleaner way is to
implement the functionality in portmaster itself.

Merely printing the version available from /usr/ports along with
the version installed would make updating an individual port much
more convenient.  E.g.:

===>>> Update portmaster-2.0 to portmaster-2.1? [n]

I'll appreciate greatly if you consider adding this featurette to
portmaster.

Thanks a lot, portmaster does an excellent job for me in most cases.

-- 
Yar



More information about the freebsd-ports-bugs mailing list