From owner-freebsd-ports@FreeBSD.ORG Tue May 23 13:19:25 2006 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 448B116A4A6 for ; Tue, 23 May 2006 13:19:25 +0000 (UTC) (envelope-from laszlof@vonostingroup.com) Received: from ritamari.vonostingroup.com (ritamari.vonostingroup.com [216.144.193.230]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4A2A943D5D for ; Tue, 23 May 2006 13:19:24 +0000 (GMT) (envelope-from laszlof@vonostingroup.com) Received: from adsl-68-72-248-38.dsl.sfldmi.ameritech.net ([68.72.248.38] helo=[192.168.1.33]) by ritamari.vonostingroup.com with esmtpa (Exim 4.62 (FreeBSD)) (envelope-from ) id 1FiWmw-000CyS-Rz; Tue, 23 May 2006 09:19:08 -0400 Message-ID: <44730BC2.8000509@vonostingroup.com> Date: Tue, 23 May 2006 09:18:58 -0400 From: Frank Laszlo User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: Conor McDermottroe References: <20060523012528.GA8161@xor.obsecurity.org> <20060523121638.GA88145@platinum.office.edgespace.net> In-Reply-To: <20060523121638.GA88145@platinum.office.edgespace.net> X-Enigmail-Version: 0.93.2.0 OpenPGP: url=http://www.franksworld.org/~laszlof/keys/0x0B3FCA4B.asc Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - ritamari.vonostingroup.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [26 6] X-AntiAbuse: Sender Address Domain - vonostingroup.com X-Source: X-Source-Args: X-Source-Dir: Cc: FreeBSD Ports , Andrew Pantyukhin , Kris Kennaway Subject: Re: Number of maintainers vs. number of ports 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: Tue, 23 May 2006 13:19:47 -0000 Conor McDermottroe wrote: > On Mon, May 22, 2006 at 09:25:28PM -0400, Kris Kennaway wrote: > >> Nevertheless, I'd still like to see more maintaine{rs,d ports}. We >> now have a nice document about "what it means to be a maintainer", so >> I think we should start doing some outreach to bring new people in. >> > > Perhaps we should encourage users to look at the ports they have > installed that are unmaintained and think about volunteering to maintain > them? > > A script similar to the one below may be helpful (apologies in advance > if my shell-fu is weak). When I ran it, it surprised me to see that > ports like lang/ruby18 and misc/compat5x are unmaintained. (Oh, for the > time...) > > -C > > #!/bin/sh > > # Find out the root of the ports tree > if [ -z "${PORTSDIR}" ]; then > PORTSDIR=/usr/ports > fi > > # Find the directories for the ports installed on the system > PORT_DIRS=`pkg_info -qao | sed -e "s|^|${PORTSDIR}/|" | sort` > > # Find the maintainer of each port and print out > # its origin if the maintainer is ports@ > for _port_dir in ${PORT_DIRS}; do > _maintainer="`(cd ${_port_dir}; make -f ${_port_dir}/Makefile -V MAINTAINER | tr '[A-Z]' '[a-z]')`" > if [ "X${_maintainer}X" = "Xports@freebsd.orgX" ]; then > echo "${_port_dir}" | sed -e "s|^$PORTSDIR/||" > fi > done > _______________________________________________ > The INDEX file is really better suited for such things. Heres a quick example. #!/bin/sh PORTSDIR=/usr/ports cat ${PORTSDIR}/INDEX-6 | tr A-Z a-z| grep ports@freebsd.org | awk -F "|" {'print $2'} | sed "s|${PORTSDIR}/||g"