saving a few ports from death

Chip Camden sterling at camdensoftware.com
Wed Apr 27 21:39:29 UTC 2011


Quoth Ade Lovett on Wednesday, 27 April 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:
> 
> #!/bin/sh
> #
> PORTSDIR=${1-"/usr/ports"}
> for port in $(pkg_info -oa | grep /)
> do
>     dep=$(make -C ${PORTSDIR}/${port} -V DEPRECATED)
>     [ -n "${dep}" ] && echo "${port}: ${dep}"
> done
> 
> 
> -aDe
> 
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"

Nice, thanks!

-- 
.O. | Sterling (Chip) Camden      | http://camdensoftware.com
..O | sterling at camdensoftware.com | http://chipsquips.com
OOO | 2048R/D6DBAF91              | http://chipstips.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20110427/f9305277/attachment.pgp


More information about the freebsd-ports mailing list