Re: saving a few ports from death

看板FB_ports作者時間14年前 (2011/04/28 06:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串41/47 (看更多)
--tVmo9FyGdCe4F4YN Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Quoth Ade Lovett on Wednesday, 27 April 2011: > 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: >=20 > Won't work -- need to handle slave ports etc, where the DEPRECATED may be= in the MASTER_PORT. >=20 > Try this: >=20 > #!/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 >=20 >=20 > -aDe >=20 > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" Nice, thanks! --=20 =2EO. | Sterling (Chip) Camden | http://camdensoftware.com =2E.O | sterling@camdensoftware.com | http://chipsquips.com OOO | 2048R/D6DBAF91 | http://chipstips.com --tVmo9FyGdCe4F4YN Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iQEcBAEBAgAGBQJNuI0MAAoJEIpckszW26+RlS0IAKLIWd6tx9ALrw+rIUe1qJkb InggdaEPoe3xWS4PrHcJbASD/+ahKpehvC5XRPgnNflPPmhR7dMiXee6mo0Sje3Q XV8bMc1y03HTtz/9GlzjLkc8BqBnyURkbTI4OlYqOI6mLJZwu3b7iIERNLvrJLqK hQrxxiFNOIKz17HaGr2UDehNiDjy/n0KHnsk8n6W6nBIxIC6FpXYOwXsR9qH8yFX eVcnzXm8xkhFwEU/eo7/HxZhnIE3d0z9xb5TIlwdTcGWrqJZ7dPcR6LL3l4HmuN5 xTOGHBHrH97CEoTrEUflfkd2WigvwXv5TvzRw31AVSvfuUIoCuXlJBqUcbQOKN8= =eHB/ -----END PGP SIGNATURE----- --tVmo9FyGdCe4F4YN--
文章代碼(AID): #1Dk98VYi (FB_ports)
討論串 (同標題文章)
文章代碼(AID): #1Dk98VYi (FB_ports)