Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 May 2020 21:32:03 +0100
From:      Frank Shute <frank@woodcruft.co.uk>
To:        FreeBSD Docs <freebsd-doc@freebsd.org>
Subject:   manpages query (net/openntpd)
Message-ID:  <20200510203203.GA82843@lime.woodcruft.co.uk>

next in thread | raw e-mail | index | archive | help

Hi,


I installed net/openntpd some time ago. I think I read about it's usage
possibly on OpenBSD's site. Installed it & did the necessary in rc.conf

The other day I wanted to have a look at the local docs for it as I felt the
need to twiddle with its start up args. As always, I have a look to see what
docs it comes with:

$ pkg info -l openntpd

openntpd-6.2p3_2,2:
	/usr/local/etc/ntpd.conf.sample
	/usr/local/etc/periodic/daily/480.status-openntpd
	/usr/local/etc/rc.d/openntpd
	/usr/local/man/man5/ntpd.conf.5.gz
	/usr/local/man/man8/ntpctl.8.gz
	/usr/local/man/man8/ntpd.8.gz
	/usr/local/sbin/ntpctl
	/usr/local/sbin/ntpd
	/usr/local/share/licenses/openntpd-6.2p3_2,2/ISCL
	/usr/local/share/licenses/openntpd-6.2p3_2,2/LICENSE
	/usr/local/share/licenses/openntpd-6.2p3_2,2/catalog.mk

Ok.

$ man ntpd

Problems. As in front of it in $MANPATH is:

/usr/share/man/man8/ntpd.8.gz

and all the other manpages for ntpd from base.

I happened to realise what was happening, so I could have a look at man(1)
and:

$ man -M /usr/local/man: ntpd

so as to display the port manpage rather than the one installed by base.

This seems to be a POLA violation and I was wondering how, if at all, it
should be handled. A pkg message or rename the binaries or something else?



Regards,

-- 
 Frank
                     --* The Machine stops. *--

            \verb# infinity # ----------------> $ \infty $




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