#!/bin/sh
/usr/sbin/pkg_info -K /usr/pkg/pkgdb | \
	/usr/bin/sed -e "s/[   ].*//" -e "s/-[^-]*$//" \
		-e "s/py[0-9][0-9]-/py-/" | \
	while read a
	do
		b=$(grep "o $a-[0-9]" /usr/pkgsrc/doc/TODO | \
		/usr/bin/sed -e "s/[   ]*o //")
		if [ "$b" ]
		then
			echo $a: $b
		fi
	done
