cperciva at freebsd.org
Thu Apr 27 23:31:20 UTC 2006
Jon Falconer wrote:
> Is there a utility that whould show what ports will be updated from the
> current "fetched" files? The man page does not indicate that there is a
> "show what would happen but don't do it" option.
I'm not sure why you would want to do this, but
sort /var/db/portsnap/INDEX |
comm -3 - /usr/ports/.portsnap.INDEX |
cut -f 1 -d '|'
should output the files/directories being added and removed in the
1st and 2nd columns respectively. (Something which is modified
will appear in both columns, of course.)
More information about the freebsd-questions