summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2013-02-09 21:00:12 +0000
committerwiz <wiz@pkgsrc.org>2013-02-09 21:00:12 +0000
commit2553c050a8be7990e074386bf0287e3b3cf5e2a8 (patch)
tree40f1f2b18bbadb3ba646178ccf6a7e0680f41b72 /pkgtools
parent05b8ecd9acb26b21262e568a0b1aa78c4cd05c8a (diff)
downloadpkgsrc-2553c050a8be7990e074386bf0287e3b3cf5e2a8.tar.gz
Add new scripts.
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/pkgsrc-todo/files/list_todo.120
-rwxr-xr-xpkgtools/pkgsrc-todo/files/list_todo.sh13
2 files changed, 33 insertions, 0 deletions
diff --git a/pkgtools/pkgsrc-todo/files/list_todo.1 b/pkgtools/pkgsrc-todo/files/list_todo.1
new file mode 100644
index 00000000000..43a4d97d646
--- /dev/null
+++ b/pkgtools/pkgsrc-todo/files/list_todo.1
@@ -0,0 +1,20 @@
+.\" $NetBSD: list_todo.1,v 1.1 2013/02/09 21:00:12 wiz Exp $
+.\"
+.Dd February 9, 2013
+.Dt LIST_TODO 1
+.Sh NAME
+.Nm list_todo
+.Nd list entries for installed packages in pkgsrc/doc/TODO
+.Sh SYNOPSIS
+.Nm
+.Sh DESCRIPTION
+.Nm
+lists from the pkgsrc TODO file for installed packages.
+.Sh FILES
+.Bl -tag -width 20n
+.It Pa pkgsrc/doc/TODO
+.Nm
+list entries from file.
+.El
+.Sh AUTHORS
+.An Thomas Klausner Aq wiz@NetBSD.org
diff --git a/pkgtools/pkgsrc-todo/files/list_todo.sh b/pkgtools/pkgsrc-todo/files/list_todo.sh
new file mode 100755
index 00000000000..4c1969f2399
--- /dev/null
+++ b/pkgtools/pkgsrc-todo/files/list_todo.sh
@@ -0,0 +1,13 @@
+#!/bin/sh
+@PKG_INFO@ | \
+ @SED@ -e "s/[ ].*//" -e "s/-[^-]*$//" \
+ -e "s/py[0-9][0-9]-/py-/" | \
+ while read a
+ do
+ b=$(grep "o $a-[0-9]" @PKGSRCDIR@/doc/TODO | \
+ @SED@ -e "s/[ ]*o //")
+ if [ "$b" ]
+ then
+ echo $a: $b
+ fi
+ done