Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 May 2000 23:27:47 -0400 (EDT)
From:      Trevor Johnson <trevor@jpj.net>
To:        Christian Weisgerber <naddy@mips.inka.de>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Removing man page cruft?
Message-ID:  <Pine.BSI.4.21.0005192250040.23572-100000@blues.jpj.net>
In-Reply-To: <20000520014509.A51040@bigeye.rhein-neckar.de>

next in thread | previous in thread | raw e-mail | index | archive | help
> I just wondered why my ssh-keygen(1) man page seemed obsolete.
> Turns out I still had a cat man page from a long removed OpenSSH
> port lying around, which was shown by man(1) in preference of the
> newer man page in the base system.
> 
> What is the recommended way to get rid of this cruft (and why
> doesn't this already happen by default)?

Running catman with the -remove or -r option should delete cat pages that
have no source, and running it with no options should replace old cat
pages for which a newer source exists.  From a quick look at
/etc/periodic/weekly/330.catman it doesn't look like those are done
automatically.  Perhaps the reasoning is that some programs may come with
only the cat pages.  I used to have a few like that.

I notice that the OpenSSH port doesn't have

	MAN1=	ssh-keygen

in its makefile and instead has the man pages in the PLIST, contrary to
section 4.4.9 in the Handbook.  However, a port that does it by the book
had the same problem.

Having pkg_delete or "make deinstall" clear this stuff out--leaving alone
cat pages that don't belong to the package--seems like a good idea.  

Removing the cat page directories seems to prevent storage of preformatted
pages. That might be acceptable for people who have middling to fast
computers.
--
Trevor Johnson
http://jpj.net/~trevor/gpgkey.txt



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.4.21.0005192250040.23572-100000>