saving a few ports from death

Ade Lovett ade at
Wed Apr 27 19:00:36 UTC 2011

On Apr 27, 2011, at 13:46 , Chip Camden wrote:
> Modifying the script that was posted earlier, we can list out all
> installed ports that are currently deprecated, and why:

Won't work -- need to handle slave ports etc, where the DEPRECATED may be in the MASTER_PORT.

Try this:

for port in $(pkg_info -oa | grep /)
    dep=$(make -C ${PORTSDIR}/${port} -V DEPRECATED)
    [ -n "${dep}" ] && echo "${port}: ${dep}"


More information about the freebsd-ports mailing list