manpages query (net/openntpd)

Frank Shute frank at woodcruft.co.uk
Sun May 10 20:32:12 UTC 2020


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 $



More information about the freebsd-doc mailing list