Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Apr 2003 13:49:59 -0600
From:      Mark Linimon <linimon@lonesome.com>
To:        freebsd-ports@freebsd.org
Subject:   script: display the packages on a system with no maintainer
Message-ID:  <200304101449.59573.linimon@lonesome.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200304101449.59573.linimon>