Date: Wed, 27 Apr 2011 08:02:34 -0700 From: Chip Camden <sterling@camdensoftware.com> To: freebsd-ports@freebsd.org Subject: Re: saving a few ports from death Message-ID: <20110427150234.GA85280@libertas.local.camdensoftware.com> In-Reply-To: <C9DDA757.1EA41%freebsdlists-ports@chillibear.com> References: <20110427091441.GA50124@mech-cluster241.men.bris.ac.uk> <C9DDA757.1EA41%freebsdlists-ports@chillibear.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--n8g4imXOkfNTN/H1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Quoth Eric on Wednesday, 27 April 2011: > > From: Anton Shterenlikht <mexas@bristol.ac.uk> > > Date: Wed, 27 Apr 2011 10:14:41 +0100 > > To: <freebsd-ports@freebsd.org> > > Subject: Re: saving a few ports from death > >=20 > > On Tue, Apr 26, 2011 at 03:55:56PM -0700, Charlie Kester wrote: > >>=20 > >> My search for "popularity" metrics is intended to point me, as a > >> maintainer, to ports I might want to adopt now, rather than wait for > >> someone to complain about them. Everything *I* use is already > >> maintained, so I've moved on to looking for things other people might > >> need. But I don't want to waste my time on something that nobody uses. > >> :) > >=20 > > Interesting.. > >=20 > > I used this sh(1) script to find > > unmaintained ports that I use. > > (I couldn't find a way to do the > > job with the existing tools like > > pkg_info or portmaster): > >=20 > > #!/bin/sh > >=20 > > prefix=3D/usr/ports/ > > makefile=3D/Makefile > >=20 > > for file in `pkg_info -oxa | grep "/"` > > do > > yes=3D`grep MAIN ${prefix}${file}${makefile} | grep ports` > > if [ -n "$yes" ] > > then > > echo $file > > fi > > done > >=20 >=20 > [SNIP] >=20 > Small observation, since that script picks up all of us who use 'ports' in > our maintainer email addresses (myself for example), might I suggest the > following tweak to your script (full address and checking for file > existence): >=20 > #!/bin/sh >=20 > prefix=3D/usr/ports/ > makefile=3D/Makefile >=20 > for file in `pkg_info -oxa | grep "/"` > do > if test -f ${prefix}${file}${makefile} > then > yes=3D`grep MAIN ${prefix}${file}${makefile} | grep -i 'ports@freebsd\.= org'` > if [ -n "$yes" ] > then > echo $file > fi > fi > Done >=20 Good catch -- even with that change, my list has 57 ports in it (including, ironically, sysutils/bsdstats). A lot of the ones on my list are requirements for other ports, though. --=20 =2EO. | Sterling (Chip) Camden | http://camdensoftware.com =2E.O | sterling@camdensoftware.com | http://chipsquips.com OOO | 2048R/D6DBAF91 | http://chipstips.com --n8g4imXOkfNTN/H1 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iQEcBAEBAgAGBQJNuDAKAAoJEIpckszW26+R1wMIAJtOPZHYK6fGJpsfZq2MKYvx nk1dE3Q3Z+o/d3ri5ipmnXq59zzdhVZ15Dr5Z8OwNOK9MPK0hGi/1zChlUWgbtjC 1bYKpLLXuwoMLu7CTEIdLnlWYf23OoGUdj+0p3IMmySXaBiKN7bkHZ9VaM7SqjUr JsXBy7rTDZnpAqDwzo+/uiCtMFKiOLXgD/qsit+NPuSnjwA5wRSJ43WV1IgA0+o5 yV0DQ7QQ3qE3+EjYixA6PGFim7UP1QZ9tdiJLciJ0jYe82C4KFnl5volcH8dW3gM DLF4dtXstexZyOzMOeqeP7JFgC50EHrnR2MpZvQ4Hix+KF/i2vLpJXQ+gvR4cI4= =nfpQ -----END PGP SIGNATURE----- --n8g4imXOkfNTN/H1--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110427150234.GA85280>