From owner-freebsd-ports@FreeBSD.ORG Wed Apr 27 15:02:42 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D217B1065677 for ; Wed, 27 Apr 2011 15:02:42 +0000 (UTC) (envelope-from sterling@camdensoftware.com) Received: from wh1.interactivevillages.com (ca.2e.7bae.static.theplanet.com [174.123.46.202]) by mx1.freebsd.org (Postfix) with ESMTP id 9B9098FC2E for ; Wed, 27 Apr 2011 15:02:39 +0000 (UTC) Received: from c-24-22-230-24.hsd1.wa.comcast.net ([24.22.230.24] helo=_HOSTNAME_) by wh1.interactivevillages.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1QF6GC-0001su-BL for freebsd-ports@freebsd.org; Wed, 27 Apr 2011 11:02:37 -0400 Received: by _HOSTNAME_ (sSMTP sendmail emulation); Wed, 27 Apr 2011 08:02:34 -0700 Date: Wed, 27 Apr 2011 08:02:34 -0700 From: Chip Camden To: freebsd-ports@freebsd.org Message-ID: <20110427150234.GA85280@libertas.local.camdensoftware.com> Mail-Followup-To: freebsd-ports@freebsd.org References: <20110427091441.GA50124@mech-cluster241.men.bris.ac.uk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="n8g4imXOkfNTN/H1" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Company: Camden Software Consulting URL: http://camdensoftware.com X-PGP-Key: http://pgp.mit.edu:11371/pks/lookup?search=0xD6DBAF91 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - wh1.interactivevillages.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - camdensoftware.com X-Source: X-Source-Args: X-Source-Dir: Subject: Re: saving a few ports from death X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Apr 2011 15:02:43 -0000 --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 > > Date: Wed, 27 Apr 2011 10:14:41 +0100 > > To: > > 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--