Thursday, November 29, 2018

(ports-)INDEX in man pages

On Thu, 29 Nov 2018 15:54:37 -0700 (MST), Alexander Bluhm
<bluhm@openbsd.org> wrote:

> CVSROOT: /cvs
> Module name: src
> Changes by: bluhm@cvs.openbsd.org 2018/11/29 15:54:37
>
> Modified files:
> share/man/man1 : outdated-perl-ports.1
>
> Log message:
> Mention dependency on portslist package for outdated-perl-ports(1).
> requested by espie@
>

Out of curiosity I looked for (i.e. grep) other man pages mentioning
INDEX. Here's a diff for the other one. I took the wording from
bluhm@'s diff and added a tiny improvement to his change while there.

Comments? OK?

Cheers,
Daniel

Index: outdated-perl-ports.1
===================================================================
RCS file: /cvs/src/share/man/man1/outdated-perl-ports.1,v
retrieving revision 1.3
diff -u -p -r1.3 outdated-perl-ports.1
--- outdated-perl-ports.1 29 Nov 2018 22:54:37 -0000 1.3
+++ outdated-perl-ports.1 30 Nov 2018 05:04:45 -0000
@@ -28,7 +28,7 @@
.Nm
retrieves and compares the packages list provided by CPAN with the ports
recorded in
-.Pa /usr/local/share/ports-INDEX
+.Pa ${LOCALBASE}/share/ports-INDEX
and reports which ports have a newer version available upstream.
Note that the portslist package must be installed.
.Pp
Index: port-search-helper.1
===================================================================
RCS file: /cvs/src/share/man/man1/port-search-helper.1,v
retrieving revision 1.1
diff -u -p -r1.1 port-search-helper.1
--- port-search-helper.1 9 Jul 2018 13:51:08 -0000 1.1
+++ port-search-helper.1 30 Nov 2018 05:04:45 -0000
@@ -41,8 +41,9 @@ is a helper script used by
for searches.
.Pp
It relies on
-.Pa ${PORTSDIR}/INDEX
+.Pa ${LOCALBASE}/share/ports-INDEX"
being accurate.
+Note the portslist package must be installed.
.Sh SEE ALSO
.Xr perlre 1 ,
.Xr ports 7

No comments:

Post a Comment