Date: Wed, 27 Apr 2011 14:00:23 -0500 From: Ade Lovett <ade@FreeBSD.org> To: FreeBSD Ports <freebsd-ports@freebsd.org> Subject: Re: saving a few ports from death Message-ID: <66B715DB-4C55-4508-AD14-C7A0CF51C111@FreeBSD.org> In-Reply-To: <20110427184625.GC2729@libertas.local.camdensoftware.com> References: <ip53jn$92d$1@dough.gmane.org> <4DB6165F.1010806@FreeBSD.org> <20110426024122.GA38579@comcast.net> <A9C17565-97D8-43F1-9CF7-8CFC79EFEA7B@FreeBSD.org> <20110426163424.GB38579@comcast.net> <20110426141209.0d07bccf@seibercom.net> <20110426184315.GA2320@libertas.local.camdensoftware.com> <19895.13977.553973.609431@jerusalem.litteratus.org> <4DB83D6E.9000800@aldan.algebra.com> <BANLkTik_65bxMgiQMyy1aojDuDjb6BX%2BgQ@mail.gmail.com> <20110427184625.GC2729@libertas.local.camdensoftware.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Apr 27, 2011, at 13:46 , Chip Camden wrote: >=20 > 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=3D${1-"/usr/ports"} for port in $(pkg_info -oa | grep /) do dep=3D$(make -C ${PORTSDIR}/${port} -V DEPRECATED) [ -n "${dep}" ] && echo "${port}: ${dep}" done -aDe
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?66B715DB-4C55-4508-AD14-C7A0CF51C111>