Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 May 2006 09:18:58 -0400
From:      Frank Laszlo <laszlof@vonostingroup.com>
To:        Conor McDermottroe <ports@mcdermottroe.com>
Cc:        FreeBSD Ports <ports@freebsd.org>, Andrew Pantyukhin <infofarmer@gmail.com>, Kris Kennaway <kris@obsecurity.org>
Subject:   Re: Number of maintainers vs. number of ports
Message-ID:  <44730BC2.8000509@vonostingroup.com>
In-Reply-To: <20060523121638.GA88145@platinum.office.edgespace.net>
References:  <cb5206420605220417o5a5d8667l648f42644f39d4e4@mail.gmail.com>	<cb5206420605220528k1be0bc03t1c74c6c8e08f35b4@mail.gmail.com>	<20060523012528.GA8161@xor.obsecurity.org> <20060523121638.GA88145@platinum.office.edgespace.net>

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




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