From owner-freebsd-ports@FreeBSD.ORG Thu Apr 10 12:46:35 2003 Return-Path: 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 345FD37B404 for ; Thu, 10 Apr 2003 12:46:35 -0700 (PDT) Received: from mail.soaustin.net (mail.soaustin.net [207.200.4.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 78A0D43F93 for ; Thu, 10 Apr 2003 12:46:34 -0700 (PDT) (envelope-from linimon@lonesome.com) Received: from lonesome.lonesome.com (cs242746-11.austin.rr.com [24.27.46.11]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mail.soaustin.net (Postfix) with ESMTP id A46ED14373 for ; Thu, 10 Apr 2003 14:46:33 -0500 (CDT) From: Mark Linimon Organization: Lonesome Dove Computing Services To: freebsd-ports@freebsd.org Date: Thu, 10 Apr 2003 13:49:59 -0600 User-Agent: KMail/1.5 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200304101449.59573.linimon@lonesome.com> Subject: script: display the packages on a system with no maintainer X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Apr 2003 19:46:35 -0000 Here's a quick little hack I worked up to go look through the results of pkg_info and tell me which ports are shown as being maintained by 'ports@freebsd.org'. Perhaps it will encourage others to take a look at whether they might want to volunteer to maintain some of their favorite ports ... I call it "abandoned", for lack of a better name. mcl #!/bin/sh # Show the packages installed on a FreeBSD machine which have no # maintainer. Intended to help recruit new maintainers :-) # indexfile=$1 if [ -z ${indexfile} ]; then indexfile='/usr/ports/INDEX' fi pkg_info=`pkg_info` installed=`echo "${pkg_info}" | sed -e 's/ .*//'` echo "Packages installed on this system which have no maintainer:" echo "" for i in ${installed}; do abandoned=`grep "^${i}|" ${indexfile} | grep -i "ports@freebsd.org" | sed -e 's/|.*|.*//'` if [ ! -z ${abandoned} ] ; then echo "${pkg_info}" | grep "${abandoned}" fi done